Searched refs:icmp (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/bsd/man/man4/
H A DMakefile19 icmp.4 \
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_icmp.c202 struct icmp *icp;
226 !ICMP_INFOTYPE(((struct icmp *)(void *)((caddr_t)oip + oiplen))->
235 * First, formulate icmp message
257 icp = mtod(m, struct icmp *);
292 * in front of icmp message.
295 panic("icmp len");
325 struct icmp *icp;
339 * Locate icmp structure in mbuf, and check
365 icp = mtod(m, struct icmp *);
572 printf("icmp redirec
[all...]
H A Dip_icmp.h82 * Structure of an icmp header.
84 struct icmp { struct
H A Din_proto.c299 SYSCTL_NODE(_net_inet, IPPROTO_ICMP, icmp, CTLFLAG_RW|CTLFLAG_LOCKED, 0, "ICMP");
H A Dip_compat.h579 * Structure of an icmp header.
581 typedef struct icmp {
704 typedef struct icmp icmphdr_t;
H A Dip_fw2.c379 int type = L3HDR(struct icmp,ip)->icmp_type;
390 int type = L3HDR(struct icmp, ip)->icmp_type;
1156 struct icmp *const icmp = L3HDR(struct icmp, ip); local
1157 struct tcphdr *const tcp = (struct tcphdr *)icmp;
1158 struct udphdr *const udp = (struct udphdr *)icmp;
1203 icmp->icmp_type, icmp->icmp_code);
2081 args->fwa_id.flags = L3HDR(struct icmp, i
[all...]
H A Dtcp_subr.c1740 struct icmp *icp;
1742 icp = (struct icmp *)(void *)
1743 ((caddr_t)ip - offsetof(struct icmp, icmp_ip));
/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_fw.c192 static int icmp6type_match __P((struct icmp6_hdr * icmp, struct ip6_fw * f));
736 struct icmp6_hdr *icmp; local
741 icmp = (struct icmp6_hdr *) ((caddr_t)ip6 + off);
742 if (!icmp6type_match(icmp, f))
/darwin-on-arm/xnu/bsd/net/
H A Dpf.c2224 /* Change inner ip address, fix inner ip and icmp checksums. */
4057 sxport.port = dxport.port = pd->hdr.icmp->icmp_id;
4059 icmptype = pd->hdr.icmp->icmp_type;
4060 icmpcode = pd->hdr.icmp->icmp_code;
4130 pd->hdr.icmp->icmp_cksum = pf_cksum_fixup(
4131 pd->hdr.icmp->icmp_cksum, sxport.port,
4133 pd->hdr.icmp->icmp_id = nxport.port;
4332 /* icmp only. type always 0 in other cases */
4335 /* icmp only. type always 0 in other cases */
5143 icmptype = pd->hdr.icmp
[all...]
H A Dpfvar.h1407 struct icmp *icmp; member in union:pf_pdesc::__anon272

Completed in 116 milliseconds