#include <ipv6.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <security.h>
Include dependency graph for ipv6.c:

Go to the source code of this file.
Defines | |
| #define | READ(text, index) sscanf((text), "%08" SCNx32, (uint32_t *) &ip->__u6_addr.__u6_addr32[index]) |
Functions | |
| void | clear_ipv6 (struct in6_addr *ipv6) |
| void | uint32_to_ipv6 (const uint32_t ipv4, struct in6_addr *ipv6) |
| void | ipv4_to_ipv6 (const struct in_addr ipv4, struct in6_addr *ipv6) |
| void | ipv6_to_ipv4 (const struct in6_addr *ipv6, struct in_addr *ipv4) |
| int | is_ipv4 (const struct in6_addr *addr) |
| void | format_ipv6 (const struct in6_addr *addr, char *buffer, size_t buflen, uint8_t *protocol) |
| int | getsockname_ipv6 (int fileno, struct in6_addr *addr) |
| int | hex2ipv6 (const char *text, struct in6_addr *ip) |
| int | ipv6_equal (const struct in6_addr *ipa, const struct in6_addr *ipb) |
| int | compare_ipv6_with_mask (const struct in6_addr *addr1, const struct in6_addr *addr2, const struct in6_addr *mask) |
| void | create_ipv6_netmask (struct in6_addr *netmask, int mask) |
Definition in file ipv6.c.
| #define READ | ( | text, | |||
| index | ) | sscanf((text), "%08" SCNx32, (uint32_t *) &ip->__u6_addr.__u6_addr32[index]) |
Referenced by hex2ipv6().
1.4.7