Lines Matching refs:ni6

999 	struct icmp6_nodeinfo *ni6;  in icmp6_nodeinfo_print()  local
1008 ni6 = (struct icmp6_nodeinfo *)bp; in icmp6_nodeinfo_print()
1011 switch (ni6->ni_type) { in icmp6_nodeinfo_print()
1020 TCHECK2(*dp, sizeof(*ni6)); in icmp6_nodeinfo_print()
1021 ni6 = (struct icmp6_nodeinfo *)dp; in icmp6_nodeinfo_print()
1023 switch (EXTRACT_16BITS(&ni6->ni_qtype)) { in icmp6_nodeinfo_print()
1029 i = EXTRACT_16BITS(&ni6->ni_flags); in icmp6_nodeinfo_print()
1039 i = ni6->ni_flags; in icmp6_nodeinfo_print()
1056 if (ni6->ni_qtype == NI_QTYPE_NOOP || in icmp6_nodeinfo_print()
1057 ni6->ni_qtype == NI_QTYPE_SUPTYPES) { in icmp6_nodeinfo_print()
1058 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1068 if (siz == sizeof(*ni6)) { in icmp6_nodeinfo_print()
1075 switch (ni6->ni_code) { in icmp6_nodeinfo_print()
1078 sizeof(*ni6) + sizeof(struct in6_addr))) in icmp6_nodeinfo_print()
1080 if (siz != sizeof(*ni6) + sizeof(struct in6_addr)) { in icmp6_nodeinfo_print()
1086 getname6((const u_char *)(ni6 + 1))); in icmp6_nodeinfo_print()
1090 cp = (const u_char *)(ni6 + 1); in icmp6_nodeinfo_print()
1106 if (!TTEST2(*dp, sizeof(*ni6) + sizeof(struct in_addr))) in icmp6_nodeinfo_print()
1108 if (siz != sizeof(*ni6) + sizeof(struct in_addr)) { in icmp6_nodeinfo_print()
1114 getname((const u_char *)(ni6 + 1))); in icmp6_nodeinfo_print()
1133 ni6 = (struct icmp6_nodeinfo *)dp; in icmp6_nodeinfo_print()
1136 switch (ni6->ni_code) { in icmp6_nodeinfo_print()
1146 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1153 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1159 if (ni6->ni_code != ICMP6_NI_SUCCESS) { in icmp6_nodeinfo_print()
1165 switch (EXTRACT_16BITS(&ni6->ni_qtype)) { in icmp6_nodeinfo_print()
1170 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1178 i = EXTRACT_16BITS(&ni6->ni_flags); in icmp6_nodeinfo_print()
1186 cp = (const u_char *)(ni6 + 1) + 4; in icmp6_nodeinfo_print()
1200 if ((EXTRACT_16BITS(&ni6->ni_flags) & 0x01) != 0) in icmp6_nodeinfo_print()
1201 printf(" [TTL=%u]", *(u_int32_t *)(ni6 + 1)); in icmp6_nodeinfo_print()
1207 i = sizeof(*ni6); in icmp6_nodeinfo_print()
1216 i = ni6->ni_flags; in icmp6_nodeinfo_print()