Home
last modified time | relevance | path

Searched refs:ntopbuf (Results 1 – 7 of 7) sorted by relevance

/freebsd/usr.sbin/rtadvd/
H A Drrenum.c360 u_char ntopbuf[INET6_ADDRSTRLEN]; in rr_command_check() local
376 inet_ntop(AF_INET6, dst, ntopbuf, sizeof(ntopbuf))); in rr_command_check()
385 inet_ntop(AF_INET6, from, ntopbuf, sizeof(ntopbuf))); in rr_command_check()
395 ntopbuf, sizeof(ntopbuf))); in rr_command_check()
440 u_char ntopbuf[2][INET6_ADDRSTRLEN], ifnamebuf[IFNAMSIZ]; in rr_input() local
445 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[0] ,sizeof(ntopbuf[0])), in rr_input()
446 inet_ntop(AF_INET6, &dst, ntopbuf[1], sizeof(ntopbuf[1])), in rr_input()
454 inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf[0], in rr_input()
455 sizeof(ntopbuf[0])), in rr_input()
456 inet_ntop(AF_INET6, &dst, ntopbuf[1], sizeof(ntopbuf[1])), in rr_input()
[all …]
H A Drtadvd.c728 char ntopbuf[INET6_ADDRSTRLEN], ifnamebuf[IFNAMSIZ]; in rtadvd_input() local
815 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
816 sizeof(ntopbuf)), in rtadvd_input()
825 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
826 sizeof(ntopbuf)), in rtadvd_input()
834 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
835 sizeof(ntopbuf)), in rtadvd_input()
851 ntopbuf, sizeof(ntopbuf)), in rtadvd_input()
860 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
861 sizeof(ntopbuf)), in rtadvd_input()
[all …]
H A Dconfig.c1099 char ntopbuf[INET6_ADDRSTRLEN]; in get_prefix() local
1150 if (!inet_ntop(AF_INET6, &pfx->pfx_prefix, ntopbuf, in get_prefix()
1151 sizeof(ntopbuf))) { in get_prefix()
1157 __func__, ntopbuf, pfx->pfx_prefixlen, ifi->ifi_ifname); in get_prefix()
1164 val64, ntopbuf, pfx->pfx_prefixlen, ifi->ifi_ifname); in get_prefix()
1173 val64, ntopbuf, pfx->pfx_prefixlen, ifi->ifi_ifname); in get_prefix()
1216 char ntopbuf[INET6_ADDRSTRLEN]; in add_prefix() local
1233 inet_ntop(AF_INET6, &ipr->ipr_prefix.sin6_addr, ntopbuf, in add_prefix()
1234 sizeof(ntopbuf)), ipr->ipr_plen, ifi->ifi_ifname); in add_prefix()
1249 char ntopbuf[INET6_ADDRSTRLEN]; in delete_prefix() local
[all …]
/freebsd/usr.sbin/rtsold/
H A Drtsol.c164 char answer[1500], ntopbuf[INET6_ADDRSTRLEN], ifnamebuf[IFNAMSIZ]; in rtsol_input() local
241 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
242 sizeof(ntopbuf)), in rtsol_input()
250 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
251 sizeof(ntopbuf)), in rtsol_input()
260 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
261 sizeof(ntopbuf)), in rtsol_input()
269 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
270 sizeof(ntopbuf)), in rtsol_input()
280 inet_ntop(AF_INET6, &from.sin6_addr, ntopbuf, in rtsol_input()
[all …]
H A Ddump.c63 char ntopbuf[INET6_ADDRSTRLEN]; in rtsold_dump() local
109 ntopbuf, sizeof(ntopbuf))); in rtsold_dump()
/freebsd/usr.sbin/rtadvctl/
H A Drtadvctl.c747 char ntopbuf[INET6_ADDRSTRLEN]; in action_show_rtinfo() local
752 ntopbuf, sizeof(ntopbuf)), in action_show_rtinfo()
764 char ntopbuf[INET6_ADDRSTRLEN]; in action_show_prefix() local
770 ntopbuf, sizeof(ntopbuf)), pfx->pfx_prefixlen); in action_show_prefix()
843 char ntopbuf[INET6_ADDRSTRLEN]; in action_show_rdnss() local
864 ntopbuf, in action_show_rdnss()
865 sizeof(ntopbuf)), in action_show_rdnss()
921 char ntopbuf[INET6_ADDRSTRLEN]; in action_show_pref64() local
938 ntopbuf, sizeof(ntopbuf)), in action_show_pref64()
/freebsd/sbin/ping/
H A Dping6.c1919 char ntopbuf[INET6_ADDRSTRLEN]; in pr_rthdr() local
1959 if (!inet_ntop(AF_INET6, in6, ntopbuf, in pr_rthdr()
1960 sizeof(ntopbuf))) in pr_rthdr()
1961 strlcpy(ntopbuf, "?", sizeof(ntopbuf)); in pr_rthdr()
1962 printf(" [%d]%s\n", i, ntopbuf); in pr_rthdr()