Home
last modified time | relevance | path

Searched refs:icmphdr (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/netpfil/ipfw/
H A Dip_fw_log.c81 #define ICMP(p) ((struct icmphdr *)(p))
306 struct icmphdr *icmp; in ipfw_log()
367 icmp = L3HDR(struct icmphdr, ip); in ipfw_log()
H A Dip_fw2.c256 #define ICMP(p) ((struct icmphdr *)(p))
260 icmptype_match(struct icmphdr *icmp, ipfw_insn_u32 *cmd) in icmptype_match()
271 is_icmp_query(struct icmphdr *icmp) in is_icmp_query()
1788 PULLUP_TO(hlen, ulp, struct icmphdr); in ipfw_chk()
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.h80 #define ICMP(p) ((struct icmphdr *)(p))
H A Dnat64_translate.c829 plen = len + sizeof(struct icmphdr) + sizeof(uint32_t); in nat64_icmp_reflect()
862 sizeof(struct icmphdr) + sizeof(uint32_t))); in nat64_icmp_reflect()
/freebsd/sys/netinet/
H A Dip_icmp.h51 struct icmphdr { struct
/freebsd/sbin/natd/
H A Dnatd.c843 struct icmp* icmphdr; in FormatPacket() local
870 icmphdr = (struct icmp*) ((char*) ip + (ip->ip_hl << 2)); in FormatPacket()
874 icmphdr->icmp_type, in FormatPacket()
875 icmphdr->icmp_code); in FormatPacket()
/freebsd/tests/sys/netinet/
H A Dfibs_multibind_test.c413 struct icmphdr icmp; in ping()