Changes in uspace/lib/c/include/net/inet.h [257feec:e4554d4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/net/inet.h
r257feec re4554d4 41 41 #include <byteorder.h> 42 42 43 /** Type definition of the socket address. 44 * @see sockaddr 45 */ 46 typedef struct sockaddr sockaddr_t; 47 43 48 /** Type definition of the address information. 44 49 * @see addrinfo 45 50 */ 46 typedef struct addrinfo 51 typedef struct addrinfo addrinfo_t; 47 52 48 53 /** Socket address. */ 49 typedefstruct sockaddr {54 struct sockaddr { 50 55 /** Address family. @see socket.h */ 51 56 uint16_t sa_family; 52 57 /** 14 byte protocol address. */ 53 58 uint8_t sa_data[14]; 54 } sockaddr_t;59 }; 55 60 56 61 extern int inet_ntop(uint16_t, const uint8_t *, char *, size_t);
Note:
See TracChangeset
for help on using the changeset viewer.