Home
last modified time | relevance | path

Searched refs:icmp6 (Results 1 – 15 of 15) sorted by relevance

/xnu-8019.80.24/bsd/netinet6/
H A Dicmp6.c267 struct icmp6_hdr *icmp6; in icmp6_error_flag() local
402 icmp6 = (struct icmp6_hdr *)(nip6 + 1); in icmp6_error_flag()
403 icmp6->icmp6_type = (uint8_t)type; in icmp6_error_flag()
404 icmp6->icmp6_code = (uint8_t)code; in icmp6_error_flag()
405 icmp6->icmp6_pptr = htonl((u_int32_t)param); in icmp6_error_flag()
440 struct icmp6_hdr *icmp6, *nicmp6; in icmp6_input() local
466 icmp6 = (struct icmp6_hdr *)((caddr_t)ip6 + off); in icmp6_input()
468 IP6_EXTHDR_GET(icmp6, struct icmp6_hdr *, m, off, sizeof(*icmp6)); in icmp6_input()
469 if (icmp6 == NULL) { in icmp6_input()
474 code = icmp6->icmp6_code; in icmp6_input()
[all …]
H A Dudp6_usrreq.c661 struct icmp6_hdr *icmp6 = NULL; in udp6_ctlinput() local
691 icmp6 = ip6cp->ip6c_icmp6; in udp6_ctlinput()
727 PRC_MSGSIZE, ntohl(icmp6->icmp6_mtu), 0); in udp6_ctlinput()
737 if (cmd == PRC_MSGSIZE && icmp6 != NULL) { in udp6_ctlinput()
738 prctl_ev_val.val = ntohl(icmp6->icmp6_mtu); in udp6_ctlinput()
H A Draw_ip6.c514 struct icmp6_hdr *icmp6; in rip6_output() local
520 icmp6 = mtod(m, struct icmp6_hdr *); in rip6_output()
521 type = icmp6->icmp6_type; in rip6_output()
522 code = icmp6->icmp6_code; in rip6_output()
H A Din6_proto.c506 SYSCTL_NODE(_net_inet6, IPPROTO_ICMPV6, icmp6,
/xnu-8019.80.24/bsd/net/
H A Dnat464_utils.c259 struct icmp6_hdr *icmp6; in nat464_translate_icmp() local
267 icmp6 = arg; in nat464_translate_icmp()
268 type = icmp6->icmp6_type; in nat464_translate_icmp()
269 code = icmp6->icmp6_code; in nat464_translate_icmp()
270 mtu = ntohl(icmp6->icmp6_mtu); in nat464_translate_icmp()
310 ptr = ntohl(icmp6->icmp6_pptr); in nat464_translate_icmp()
344 icmp6->icmp6_type = type; in nat464_translate_icmp()
345 icmp6->icmp6_code = code; in nat464_translate_icmp()
347 icmp6->icmp6_mtu = htonl(mtu); in nat464_translate_icmp()
350 icmp6->icmp6_pptr = htonl(ptr << 24); in nat464_translate_icmp()
H A Dpf.c4493 struct icmp6_hdr *icmp6; in pf_translate_icmp_af() local
4501 icmp6 = arg; in pf_translate_icmp_af()
4502 type = icmp6->icmp6_type; in pf_translate_icmp_af()
4503 code = icmp6->icmp6_code; in pf_translate_icmp_af()
4504 mtu = ntohl(icmp6->icmp6_mtu); in pf_translate_icmp_af()
4544 ptr = ntohl(icmp6->icmp6_pptr); in pf_translate_icmp_af()
4578 icmp6->icmp6_type = type; in pf_translate_icmp_af()
4579 icmp6->icmp6_code = code; in pf_translate_icmp_af()
4581 icmp6->icmp6_mtu = htonl(mtu); in pf_translate_icmp_af()
4584 icmp6->icmp6_pptr = htonl(ptr << 24); in pf_translate_icmp_af()
[all …]
H A Dif_bridge.c8042 struct icmp6_hdr *icmp6;
8050 if (icmp6len < sizeof(*icmp6)) {
8053 icmp6len, sizeof(*icmp6));
8056 icmp6 = (struct icmp6_hdr *)((caddr_t)ip6h + off);
8057 switch (icmp6->icmp6_type) {
8071 nd_ns = (struct nd_neighbor_solicit *)(void *)icmp6;
8106 mnr->mnr_ip6_icmp6_type = icmp6->icmp6_type;
8121 nd_na = (struct nd_neighbor_advert *)(void *)icmp6;
8159 mnr->mnr_ip6_icmp6_type = icmp6->icmp6_type;
8172 nd_rs = (struct nd_router_solicit *)(void *)icmp6;
[all …]
H A Dpfvar.h1418 struct icmp6_hdr *icmp6; member
/xnu-8019.80.24/bsd/netinet/
H A Dnetinet.modulemap34 module icmp6 {
35 header "netinet/icmp6.h"
H A DMakefile10 bootp.h icmp6.h if_ether.h icmp_var.h \
H A Dtcp_subr.c2520 struct icmp6_hdr *icmp6; in tcp6_ctlinput() local
2552 icmp6 = ip6cp->ip6c_icmp6; in tcp6_ctlinput()
2616 mtu = ntohl(icmp6->icmp6_mtu); in tcp6_ctlinput()
/xnu-8019.80.24/tests/
H A Dnet_bridge.c902 const struct icmp6_hdr *icmp6; in ip6_frame_validate() local
908 icmp6 = (const struct icmp6_hdr *)(ip6 + 1); in ip6_frame_validate()
909 switch (icmp6->icmp6_type) { in ip6_frame_validate()
927 T_LOG("icmp6 code 0x%x", icmp6->icmp6_type); in ip6_frame_validate()
1352 struct icmp6_hdr * icmp6; in ethernet_nd6_frame_populate() local
1371 icmp6 = (struct icmp6_hdr *)(void *)(ip6 + 1); in ethernet_nd6_frame_populate()
1386 nd_ns = (struct nd_neighbor_solicit *)(void *)icmp6; in ethernet_nd6_frame_populate()
1406 nd_na = (struct nd_neighbor_advert *)(void *)icmp6; in ethernet_nd6_frame_populate()
1424 nd_rs = (struct nd_router_solicit *)(void *)icmp6; in ethernet_nd6_frame_populate()
1438 icmp6->icmp6_type = type; in ethernet_nd6_frame_populate()
[all …]
/xnu-8019.80.24/bsd/man/man4/
H A DMakefile19 icmp6.4 \
/xnu-8019.80.24/bsd/conf/
H A DMakefile.template92 icmp6.o_CWARNFLAGS_ADD += -Wno-address-of-packed-member
H A Dfiles347 bsd/netinet6/icmp6.c optional inet