Home
last modified time | relevance | path

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

/src/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.c723 char ntopbuf[INET6_ADDRSTRLEN], ifnamebuf[IFNAMSIZ]; in rtadvd_input() local
810 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
811 sizeof(ntopbuf)), in rtadvd_input()
820 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
821 sizeof(ntopbuf)), in rtadvd_input()
829 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
830 sizeof(ntopbuf)), in rtadvd_input()
846 ntopbuf, sizeof(ntopbuf)), in rtadvd_input()
855 inet_ntop(AF_INET6, &rcvfrom.sin6_addr, ntopbuf, in rtadvd_input()
856 sizeof(ntopbuf)), in rtadvd_input()
[all …]
H A Dconfig.c1103 char ntopbuf[INET6_ADDRSTRLEN]; in get_prefix() local
1153 if (!inet_ntop(AF_INET6, &pfx->pfx_prefix, ntopbuf, in get_prefix()
1154 sizeof(ntopbuf))) { in get_prefix()
1160 __func__, ntopbuf, pfx->pfx_prefixlen, ifi->ifi_ifname); in get_prefix()
1202 char ntopbuf[INET6_ADDRSTRLEN]; in add_prefix() local
1219 inet_ntop(AF_INET6, &ipr->ipr_prefix.sin6_addr, ntopbuf, in add_prefix()
1220 sizeof(ntopbuf)), ipr->ipr_plen, ifi->ifi_ifname); in add_prefix()
1235 char ntopbuf[INET6_ADDRSTRLEN]; in delete_prefix() local
1242 inet_ntop(AF_INET6, &pfx->pfx_prefix, ntopbuf, in delete_prefix()
1243 sizeof(ntopbuf)), pfx->pfx_prefixlen, ifi->ifi_ifname); in delete_prefix()
[all …]
/src/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()
/src/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()
/src/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()