dn_sched_fifo.c (302408) | dn_sched_fifo.c (325730) |
---|---|
1/* 2 * Copyright (c) 2010 Riccardo Panicucci, Universita` di Pisa 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 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27/* | 1/* 2 * Copyright (c) 2010 Riccardo Panicucci, Universita` di Pisa 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 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27/* |
28 * $FreeBSD: stable/11/sys/netpfil/ipfw/dn_sched_fifo.c 300779 2016-05-26 21:40:13Z truckman $ | 28 * $FreeBSD: stable/11/sys/netpfil/ipfw/dn_sched_fifo.c 325730 2017-11-12 01:26:43Z truckman $ |
29 */ 30 31#ifdef _KERNEL 32#include <sys/malloc.h> 33#include <sys/socket.h> 34#include <sys/socketvar.h> 35#include <sys/kernel.h> | 29 */ 30 31#ifdef _KERNEL 32#include <sys/malloc.h> 33#include <sys/socket.h> 34#include <sys/socketvar.h> 35#include <sys/kernel.h> |
36#include <sys/lock.h> |
|
36#include <sys/mbuf.h> 37#include <sys/module.h> | 37#include <sys/mbuf.h> 38#include <sys/module.h> |
39#include <sys/rwlock.h> |
|
38#include <net/if.h> /* IFNAMSIZ */ 39#include <netinet/in.h> 40#include <netinet/ip_var.h> /* ipfw_rule_ref */ 41#include <netinet/ip_fw.h> /* flow_id */ 42#include <netinet/ip_dummynet.h> | 40#include <net/if.h> /* IFNAMSIZ */ 41#include <netinet/in.h> 42#include <netinet/ip_var.h> /* ipfw_rule_ref */ 43#include <netinet/ip_fw.h> /* flow_id */ 44#include <netinet/ip_dummynet.h> |
45#include <netpfil/ipfw/ip_fw_private.h> |
|
43#include <netpfil/ipfw/dn_heap.h> 44#include <netpfil/ipfw/ip_dn_private.h> 45#ifdef NEW_AQM 46#include <netpfil/ipfw/dn_aqm.h> 47#endif 48#include <netpfil/ipfw/dn_sched.h> 49#else 50#include <dn_test.h> --- 77 unchanged lines hidden --- | 46#include <netpfil/ipfw/dn_heap.h> 47#include <netpfil/ipfw/ip_dn_private.h> 48#ifdef NEW_AQM 49#include <netpfil/ipfw/dn_aqm.h> 50#endif 51#include <netpfil/ipfw/dn_sched.h> 52#else 53#include <dn_test.h> --- 77 unchanged lines hidden --- |