Home
last modified time | relevance | path

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

/xnu-8796.121.2/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-8796.121.2/bsd/netinet/
H A Dip_icmp.c191 struct icmp *icp = NULL; in icmp_error()
250 !ICMP_INFOTYPE(((struct icmp *)(void *)((caddr_t)oip + oiphlen))-> in icmp_error()
359 icp = mtod(m, struct icmp *); in icmp_error()
438 struct icmp *icp; in icmp_input()
481 icp = mtod(m, struct icmp *); in icmp_input()
589 icp = (struct icmp *)(void *)(mtod(m, uint8_t *) + hlen); in icmp_input()
618 .ipc_off = hlen + offsetof(struct icmp, icmp_ip) + (IP_VHL_HL(icp->icmp_ip.ip_vhl) << 2) in icmp_input()
991 struct icmp *icp; in icmp_send()
1009 icp = mtod(m, struct icmp *); in icmp_send()
1206 struct icmp *icp; in icmp_dgram_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.c348 SYSCTL_NODE(_net_inet, IPPROTO_ICMP, icmp,
H A Dtcp_subr.c2293 struct icmp *icp = NULL; in tcp_handle_msgsize()
2295 icp = (struct icmp *)(void *) in tcp_handle_msgsize()
2296 ((caddr_t)ip - offsetof(struct icmp, icmp_ip)); in tcp_handle_msgsize()
2393 struct icmp *icp; in tcp_ctlinput()
H A Dudp_usrreq.c892 struct icmp *icp = NULL; in udp_ctlinput()
/xnu-8796.121.2/bsd/man/man4/
H A DMakefile18 icmp.4 \
/xnu-8796.121.2/bsd/net/
H A Dnat464_utils.c258 struct icmp *icmp4; in nat464_translate_icmp()
925 struct icmp *icmph = NULL; in nat464_translate_proto()
929 icmph = (struct icmp*) pbuf_contig_segment(pbuf, hlen, in nat464_translate_proto()
996 struct icmp *icmph = NULL; in nat464_translate_proto()
1011 icmph = (struct icmp *)(uintptr_t)icmp6h; in nat464_translate_proto()
H A Dpf.c4570 struct icmp *icmp4; in pf_translate_icmp_af()
4804 struct icmp *icmp; in pf_nat64_ipv6() local
4807 icmp = (struct icmp *)pbuf_contig_segment(pbuf, hlen, in pf_nat64_ipv6()
4809 if (icmp == NULL) { in pf_nat64_ipv6()
4813 icmp->icmp_cksum = 0; in pf_nat64_ipv6()
4814 icmp->icmp_cksum = pbuf_inet_cksum(pbuf, 0, hlen, in pf_nat64_ipv6()
4947 sxport.port = dxport.port = pd->hdr.icmp->icmp_id; in pf_test_rule()
4949 icmptype = pd->hdr.icmp->icmp_type; in pf_test_rule()
4950 icmpcode = pd->hdr.icmp->icmp_code; in pf_test_rule()
5084 pd->hdr.icmp->icmp_cksum = pf_cksum_fixup( in pf_test_rule()
[all …]
H A Dpfvar.h1418 struct icmp *icmp; member
/xnu-8796.121.2/bsd/sys/
H A Dprotosw.h138 struct icmp *ipc_icmp; /* icmp header of target packet */