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

/xnu-2782.1.97/bsd/man/man4/
H A DMakefile19 icmp.4 \
/xnu-2782.1.97/bsd/netinet/
H A Dip_icmp.c200 struct icmp *icp;
225 !ICMP_INFOTYPE(((struct icmp *)(void *)((caddr_t)oip + oiplen))->
234 * First, formulate icmp message
256 icp = mtod(m, struct icmp *);
291 * in front of icmp message.
294 panic("icmp len");
318 struct icmp *icp;
332 * Locate icmp structure in mbuf, and check
358 icp = mtod(m, struct icmp *);
577 printf("icmp redirec
[all...]
H A Dip_icmp.h82 * Structure of an icmp header.
84 struct icmp { struct
H A Din_proto.c345 SYSCTL_NODE(_net_inet, IPPROTO_ICMP, 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.c456 int type = L3HDR(struct icmp,ip)->icmp_type;
467 int type = L3HDR(struct icmp, ip)->icmp_type;
1235 struct icmp *const icmp = L3HDR(struct icmp, ip); local
1236 struct tcphdr *const tcp = (struct tcphdr *)icmp;
1237 struct udphdr *const udp = (struct udphdr *)icmp;
1282 icmp->icmp_type, icmp->icmp_code);
2160 args->fwa_id.flags = L3HDR(struct icmp, i
[all...]
H A Dtcp_subr.c1833 struct icmp *icp;
1835 icp = (struct icmp *)(void *)
1836 ((caddr_t)ip - offsetof(struct icmp, icmp_ip));
/xnu-2782.1.97/bsd/netinet6/
H A Dip6_fw.c192 static int icmp6type_match __P((struct icmp6_hdr * icmp, struct ip6_fw * f));
737 struct icmp6_hdr *icmp; local
742 icmp = (struct icmp6_hdr *) ((caddr_t)ip6 + off);
743 if (!icmp6type_match(icmp, f))
/xnu-2782.1.97/bsd/net/
H A Dpf.c2253 /* Change inner ip address, fix inner ip and icmp checksums. */
4102 sxport.port = dxport.port = pd->hdr.icmp->icmp_id;
4104 icmptype = pd->hdr.icmp->icmp_type;
4105 icmpcode = pd->hdr.icmp->icmp_code;
4175 pd->hdr.icmp->icmp_cksum = pf_cksum_fixup(
4176 pd->hdr.icmp->icmp_cksum, sxport.port,
4178 pd->hdr.icmp->icmp_id = nxport.port;
4377 /* icmp only. type always 0 in other cases */
4380 /* icmp only. type always 0 in other cases */
5194 icmptype = pd->hdr.icmp
[all...]
H A Dpfvar.h1407 struct icmp *icmp; member in union:pf_pdesc::__anon297

Completed in 254 milliseconds