Changes in uspace/srv/net/include/in.h [21580dd:aadf01e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/include/in.h
r21580dd raadf01e 45 45 /** INET string address maximum length. 46 46 */ 47 #define INET_ADDRSTRLEN ( 4 * 3 + 3 + 1)47 #define INET_ADDRSTRLEN (4 * 3 + 3 + 1) 48 48 49 49 /** Type definition of the INET address. … … 62 62 /** 4 byte IP address. 63 63 */ 64 uint32_t 64 uint32_t s_addr; 65 65 }; 66 66 … … 72 72 * Should be AF_INET. 73 73 */ 74 uint16_t 74 uint16_t sin_family; 75 75 /** Port number. 76 76 */ 77 uint16_t 77 uint16_t sin_port; 78 78 /** Internet address. 79 79 */ 80 struct in_addr 80 struct in_addr sin_addr; 81 81 /** Padding to meet the sockaddr size. 82 82 */ 83 uint8_t sin_zero[ 8];83 uint8_t sin_zero[8]; 84 84 }; 85 85
Note:
See TracChangeset
for help on using the changeset viewer.