Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/netinet/
H A Dicmp6.h108 u_int8_t icmp6_type; /* type field */ member
231 #define mld_type mld_icmp6_hdr.icmp6_type
252 #define nd_rs_type nd_rs_hdr.icmp6_type
264 #define nd_ra_type nd_ra_hdr.icmp6_type
289 #define nd_ns_type nd_ns_hdr.icmp6_type
300 #define nd_na_type nd_na_hdr.icmp6_type
323 #define nd_rd_type nd_rd_hdr.icmp6_type
455 #define ni_type icmp6_ni_hdr.icmp6_type
535 #define rr_type rr_hdr.icmp6_type
/xnu-8019.80.24/bsd/netinet6/
H A Dicmp6.c352 if (icp->icmp6_type < ICMP6_ECHO_REQUEST || in icmp6_error_flag()
353 icp->icmp6_type == ND_REDIRECT) { in icmp6_error_flag()
403 icmp6->icmp6_type = (uint8_t)type; in icmp6_error_flag()
480 switch (icmp6->icmp6_type) { in icmp6_input()
496 if (icmp6_ratelimit(&ip6->ip6_dst, icmp6->icmp6_type, code)) { in icmp6_input()
534 icmp6->icmp6_type, sum, ip6_sprintf(&ip6->ip6_src)); in icmp6_input()
547 switch (icmp6->icmp6_type) { in icmp6_input()
556 icmp6stat.icp6s_inhist[icmp6->icmp6_type]++; in icmp6_input()
558 if (icmp6->icmp6_type < ICMP6_INFOMSG_MASK) { in icmp6_input()
562 switch (icmp6->icmp6_type) { in icmp6_input()
[all …]
H A Draw_ip6.c521 type = icmp6->icmp6_type; in rip6_output()
/xnu-8019.80.24/bsd/net/
H A Dnat464_utils.c268 type = icmp6->icmp6_type; in nat464_translate_icmp()
344 icmp6->icmp6_type = type; in nat464_translate_icmp()
946 if (ICMP6_ERRORTYPE(icmp6h->icmp6_type)) { in nat464_translate_proto()
983 "code: %d checksum: %#x \n", __func__, icmp6h->icmp6_type, in nat464_translate_proto()
H A Dif_bridge.c8057 switch (icmp6->icmp6_type) {
8106 mnr->mnr_ip6_icmp6_type = icmp6->icmp6_type;
8159 mnr->mnr_ip6_icmp6_type = icmp6->icmp6_type;
8195 mnr->mnr_ip6_icmp6_type = icmp6->icmp6_type;
H A Dpf.c4502 type = icmp6->icmp6_type; in pf_translate_icmp_af()
4578 icmp6->icmp6_type = type; in pf_translate_icmp_af()
4883 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_rule()
6143 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_dummynet()
7724 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_state_icmp()
/xnu-8019.80.24/tests/
H A Dnet_bridge.c909 switch (icmp6->icmp6_type) { in ip6_frame_validate()
927 T_LOG("icmp6 code 0x%x", icmp6->icmp6_type); in ip6_frame_validate()
1438 icmp6->icmp6_type = type; in ethernet_nd6_frame_populate()
2751 switch (icmp6->icmp6_type) { in validate_mac_nat_icmp6_out()
2771 T_FAIL("Unsupported icmp6 type %d", icmp6->icmp6_type); in validate_mac_nat_icmp6_out()