Home
last modified time | relevance | path

Searched refs:ni_code (Results 1 – 4 of 4) sorted by relevance

/src/sbin/ping/
H A Dping6.c1667 switch (ntohs(ni->ni_code)) { in pr_pack()
1678 ntohs(ni->ni_code), ntohs(ni->ni_type)); in pr_pack()
1736 switch (ni->ni_code) { in pr_pack()
2093 switch (ni->ni_code) { in pr_nodeaddr()
2412 switch (ni->ni_code) { in pr_icmph()
2418 niqcode[ni->ni_code], ntop_buf); in pr_icmph()
2433 printf(", subject=%s", niqcode[ni->ni_code]); in pr_icmph()
2447 niqcode[ni->ni_code], ntop_buf); in pr_icmph()
2483 if (ni->ni_code > nitems(nircode)) in pr_icmph()
2486 printf(", %s", nircode[ni->ni_code]); in pr_icmph()
/src/sys/netinet6/
H A Dicmp6.c1245 if (ni6->ni_code == ICMP6_NI_SUBJ_FQDN && subjlen == 0) in ni6_input()
1251 switch (ni6->ni_code) { in ni6_input()
1260 if (qtype == NI_QTYPE_FQDN && ni6->ni_code == 0 && in ni6_input()
1266 if (ni6->ni_code != ICMP6_NI_SUBJ_IPV6) in ni6_input()
1430 nni6->ni_code = ICMP6_NI_SUCCESS; in ni6_input()
1436 nni6->ni_code = ICMP6_NI_SUCCESS; in ni6_input()
1444 nni6->ni_code = ICMP6_NI_SUCCESS; in ni6_input()
1467 nni6->ni_code = ICMP6_NI_SUCCESS; in ni6_input()
1667 switch (ni6->ni_code) { in ni6_addrs()
/src/contrib/tcpdump/
H A Dprint-icmp6.c376 #define ni_code icmp6_ni_hdr.icmp6_code macro
1779 switch (GET_U_1(ni6->ni_code)) { in icmp6_nodeinfo_print()
1824 switch (GET_U_1(ni6->ni_code)) { in icmp6_nodeinfo_print()
1847 if (GET_U_1(ni6->ni_code) != ICMP6_NI_SUCCESS) { in icmp6_nodeinfo_print()
/src/sys/netinet/
H A Dicmp6.h412 #define ni_code icmp6_ni_hdr.icmp6_code macro