Searched refs:icmp (Results 1 – 12 of 12) sorted by relevance
| /xnu-8792.41.9/tests/ ! |
| H A D | icmp_fragmented_payload.c | 101 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-8792.41.9/bsd/netinet/ ! |
| H A D | ip_icmp.c | 191 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 D | ip_icmp.h | 89 struct icmp { struct
|
| H A D | ip_compat.h | 583 typedef struct icmp { 706 typedef struct icmp icmphdr_t;
|
| H A D | in_proto.c | 348 SYSCTL_NODE(_net_inet, IPPROTO_ICMP, icmp,
|
| H A D | tcp_subr.c | 2306 struct icmp *icp = NULL; in tcp_handle_msgsize() 2308 icp = (struct icmp *)(void *) in tcp_handle_msgsize() 2309 ((caddr_t)ip - offsetof(struct icmp, icmp_ip)); in tcp_handle_msgsize() 2406 struct icmp *icp; in tcp_ctlinput()
|
| H A D | udp_usrreq.c | 888 struct icmp *icp = NULL; in udp_ctlinput()
|
| /xnu-8792.41.9/bsd/man/man4/ ! |
| H A D | Makefile | 18 icmp.4 \
|
| /xnu-8792.41.9/bsd/net/ ! |
| H A D | nat464_utils.c | 258 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 D | pf.c | 4570 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 D | pfvar.h | 1418 struct icmp *icmp; member
|
| /xnu-8792.41.9/bsd/sys/ ! |
| H A D | protosw.h | 138 struct icmp *ipc_icmp; /* icmp header of target packet */
|