| /f-stack/tools/ipfw/ |
| H A D | ipv6.c | 134 if (inet_ntop(AF_INET6_LINUX, a, trad, in print_ip6() 139 bprintf(bp, "/%s", inet_ntop(AF_INET6_LINUX, &a[1], in print_ip6() 313 if (!inet_pton(AF_INET6_LINUX, host, ip6addr)) { in lookup_host6() 400 if (!inet_pton(AF_INET6_LINUX, p, &d[1])) in fill_ip6()
|
| H A D | tables.c | 1211 } else if (inet_pton(AF_INET6_LINUX, arg, paddr) == 1) { in tentry_fill_key_type() 1264 } else if (inet_pton(AF_INET6_LINUX, arg, &tmp) == 1) { in tentry_fill_key_type() 1330 } else if (inet_pton(AF_INET6_LINUX, arg, &tmp) == 1) { in tentry_fill_key_type() 1391 (inet_pton(AF_INET6_LINUX, key, &addr) == 1)) { in guess_key_type() 1855 if (inet_ntop(AF_INET6_LINUX, &sa6.sin6_addr, abuf, sizeof(abuf)) != NULL) in table_show_value()
|
| H A D | dummynet.c | 407 inet_ntop(AF_INET6_LINUX, &(id->src_ip6), buf, sizeof(buf)); in print_mask() 409 inet_ntop(AF_INET6_LINUX, &(id->dst_ip6), buf, sizeof(buf)); in print_mask() 458 inet_ntop(AF_INET6_LINUX, &(id->src_ip6), buff, sizeof(buff)), in list_flow() 461 inet_ntop(AF_INET6_LINUX, &(id->dst_ip6), buff, sizeof(buff)), in list_flow()
|
| H A D | ipfw2.c | 2321 bprintf(bp, " %s %d", inet_ntop(AF_INET6_LINUX, &d->id.src_ip6, buf, in show_dyn_state() 2323 bprintf(bp, " <-> %s %d", inet_ntop(AF_INET6_LINUX, &d->id.dst_ip6, in show_dyn_state() 3750 inet_pton(AF_INET6_LINUX, host, &a) == 1) in add_src() 3754 inet_pton(AF_INET6_LINUX, host, &a) != 1)) in add_src() 3781 inet_pton(AF_INET6_LINUX, host, &a) == 1) in add_dst() 3785 inet_pton(AF_INET6_LINUX, host, &a) != 1)) in add_dst()
|
| /f-stack/tools/ifconfig/ |
| H A D | af_inet6.c | 247 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, addr_buf, 270 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, addr_buf, 384 if (inet_pton(AF_INET6_LINUX, s, &sin->sin6_addr) != 1) 502 if (inet_ntop(AF_INET6_LINUX, &sin6->sin6_addr, src, sizeof(src)) == NULL) 516 if (inet_ntop(AF_INET6_LINUX, &sin6->sin6_addr, dst, sizeof(dst)) == NULL)
|
| /f-stack/lib/ |
| H A D | ff_api.h | 47 #define AF_INET6_LINUX 10 macro 48 #define PF_INET6_LINUX AF_INET6_LINUX
|
| H A D | ff_veth.c | 115 inet_pton(AF_INET6_LINUX, cfg->addr6_str, &sc->ip6); in ff_veth_config() 119 inet_pton(AF_INET6_LINUX, cfg->gateway6_str, &sc->gateway6); in ff_veth_config() 132 if (inet_pton(AF_INET6_LINUX, cfg->vip_addr6_array[i], &sc->vip6[j])) { in ff_veth_config()
|
| H A D | ff_dpdk_if.c | 2021 fa = AF_INET6_LINUX;
|
| /f-stack/tools/compat/ |
| H A D | compat.h | 88 #define AF_INET6_LINUX 10 macro
|
| /f-stack/tools/ndp/ |
| H A D | ndp.c | 559 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, host_buf, sizeof(host_buf)); in get() 626 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, host_buf, sizeof(host_buf)); in delete() 731 inet_ntop(AF_INET6_LINUX, &sin->sin6_addr, host_buf, sizeof(host_buf)); in dump() 1186 if (inet_ntop(AF_INET6_LINUX, &p->rtaddr.sin6_addr, host_buf, sizeof(host_buf)) == NULL) in rtrlist() 1247 inet_ntop(AF_INET6_LINUX, &p->prefix.sin6_addr, namebuf, sizeof(namebuf)); in plist() 1303 if (inet_ntop(AF_INET6_LINUX, &sin6->sin6_addr, namebuf, sizeof(namebuf)) == NULL) in plist()
|
| /f-stack/tools/route/ |
| H A D | route.c | 659 dst = inet_ntop(AF_INET6_LINUX, &sin6->sin6_addr, rt_line, sizeof(rt_line)); in routename() 790 if (inet_ntop(AF_INET6_LINUX, &sin6.sin6_addr, net_line, sizeof(net_line)) == NULL) in netname() 1359 if (inet_pton(AF_INET6_LINUX, str, &((struct sockaddr_in6 *)sa)->sin6_addr) == -1) in getaddr() 1991 (void)printf("%s: inet6 %s; ", which, inet_ntop(AF_INET6_LINUX,
|
| /f-stack/tools/netstat/ |
| H A D | inet6.c | 1381 inet_ntop(AF_INET6_LINUX, (void *)&sin6.sin6_addr, ntop_buf,
|