altq_priq.h (130366) | altq_priq.h (281613) |
---|---|
1/* $KAME: altq_priq.h,v 1.7 2003/10/03 05:05:15 kjc Exp $ */ 2/* | 1/*- |
3 * Copyright (C) 2000-2003 4 * Sony Computer Science Laboratories Inc. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 18 * ARE DISCLAIMED. IN NO EVENT SHALL SONY CSL OR CONTRIBUTORS BE LIABLE 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. | 2 * Copyright (C) 2000-2003 3 * Sony Computer Science Laboratories Inc. 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 9 * notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 17 * ARE DISCLAIMED. IN NO EVENT SHALL SONY CSL OR CONTRIBUTORS BE LIABLE 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * $KAME: altq_priq.h,v 1.7 2003/10/03 05:05:15 kjc Exp $ 27 * $FreeBSD: head/sys/net/altq/altq_priq.h 281613 2015-04-16 20:22:40Z glebius $ |
|
26 */ 27 28#ifndef _ALTQ_ALTQ_PRIQ_H_ 29#define _ALTQ_ALTQ_PRIQ_H_ 30 | 28 */ 29 30#ifndef _ALTQ_ALTQ_PRIQ_H_ 31#define _ALTQ_ALTQ_PRIQ_H_ 32 |
31#include 32#include 33#include 34#include | 33#include <net/altq/altq.h> 34#include <net/altq/altq_classq.h> 35#include <net/altq/altq_red.h> 36#include <net/altq/altq_rio.h> |
35 36#ifdef __cplusplus 37extern "C" { 38#endif 39 40#define PRIQ_MAXPRI 16 /* upper limit of the number of priorities */ 41 42#ifdef ALTQ3_COMPAT --- 128 unchanged lines hidden --- | 37 38#ifdef __cplusplus 39extern "C" { 40#endif 41 42#define PRIQ_MAXPRI 16 /* upper limit of the number of priorities */ 43 44#ifdef ALTQ3_COMPAT --- 128 unchanged lines hidden --- |