Changeset e4554d4 in mainline
- Timestamp:
- 2010-10-06T20:05:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88e127ee
- Parents:
- 2687bdb
- Location:
- uspace
- Files:
-
- 2 added
- 2 deleted
- 26 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/netecho/netecho.c
r2687bdb re4554d4 43 43 #include <err.h> 44 44 45 #include < in.h>46 #include < in6.h>47 #include < inet.h>45 #include <net/in.h> 46 #include <net/in6.h> 47 #include <net/inet.h> 48 48 #include <socket.h> 49 49 #include <socket_parse.h> -
uspace/app/nettest1/nettest1.c
r2687bdb re4554d4 43 43 #include <err.h> 44 44 45 #include < in.h>46 #include < in6.h>47 #include < inet.h>45 #include <net/in.h> 46 #include <net/in6.h> 47 #include <net/inet.h> 48 48 #include <socket.h> 49 49 #include <socket_parse.h> -
uspace/app/nettest2/nettest2.c
r2687bdb re4554d4 43 43 #include <err.h> 44 44 45 #include < in.h>46 #include < in6.h>47 #include < inet.h>45 #include <net/in.h> 46 #include <net/in6.h> 47 #include <net/inet.h> 48 48 #include <socket.h> 49 49 #include <socket_parse.h> -
uspace/app/ping/ping.c
r2687bdb re4554d4 46 46 47 47 #include <icmp_api.h> 48 #include < in.h>49 #include < in6.h>50 #include < inet.h>48 #include <net/in.h> 49 #include <net/in6.h> 50 #include <net/inet.h> 51 51 #include <ip_codes.h> 52 52 #include <socket_parse.h> -
uspace/lib/c/Makefile
r2687bdb re4554d4 99 99 generic/vfs/vfs.c \ 100 100 generic/vfs/canonify.c \ 101 generic/net/inet.c \ 101 102 generic/stacktrace.c \ 102 103 generic/arg_parse.c \ -
uspace/lib/c/include/net/in.h
r2687bdb re4554d4 27 27 */ 28 28 29 /** @addtogroup net29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 35 35 */ 36 36 37 #ifndef __NET_IN_H__38 #define __NET_IN_H__37 #ifndef LIBC_IN_H_ 38 #define LIBC_IN_H_ 39 39 40 #include <net/inet.h> 41 #include <net/ip_protocols.h> 40 42 #include <sys/types.h> 41 43 42 #include <net/ip_protocols.h> 43 #include <inet.h> 44 45 /** INET string address maximum length. 46 */ 44 /** INET string address maximum length. */ 47 45 #define INET_ADDRSTRLEN (4 * 3 + 3 + 1) 48 46 49 47 /** Type definition of the INET address. 50 * 48 * @see in_addr 51 49 */ 52 50 typedef struct in_addr in_addr_t; 53 51 54 52 /** Type definition of the INET socket address. 55 * 53 * @see sockaddr_in 56 54 */ 57 55 typedef struct sockaddr_in sockaddr_in_t; 58 56 59 /** INET address. 60 */ 61 struct in_addr{ 62 /** 4 byte IP address. 63 */ 57 /** INET address. */ 58 struct in_addr { 59 /** 4 byte IP address. */ 64 60 uint32_t s_addr; 65 61 }; 66 62 67 63 /** INET socket address. 68 * 64 * @see sockaddr 69 65 */ 70 struct sockaddr_in{ 71 /** Address family. 72 * Should be AF_INET. 73 */ 66 struct sockaddr_in { 67 /** Address family. Should be AF_INET. */ 74 68 uint16_t sin_family; 75 /** Port number. 76 */ 69 /** Port number. */ 77 70 uint16_t sin_port; 78 /** Internet address. 79 */ 71 /** Internet address. */ 80 72 struct in_addr sin_addr; 81 /** Padding to meet the sockaddr size. 82 */ 73 /** Padding to meet the sockaddr size. */ 83 74 uint8_t sin_zero[8]; 84 75 }; -
uspace/lib/c/include/net/in6.h
r2687bdb re4554d4 27 27 */ 28 28 29 /** @addtogroup net29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 35 35 */ 36 36 37 #ifndef __NET_IN6_H__38 #define __NET_IN6_H__37 #ifndef LIBC_IN6_H_ 38 #define LIBC_IN6_H_ 39 39 40 #include <net/inet.h> 41 #include <net/ip_protocols.h> 40 42 #include <sys/types.h> 41 43 42 #include <net/ip_protocols.h> 43 #include <inet.h> 44 45 /** INET6 string address maximum length. 46 */ 44 /** INET6 string address maximum length. */ 47 45 #define INET6_ADDRSTRLEN (8 * 4 + 7 + 1) 48 46 49 47 /** Type definition of the INET6 address. 50 * 48 * @see in6_addr 51 49 */ 52 50 typedef struct in6_addr in6_addr_t; 53 51 54 52 /** Type definition of the INET6 socket address. 55 * 53 * @see sockaddr_in6 56 54 */ 57 55 typedef struct sockaddr_in6 sockaddr_in6_t; 58 56 59 /** INET6 address. 60 */ 61 struct in6_addr{ 62 /** 16 byte IPv6 address. 63 */ 57 /** INET6 address. */ 58 struct in6_addr { 59 /** 16 byte IPv6 address. */ 64 60 unsigned char s6_addr[16]; 65 61 }; 66 62 67 63 /** INET6 socket address. 68 * 64 * @see sockaddr 69 65 */ 70 struct sockaddr_in6{ 71 /** Address family. 72 * Should be AF_INET6. 73 */ 66 struct sockaddr_in6 { 67 /** Address family. Should be AF_INET6. */ 74 68 uint16_t sin6_family; 75 /** Port number. 76 */ 69 /** Port number. */ 77 70 uint16_t sin6_port; 78 /** IPv6 flow information. 79 */ 71 /** IPv6 flow information. */ 80 72 uint32_t sin6_flowinfo; 81 /** IPv6 address. 82 */ 73 /** IPv6 address. */ 83 74 struct in6_addr sin6_addr; 84 /** Scope identifier. 85 */ 75 /** Scope identifier. */ 86 76 uint32_t sin6_scope_id; 87 77 }; -
uspace/lib/net/il/ip_remote.c
r2687bdb re4554d4 45 45 #include <net_modules.h> 46 46 #include <net_device.h> 47 #include < inet.h>47 #include <net/inet.h> 48 48 #include <ip_interface.h> 49 49 #include <packet/packet_client.h> -
uspace/lib/net/include/icmp_header.h
r2687bdb re4554d4 41 41 #include <sys/types.h> 42 42 43 #include < in.h>43 #include <net/in.h> 44 44 #include <icmp_codes.h> 45 45 -
uspace/lib/net/include/icmp_interface.h
r2687bdb re4554d4 40 40 #include <adt/measured_strings.h> 41 41 #include <packet/packet.h> 42 #include < inet.h>42 #include <net/inet.h> 43 43 #include <ip_codes.h> 44 44 #include <icmp_codes.h> -
uspace/lib/net/include/ip_interface.h
r2687bdb re4554d4 41 41 #include <packet/packet.h> 42 42 43 #include < in.h>43 #include <net/in.h> 44 44 #include <ip_codes.h> 45 45 -
uspace/lib/net/include/ip_local.h
r2687bdb re4554d4 38 38 39 39 #include <ip_codes.h> 40 #include < inet.h>41 #include < in.h>40 #include <net/inet.h> 41 #include <net/in.h> 42 42 #include <socket.h> 43 43 -
uspace/lib/net/include/ip_messages.h
r2687bdb re4554d4 42 42 #include <ipc/net.h> 43 43 44 #include < in.h>44 #include <net/in.h> 45 45 #include <ip_codes.h> 46 46 -
uspace/lib/net/include/ip_remote.h
r2687bdb re4554d4 38 38 39 39 #include <ip_codes.h> 40 #include < inet.h>41 #include < in.h>40 #include <net/inet.h> 41 #include <net/in.h> 42 42 #include <socket.h> 43 43 -
uspace/lib/net/include/tl_common.h
r2687bdb re4554d4 42 42 #include <packet/packet.h> 43 43 #include <net_device.h> 44 #include < inet.h>44 #include <net/inet.h> 45 45 46 46 /** Device packet dimensions. -
uspace/lib/net/tl/tl_common.c
r2687bdb re4554d4 37 37 38 38 #include <net/socket_codes.h> 39 #include <net/in.h> 40 #include <net/in6.h> 41 #include <net/inet.h> 39 42 #include <async.h> 40 43 #include <ipc/services.h> … … 47 50 #include <net_device.h> 48 51 #include <icmp_interface.h> 49 #include <in.h>50 #include <in6.h>51 #include <inet.h>52 52 #include <ip_local.h> 53 53 #include <ip_remote.h> -
uspace/lib/socket/Makefile
r2687bdb re4554d4 36 36 generic/socket_core.c \ 37 37 generic/socket_parse.c \ 38 generic/inet.c \39 38 generic/net_modules.c \ 40 39 generic/icmp_common.c \ -
uspace/lib/socket/generic/icmp_api.c
r2687bdb re4554d4 37 37 38 38 #include <net/socket_codes.h> 39 #include <net/inet.h> 39 40 #include <async.h> 40 41 … … 46 47 #include <net_modules.h> 47 48 #include <icmp_api.h> 48 #include <inet.h>49 49 #include <ip_codes.h> 50 50 #include <icmp_messages.h> -
uspace/lib/socket/generic/socket_client.c
r2687bdb re4554d4 48 48 49 49 #include <net_modules.h> 50 #include < in.h>50 #include <net/in.h> 51 51 #include <socket.h> 52 52 #include <adt/dynamic_fifo.h> -
uspace/lib/socket/generic/socket_core.c
r2687bdb re4554d4 36 36 37 37 #include <net/socket_codes.h> 38 #include <net/in.h> 39 #include <net/inet.h> 38 40 39 41 #include <stdint.h> … … 42 44 #include <err.h> 43 45 44 #include <in.h>45 #include <inet.h>46 46 #include <adt/dynamic_fifo.h> 47 47 #include <adt/int_map.h> -
uspace/lib/socket/include/icmp_api.h
r2687bdb re4554d4 39 39 40 40 #include <net/socket_codes.h> 41 #include <net/inet.h> 41 42 #include <sys/types.h> 42 43 … … 44 45 #include <adt/measured_strings.h> 45 46 #include <packet/packet.h> 46 #include <inet.h>47 47 #include <ip_codes.h> 48 48 #include <icmp_codes.h> -
uspace/lib/socket/include/socket.h
r2687bdb re4554d4 41 41 42 42 #include <net/socket_codes.h> 43 #include <net/in.h> 44 #include <net/in6.h> 45 #include <net/inet.h> 46 #include <errno.h> 43 47 #include <byteorder.h> 44 45 #include <in.h>46 #include <in6.h>47 #include <inet.h>48 #include <errno.h>49 48 50 49 /** @name Socket application programming interface -
uspace/lib/socket/include/socket_core.h
r2687bdb re4554d4 40 40 #include <sys/types.h> 41 41 42 #include < in.h>42 #include <net/in.h> 43 43 #include <net_device.h> 44 44 #include <adt/generic_char_map.h> -
uspace/srv/net/il/ip/ip.c
r2687bdb re4554d4 48 48 49 49 #include <net/socket_codes.h> 50 #include <net/in.h> 51 #include <net/in6.h> 52 #include <net/inet.h> 50 53 51 54 #include <net_messages.h> … … 58 61 #include <icmp_interface.h> 59 62 #include <il_interface.h> 60 #include <in.h>61 #include <in6.h>62 #include <inet.h>63 63 #include <ip_client.h> 64 64 #include <ip_interface.h> -
uspace/srv/net/il/ip/ip.h
r2687bdb re4554d4 43 43 44 44 #include <net_device.h> 45 #include < inet.h>45 #include <net/inet.h> 46 46 #include <ip_interface.h> 47 47 #include <adt/int_map.h> -
uspace/srv/net/tl/icmp/icmp.c
r2687bdb re4554d4 52 52 #include <net/socket_codes.h> 53 53 #include <net/ip_protocols.h> 54 #include <net/inet.h> 54 55 55 56 #include <net_messages.h> … … 64 65 #include <icmp_interface.h> 65 66 #include <il_interface.h> 66 #include <inet.h>67 67 #include <ip_client.h> 68 68 #include <ip_interface.h> -
uspace/srv/net/tl/tcp/tcp.c
r2687bdb re4554d4 50 50 #include <net/socket_codes.h> 51 51 #include <net/ip_protocols.h> 52 #include <net/in.h> 53 #include <net/in6.h> 54 #include <net/inet.h> 52 55 53 56 #include <net_messages.h> … … 57 60 #include <packet_remote.h> 58 61 #include <net_checksum.h> 59 #include <in.h>60 #include <in6.h>61 #include <inet.h>62 62 #include <ip_client.h> 63 63 #include <ip_interface.h> -
uspace/srv/net/tl/udp/udp.c
r2687bdb re4554d4 47 47 #include <net/socket_codes.h> 48 48 #include <net/ip_protocols.h> 49 #include <net/in.h> 50 #include <net/in6.h> 51 #include <net/inet.h> 49 52 50 53 #include <net_messages.h> … … 54 57 #include <packet_remote.h> 55 58 #include <net_checksum.h> 56 #include <in.h>57 #include <in6.h>58 #include <inet.h>59 59 #include <ip_client.h> 60 60 #include <ip_interface.h>
Note:
See TracChangeset
for help on using the changeset viewer.