Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/netpfil/ipfw/
HDip_fw_log.c80 #define ICMP(p) ((struct icmphdr *)(p))
292 struct icmphdr *icmp; in ipfw_log()
353 icmp = L3HDR(struct icmphdr, ip); in ipfw_log()
HDip_fw2.c238 #define ICMP(p) ((struct icmphdr *)(p))
242 icmptype_match(struct icmphdr *icmp, ipfw_insn_u32 *cmd) in icmptype_match()
253 is_icmp_query(struct icmphdr *icmp) in is_icmp_query()
1710 PULLUP_TO(hlen, ulp, struct icmphdr); in ipfw_chk()
/freebsd-11-stable/sys/netinet/
HDip_icmp.h52 struct icmphdr { struct
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
HDnat64_translate.h82 #define ICMP(p) ((struct icmphdr *)(p))
HDnat64_translate.c775 plen = len + sizeof(struct icmphdr) + sizeof(uint32_t); in nat64_icmp_reflect()
808 sizeof(struct icmphdr) + sizeof(uint32_t))); in nat64_icmp_reflect()
HDnat64lsn.c240 struct icmphdr *icmp; in inspect_icmp_mbuf()
252 icmp = L3HDR(ip, struct icmphdr *); in inspect_icmp_mbuf()
/freebsd-11-stable/sbin/natd/
HDnatd.c846 struct icmp* icmphdr; in FormatPacket() local
873 icmphdr = (struct icmp*) ((char*) ip + (ip->ip_hl << 2)); in FormatPacket()
877 icmphdr->icmp_type, in FormatPacket()
878 icmphdr->icmp_code); in FormatPacket()