Home
last modified time | relevance | path

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

/xnu-10063.101.15/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-10063.101.15/bsd/netinet6/
H A Dicmp6.c374 if (icp->icmp6_type < ICMP6_ECHO_REQUEST || in icmp6_error_flag()
375 icp->icmp6_type == ND_REDIRECT) { in icmp6_error_flag()
432 icmp6->icmp6_type = (uint8_t)type; in icmp6_error_flag()
509 switch (icmp6->icmp6_type) { in icmp6_input()
525 if (icmp6_ratelimit(&ip6->ip6_dst, icmp6->icmp6_type, code)) { in icmp6_input()
563 icmp6->icmp6_type, sum, ip6_sprintf(&ip6->ip6_src)); in icmp6_input()
576 switch (icmp6->icmp6_type) { in icmp6_input()
585 icmp6stat.icp6s_inhist[icmp6->icmp6_type]++; in icmp6_input()
587 if (icmp6->icmp6_type < ICMP6_INFOMSG_MASK) { in icmp6_input()
591 switch (icmp6->icmp6_type) { in icmp6_input()
[all …]
H A Draw_ip6.c534 type = icmp6->icmp6_type; in rip6_output()
H A Dmld6.c3745 type = icmp6->icmp6_type; in mld_dispatch_packet()
/xnu-10063.101.15/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.c8475 uint8_t icmp6_type;
8498 icmp6_type = icmp6->icmp6_type;
8499 switch (icmp6_type) {
8518 switch (icmp6_type) {
8620 if (icmp6_type == ND_ROUTER_ADVERT) {
8660 mnr->mnr_ip6_icmp6_type = icmp6_type;
H A Dpf.c4636 type = icmp6->icmp6_type; in pf_translate_icmp_af()
4712 icmp6->icmp6_type = type; in pf_translate_icmp_af()
5019 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_rule()
6302 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_dummynet()
7902 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_state_icmp()
/xnu-10063.101.15/tests/
H A Dnet_bridge.c813 switch (icmp6->icmp6_type) { in ip6_frame_validate()
831 T_LOG("icmp6 code 0x%x", icmp6->icmp6_type); in ip6_frame_validate()
1210 icmp6->icmp6_type = type; in ethernet_nd6_frame_populate()
2507 switch (icmp6->icmp6_type) { in validate_mac_nat_icmp6_out()
2527 T_FAIL("Unsupported icmp6 type %d", icmp6->icmp6_type); in validate_mac_nat_icmp6_out()