• Home
  • Raw
  • Download

Lines Matching refs:ni6

1569 	const struct icmp6_nodeinfo *ni6;  in icmp6_nodeinfo_print()  local
1578 ni6 = (const struct icmp6_nodeinfo *)bp; in icmp6_nodeinfo_print()
1581 switch (ni6->ni_type) { in icmp6_nodeinfo_print()
1590 ND_TCHECK2(*dp, sizeof(*ni6)); in icmp6_nodeinfo_print()
1591 ni6 = (const struct icmp6_nodeinfo *)dp; in icmp6_nodeinfo_print()
1593 switch (EXTRACT_16BITS(&ni6->ni_qtype)) { in icmp6_nodeinfo_print()
1599 i = EXTRACT_16BITS(&ni6->ni_flags); in icmp6_nodeinfo_print()
1608 i = ni6->ni_flags; in icmp6_nodeinfo_print()
1625 if (ni6->ni_qtype == NI_QTYPE_NOOP || in icmp6_nodeinfo_print()
1626 ni6->ni_qtype == NI_QTYPE_SUPTYPES) { in icmp6_nodeinfo_print()
1627 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1637 if (siz == sizeof(*ni6)) { in icmp6_nodeinfo_print()
1644 switch (ni6->ni_code) { in icmp6_nodeinfo_print()
1647 sizeof(*ni6) + sizeof(struct in6_addr))) in icmp6_nodeinfo_print()
1649 if (siz != sizeof(*ni6) + sizeof(struct in6_addr)) { in icmp6_nodeinfo_print()
1655 ip6addr_string(ndo, ni6 + 1))); in icmp6_nodeinfo_print()
1659 cp = (const u_char *)(ni6 + 1); in icmp6_nodeinfo_print()
1675 if (!ND_TTEST2(*dp, sizeof(*ni6) + sizeof(struct in_addr))) in icmp6_nodeinfo_print()
1677 if (siz != sizeof(*ni6) + sizeof(struct in_addr)) { in icmp6_nodeinfo_print()
1683 ipaddr_string(ndo, ni6 + 1))); in icmp6_nodeinfo_print()
1702 ND_TCHECK2(*dp, sizeof(*ni6)); in icmp6_nodeinfo_print()
1703 ni6 = (const struct icmp6_nodeinfo *)dp; in icmp6_nodeinfo_print()
1706 switch (ni6->ni_code) { in icmp6_nodeinfo_print()
1716 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1723 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1729 if (ni6->ni_code != ICMP6_NI_SUCCESS) { in icmp6_nodeinfo_print()
1735 switch (EXTRACT_16BITS(&ni6->ni_qtype)) { in icmp6_nodeinfo_print()
1740 if (siz != sizeof(*ni6)) in icmp6_nodeinfo_print()
1748 i = EXTRACT_16BITS(&ni6->ni_flags); in icmp6_nodeinfo_print()
1756 cp = (const u_char *)(ni6 + 1) + 4; in icmp6_nodeinfo_print()
1771 if ((EXTRACT_16BITS(&ni6->ni_flags) & 0x01) != 0) in icmp6_nodeinfo_print()
1772 ND_PRINT((ndo," [TTL=%u]", EXTRACT_32BITS(ni6 + 1))); in icmp6_nodeinfo_print()
1778 i = sizeof(*ni6); in icmp6_nodeinfo_print()
1787 i = ni6->ni_flags; in icmp6_nodeinfo_print()