if_pflog.h (b4a42589116bcf21e1c07224900dae6caad23c97) | if_pflog.h (9a405864e0cf7d794ba067fa762b5d3743cd7db5) |
---|---|
1/* $OpenBSD: if_pflog.h,v 1.13 2006/10/23 12:46:09 henning Exp $ */ 2/*- 3 * SPDX-License-Identifier: BSD-2-Clause 4 * 5 * Copyright 2001 Niels Provos <provos@citi.umich.edu> 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 55 unchanged lines hidden (view full) --- 64#define PFLOG_REAL_HDRLEN offsetof(struct pfloghdr, pad2) 65 66#ifdef _KERNEL 67struct pf_rule; 68struct pf_ruleset; 69struct pfi_kif; 70struct pf_pdesc; 71 | 1/* $OpenBSD: if_pflog.h,v 1.13 2006/10/23 12:46:09 henning Exp $ */ 2/*- 3 * SPDX-License-Identifier: BSD-2-Clause 4 * 5 * Copyright 2001 Niels Provos <provos@citi.umich.edu> 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 55 unchanged lines hidden (view full) --- 64#define PFLOG_REAL_HDRLEN offsetof(struct pfloghdr, pad2) 65 66#ifdef _KERNEL 67struct pf_rule; 68struct pf_ruleset; 69struct pfi_kif; 70struct pf_pdesc; 71 |
72#define PFLOG_PACKET(a,b,t,c,d,e,f,g) do { \ | 72#define PFLOG_PACKET(b,t,c,d,e,f,g) do { \ |
73 if (pflog_packet_ptr != NULL) \ | 73 if (pflog_packet_ptr != NULL) \ |
74 pflog_packet_ptr(a,b,t,c,d,e,f,g); \ | 74 pflog_packet_ptr(b,t,c,d,e,f,g); \ |
75} while (0) 76#endif /* _KERNEL */ 77#endif /* _NET_IF_PFLOG_H_ */ | 75} while (0) 76#endif /* _KERNEL */ 77#endif /* _NET_IF_PFLOG_H_ */ |