pfvar.h (285830) | pfvar.h (286014) |
---|---|
1/* 2 * Copyright (c) 2001 Daniel Hartmeier 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 13 unchanged lines hidden (view full) --- 22 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 26 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 * POSSIBILITY OF SUCH DAMAGE. 28 * 29 * $OpenBSD: pfvar.h,v 1.282 2009/01/29 15:12:28 pyr Exp $ | 1/* 2 * Copyright (c) 2001 Daniel Hartmeier 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 13 unchanged lines hidden (view full) --- 22 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 24 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 26 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 * POSSIBILITY OF SUCH DAMAGE. 28 * 29 * $OpenBSD: pfvar.h,v 1.282 2009/01/29 15:12:28 pyr Exp $ |
30 * $FreeBSD: releng/10.2/sys/net/pfvar.h 284579 2015-06-18 21:21:52Z kp $ | 30 * $FreeBSD: releng/10.2/sys/net/pfvar.h 286014 2015-07-29 14:16:25Z glebius $ |
31 */ 32 33#ifndef _NET_PFVAR_H_ 34#define _NET_PFVAR_H_ 35 36#include <sys/param.h> 37#include <sys/queue.h> 38#include <sys/counter.h> --- 1505 unchanged lines hidden (view full) --- 1544} 1545 1546extern struct pf_state *pf_find_state_byid(uint64_t, uint32_t); 1547extern struct pf_state *pf_find_state_all(struct pf_state_key_cmp *, 1548 u_int, int *); 1549extern struct pf_src_node *pf_find_src_node(struct pf_addr *, 1550 struct pf_rule *, sa_family_t, int); 1551extern void pf_unlink_src_node(struct pf_src_node *); | 31 */ 32 33#ifndef _NET_PFVAR_H_ 34#define _NET_PFVAR_H_ 35 36#include <sys/param.h> 37#include <sys/queue.h> 38#include <sys/counter.h> --- 1505 unchanged lines hidden (view full) --- 1544} 1545 1546extern struct pf_state *pf_find_state_byid(uint64_t, uint32_t); 1547extern struct pf_state *pf_find_state_all(struct pf_state_key_cmp *, 1548 u_int, int *); 1549extern struct pf_src_node *pf_find_src_node(struct pf_addr *, 1550 struct pf_rule *, sa_family_t, int); 1551extern void pf_unlink_src_node(struct pf_src_node *); |
1552extern void pf_unlink_src_node_locked(struct pf_src_node *); | |
1553extern u_int pf_free_src_nodes(struct pf_src_node_list *); 1554extern void pf_print_state(struct pf_state *); 1555extern void pf_print_flags(u_int8_t); 1556extern u_int16_t pf_cksum_fixup(u_int16_t, u_int16_t, u_int16_t, 1557 u_int8_t); 1558 1559VNET_DECLARE(struct ifnet *, sync_ifp); 1560#define V_sync_ifp VNET(sync_ifp); --- 184 unchanged lines hidden --- | 1552extern u_int pf_free_src_nodes(struct pf_src_node_list *); 1553extern void pf_print_state(struct pf_state *); 1554extern void pf_print_flags(u_int8_t); 1555extern u_int16_t pf_cksum_fixup(u_int16_t, u_int16_t, u_int16_t, 1556 u_int8_t); 1557 1558VNET_DECLARE(struct ifnet *, sync_ifp); 1559#define V_sync_ifp VNET(sync_ifp); --- 184 unchanged lines hidden --- |