/freebsd/contrib/libpcap/ |
H A D | pcap-util.c | 54 struct pfloghdr *pflhdr = (struct pfloghdr *)buf; in swap_pflog_header() 56 if (caplen < (u_int) (offsetof(struct pfloghdr, uid) + sizeof pflhdr->uid) || in swap_pflog_header() 57 length < (u_int) (offsetof(struct pfloghdr, uid) + sizeof pflhdr->uid)) { in swap_pflog_header() 64 if (pfloghdr_length < (u_int) (offsetof(struct pfloghdr, uid) + sizeof pflhdr->uid)) { in swap_pflog_header() 70 if (caplen < (u_int) (offsetof(struct pfloghdr, pid) + sizeof pflhdr->pid) || in swap_pflog_header() 71 length < (u_int) (offsetof(struct pfloghdr, pid) + sizeof pflhdr->pid)) { in swap_pflog_header() 75 if (pfloghdr_length < (u_int) (offsetof(struct pfloghdr, pid) + sizeof pflhdr->pid)) { in swap_pflog_header() 81 if (caplen < (u_int) (offsetof(struct pfloghdr, rule_uid) + sizeof pflhdr->rule_uid) || in swap_pflog_header() 82 length < (u_int) (offsetof(struct pfloghdr, rule_uid) + sizeof pflhdr->rule_uid)) { in swap_pflog_header() 86 if (pfloghdr_length < (u_int) (offsetof(struct pfloghdr, rule_uid) + sizeof pflhdr->rule_uid)) { in swap_pflog_header() [all …]
|
H A D | pflog.h | 123 struct pfloghdr { struct
|
H A D | gencode.c | 3457 return (gen_cmp(cstate, OR_LINKHDR, offsetof(struct pfloghdr, af), in gen_linktype() 3460 return (gen_cmp(cstate, OR_LINKHDR, offsetof(struct pfloghdr, af), in gen_linktype() 8594 b0 = gen_cmp(cstate, OR_LINKHDR, offsetof(struct pfloghdr, dir), BPF_B, in gen_inbound() 8705 len = sizeof(((struct pfloghdr *)0)->ifname); in gen_pf_ifname() 8706 off = offsetof(struct pfloghdr, ifname); in gen_pf_ifname() 8735 if (strlen(ruleset) >= sizeof(((struct pfloghdr *)0)->ruleset)) { in gen_pf_ruleset() 8737 (long)(sizeof(((struct pfloghdr *)0)->ruleset) - 1)); in gen_pf_ruleset() 8741 b0 = gen_bcmp(cstate, OR_LINKHDR, offsetof(struct pfloghdr, ruleset), in gen_pf_ruleset() 8764 b0 = gen_cmp(cstate, OR_LINKHDR, offsetof(struct pfloghdr, rulenr), BPF_W, in gen_pf_rnr() 8787 b0 = gen_cmp(cstate, OR_LINKHDR, offsetof(struct pfloghdr, subrulenr), BPF_W, in gen_pf_srnr() [all …]
|
/freebsd/sys/net/ |
H A D | if_pflog.h | 38 struct pfloghdr { struct 62 #define PFLOG_HDRLEN PFLOG_ALIGN(offsetof(struct pfloghdr, pad2)) argument 64 #define PFLOG_REAL_HDRLEN offsetof(struct pfloghdr, pad2)
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64clat.c | 65 nat64clat_log(struct pfloghdr *plog, struct mbuf *m, sa_family_t family, in nat64clat_log() 87 struct pfloghdr loghdr, *logdata; in nat64clat_handle_ip4() 115 struct pfloghdr loghdr, *logdata; in nat64clat_handle_ip6() 148 struct pfloghdr loghdr, *logdata; in nat64clat_handle_icmp6()
|
H A D | nat64stl.c | 64 nat64stl_log(struct pfloghdr *plog, struct mbuf *m, sa_family_t family, in nat64stl_log() 86 struct pfloghdr loghdr, *logdata; in nat64stl_handle_ip4() 116 struct pfloghdr loghdr, *logdata; in nat64stl_handle_ip6() 148 struct pfloghdr loghdr, *logdata; in nat64stl_handle_icmp6()
|
H A D | nat64lsn.c | 176 nat64lsn_log(struct pfloghdr *plog, struct mbuf *m, sa_family_t family, in nat64lsn_log() 602 struct pfloghdr loghdr, *logdata; in nat64lsn_translate4() 1459 struct pfloghdr loghdr, *logdata; in nat64lsn_translate6_internal()
|
H A D | nat64_translate.c | 149 nat64_log(struct pfloghdr *logdata, struct mbuf *m, sa_family_t family) in nat64_log()
|
/freebsd/contrib/tcpdump/ |
H A D | print-pflog.c | 104 pflog_print(netdissect_options *ndo, const struct pfloghdr *hdr) in pflog_print() 142 const struct pfloghdr *hdr; in pflog_if_print() 153 hdr = (const struct pfloghdr *)p; in pflog_if_print()
|
H A D | pflog.h | 118 struct pfloghdr { struct
|
H A D | CHANGES | 41 pflog: use nd_ types in struct pfloghdr.
|
/freebsd/sys/netpfil/pf/ |
H A D | if_pflog.c | 250 struct pfloghdr hdr; in pflog_packet()
|