Changeset e948fde in mainline for uspace/lib/c/generic/inet/addr.c
- Timestamp:
- 2013-09-29T21:43:49Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a324d99
- Parents:
- f023251
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inet/addr.c
rf023251 re948fde 250 250 } 251 251 252 ip_ver_t ipver_from_af(int af) 253 { 254 switch (af) { 255 case AF_NONE: 256 return ip_any; 257 case AF_INET: 258 return ip_v4; 259 case AF_INET6: 260 return ip_v6; 261 default: 262 assert(false); 263 return EINVAL; 264 } 265 } 266 252 267 void inet_naddr_addr(const inet_naddr_t *naddr, inet_addr_t *addr) 253 268 {
Note:
See TracChangeset
for help on using the changeset viewer.