Home
last modified time | relevance | path

Searched refs:icmp (Results 1 – 12 of 12) sorted by relevance

/xnu-12377.41.6/bsd/netinet/
H A Dip_icmp.c192 struct icmp *icp = NULL; in icmp_error()
251 struct icmp oicp = {0}; in icmp_error()
362 icp = mtod(m, struct icmp *); in icmp_error()
388 m_copydata(n, 0, icmplen, mtod(m, caddr_t) + offsetof(struct icmp, icmp_ip)); in icmp_error()
441 struct icmp *icp; in icmp_input()
486 icp = __unsafe_forge_single(struct icmp *, mtod(m, struct icmp *)); in icmp_input()
594 icp = __unsafe_forge_single(struct icmp *, mtodo(m, hlen)); in icmp_input()
623 .ipc_off = hlen + offsetof(struct icmp, icmp_ip) + (IP_VHL_HL(icp->icmp_ip.ip_vhl) << 2) in icmp_input()
996 struct icmp *icp; in icmp_send()
1014 icp = __unsafe_forge_single(struct icmp *, mtod(m, struct icmp *)); in icmp_send()
[all …]
H A Dip_icmp.h89 struct icmp { struct
H A Dip_compat.h583 typedef struct icmp {
706 typedef struct icmp icmphdr_t;
H A Din_proto.c331 SYSCTL_NODE(_net_inet, IPPROTO_ICMP, icmp,
H A Dtcp_subr.c2577 struct icmp *icp = NULL; in tcp_handle_msgsize()
2579 icp = __container_of(ip, struct icmp, icmp_ip); in tcp_handle_msgsize()
2674 struct icmp *icp; in tcp_ctlinput()
H A Dudp_usrreq.c991 struct icmp *icp = NULL; in udp_ctlinput()
/xnu-12377.41.6/tests/
H A Dicmp_fragmented_payload.c101 struct icmp *icmp_hdr;
232 icmp4_pcb_set_payload(icmp4_pcb_t pcb, struct icmp *icmp_in, struct ip *ip_in, struct tcphdr *tcp_i… in icmp4_pcb_set_payload()
261 pcb->icmp_hdr = (struct icmp*)pcb->buf; in icmp4_pcb_set_payload()
268 pcb->icmp_hdr->icmp_cksum = checksum_buffer((uint16_t*)pcb->icmp_hdr, sizeof(struct icmp)); in icmp4_pcb_set_payload()
333 struct icmp icmp_payload = {
/xnu-12377.41.6/bsd/man/man4/
H A DMakefile18 icmp.4 \
/xnu-12377.41.6/bsd/net/
H A Dnat464_utils.c270 struct icmp *__single icmp4; in nat464_translate_icmp()
937 struct icmp *__single icmph = NULL; in nat464_translate_proto()
941 icmph = (struct icmp*) pbuf_contig_segment(pbuf, hlen, in nat464_translate_proto()
1014 struct icmp *__single icmph = NULL; in nat464_translate_proto()
1029 icmph = (struct icmp *__single)(void *)icmp6h; in nat464_translate_proto()
H A Dpf.c4610 struct icmp *__single icmp4; in pf_translate_icmp_af()
4707 icmp4 = (struct icmp* __single)arg; in pf_translate_icmp_af()
4844 struct icmp *icmp; in pf_nat64_ipv6() local
4847 icmp = (struct icmp *)pbuf_contig_segment(pbuf, hlen, in pf_nat64_ipv6()
4849 if (icmp == NULL) { in pf_nat64_ipv6()
4853 icmp->icmp_cksum = 0; in pf_nat64_ipv6()
4854 icmp->icmp_cksum = pbuf_inet_cksum(pbuf, 0, hlen, in pf_nat64_ipv6()
7955 pf_pd_get_hdr_ptr_icmp(pd), sizeof(struct icmp)); in pf_test_state_icmp()
8002 pf_pd_get_hdr_ptr_icmp(pd), sizeof(struct icmp)); in pf_test_state_icmp()
8556 struct icmp iih; in pf_test_state_icmp()
[all …]
H A Dpfvar.h1524 _DEFINE_PDESC_TYPED_HDR_ACCESSOR(icmp, struct icmp);
/xnu-12377.41.6/bsd/sys/
H A Dprotosw.h138 struct icmp *ipc_icmp; /* icmp header of target packet */