Home
last modified time | relevance | path

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

/xnu-11215.1.10/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
478 #define ni_type icmp6_ni_hdr.icmp6_type
558 #define rr_type rr_hdr.icmp6_type
/xnu-11215.1.10/bsd/netinet6/
H A Dicmp6.c377 if (icp->icmp6_type < ICMP6_ECHO_REQUEST || in icmp6_error_flag()
378 icp->icmp6_type == ND_REDIRECT) { in icmp6_error_flag()
435 icmp6->icmp6_type = (uint8_t)type; in icmp6_error_flag()
512 switch (icmp6->icmp6_type) { in icmp6_input()
528 if (icmp6_ratelimit(&ip6->ip6_dst, icmp6->icmp6_type, code)) { in icmp6_input()
566 icmp6->icmp6_type, sum, ip6_sprintf(&ip6->ip6_src)); in icmp6_input()
579 switch (icmp6->icmp6_type) { in icmp6_input()
588 icmp6stat.icp6s_inhist[icmp6->icmp6_type]++; in icmp6_input()
590 if (icmp6->icmp6_type < ICMP6_INFOMSG_MASK) { in icmp6_input()
594 switch (icmp6->icmp6_type) { in icmp6_input()
[all …]
H A Draw_ip6.c537 type = icmp6->icmp6_type; in rip6_output()
H A Dmld6.c3737 type = icmp6->icmp6_type; in mld_dispatch_packet()
/xnu-11215.1.10/tests/skywalk/
H A Dskt_reass.c304 assert(icmp6->icmp6_type == ICMP6_PARAM_PROB); in bad_fraglen_match()
378 assert(icmp6->icmp6_type == ICMP6_TIME_EXCEEDED); in timeout_match()
428 icmp6->icmp6_type = ICMP6_ECHO_REQUEST; in atomic_build()
479 assert(icmp6->icmp6_type == ICMP6_ECHO_REPLY); in atomic_match()
/xnu-11215.1.10/bsd/net/
H A Dnat464_utils.c274 type = icmp6->icmp6_type; in nat464_translate_icmp()
350 icmp6->icmp6_type = type; in nat464_translate_icmp()
952 if (ICMP6_ERRORTYPE(icmp6h->icmp6_type)) { in nat464_translate_proto()
989 "code: %d checksum: %#x \n", __func__, icmp6h->icmp6_type, in nat464_translate_proto()
H A Dif_bridge.c8789 uint8_t icmp6_type;
8813 icmp6_type = icmp6->icmp6_type;
8814 switch (icmp6_type) {
8835 switch (icmp6_type) {
8939 if (icmp6_type == ND_ROUTER_ADVERT) {
8981 mnr->mnr_ip6_icmp6_type = icmp6_type;
H A Dif_redirect.c735 if (icmp6->icmp6_type == ND_ROUTER_ADVERT) { in pkt_is_for_delegate()
H A Dpf.c4617 type = icmp6->icmp6_type; in pf_translate_icmp_af()
4693 icmp6->icmp6_type = type; in pf_translate_icmp_af()
5000 icmptype = pf_pd_get_hdr_icmp6(pd)->icmp6_type; in pf_test_rule()
6282 icmptype = pf_pd_get_hdr_icmp6(pd)->icmp6_type; in pf_test_dummynet()
7882 icmptype = pf_pd_get_hdr_icmp6(pd)->icmp6_type; in pf_test_state_icmp()
/xnu-11215.1.10/tests/
H A Dnet_bridge.c490 switch (icmp6->icmp6_type) { in ip6_frame_validate()
508 T_LOG("icmp6 code 0x%x", icmp6->icmp6_type); in ip6_frame_validate()
887 icmp6->icmp6_type = type; in ethernet_nd6_frame_populate()
2180 switch (icmp6->icmp6_type) { in validate_mac_nat_icmp6_out()
2200 T_FAIL("Unsupported icmp6 type %d", icmp6->icmp6_type); in validate_mac_nat_icmp6_out()