Changeset e52b4b5 in mainline
- Timestamp:
- 2013-06-28T15:27:11Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b5cf742a
- Parents:
- 4339f09
- Location:
- uspace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/netecho/netecho.c
r4339f09 re52b4b5 380 380 address_in6.sin6_family = AF_INET6; 381 381 address_in6.sin6_port = htons(port); 382 address_in6.sin6_addr = in6addr_any; 382 383 address = (struct sockaddr *) &address_in6; 383 384 addrlen = sizeof(address_in6); -
uspace/lib/c/generic/net/inet.c
r4339f09 re52b4b5 1 1 /* 2 * Copyright (c) 20 09 Lukas Mejdrech2 * Copyright (c) 2013 Martin Decky 3 3 * All rights reserved. 4 4 * … … 44 44 #include <stdio.h> 45 45 #include <str.h> 46 47 const in6_addr_t in6addr_any = { 48 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } 49 }; 46 50 47 51 static int inet_ntop4(const uint8_t *data, char *address, size_t length) -
uspace/lib/c/include/net/in6.h
r4339f09 re52b4b5 67 67 } sockaddr_in6_t; 68 68 69 extern const in6_addr_t in6addr_any; 70 69 71 #endif 70 72
Note:
See TracChangeset
for help on using the changeset viewer.