Changeset 7715994 in mainline for uspace/srv/net/include/in.h
- Timestamp:
- 2010-03-13T12:17:02Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ba20a6b
- Parents:
- d0febca (diff), 2070570 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/include/in.h
rd0febca r7715994 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.