netisr.h (263140) | netisr.h (263152) |
---|---|
1/*- 2 * Copyright (c) 2007-2009 Robert N. M. Watson 3 * Copyright (c) 2010-2011 Juniper Networks, Inc. 4 * All rights reserved. 5 * 6 * This software was developed by Robert N. M. Watson under contract 7 * to Juniper Networks, Inc. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * | 1/*- 2 * Copyright (c) 2007-2009 Robert N. M. Watson 3 * Copyright (c) 2010-2011 Juniper Networks, Inc. 4 * All rights reserved. 5 * 6 * This software was developed by Robert N. M. Watson under contract 7 * to Juniper Networks, Inc. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $FreeBSD: head/sys/net/netisr.h 263140 2014-03-14 02:58:48Z glebius $ | 30 * $FreeBSD: head/sys/net/netisr.h 263152 2014-03-14 06:29:43Z glebius $ |
31 */ 32 33#ifndef _NET_NETISR_H_ 34#define _NET_NETISR_H_ 35 36/* 37 * The netisr (network interrupt service routine) provides a deferred 38 * execution evironment in which (generally inbound) network processing can --- 8 unchanged lines hidden (view full) --- 47 * Protocol numbers, which are encoded in monitoring applications and kernel 48 * modules. Internally, these are used in bit shift operations so must have 49 * a value 0 < proto < 32; we currently further limit at compile-time to 16 50 * for array-sizing purposes. 51 */ 52#define NETISR_IP 1 53#define NETISR_IGMP 2 /* IGMPv3 output queue */ 54#define NETISR_ROUTE 3 /* routing socket */ | 31 */ 32 33#ifndef _NET_NETISR_H_ 34#define _NET_NETISR_H_ 35 36/* 37 * The netisr (network interrupt service routine) provides a deferred 38 * execution evironment in which (generally inbound) network processing can --- 8 unchanged lines hidden (view full) --- 47 * Protocol numbers, which are encoded in monitoring applications and kernel 48 * modules. Internally, these are used in bit shift operations so must have 49 * a value 0 < proto < 32; we currently further limit at compile-time to 16 50 * for array-sizing purposes. 51 */ 52#define NETISR_IP 1 53#define NETISR_IGMP 2 /* IGMPv3 output queue */ 54#define NETISR_ROUTE 3 /* routing socket */ |
55#define NETISR_AARP 4 /* Appletalk ARP */ 56#define NETISR_ATALK2 5 /* Appletalk phase 2 */ 57#define NETISR_ATALK1 6 /* Appletalk phase 1 */ 58#define NETISR_ARP 7 /* same as AF_LINK */ 59/* 8 was IPX */ 60#define NETISR_ETHER 9 /* ethernet input */ 61#define NETISR_IPV6 10 62#define NETISR_NATM 11 63#define NETISR_EPAIR 12 /* if_epair(4) */ | 55#define NETISR_ARP 4 /* same as AF_LINK */ 56#define NETISR_ETHER 5 /* ethernet input */ 57#define NETISR_IPV6 6 58#define NETISR_NATM 7 59#define NETISR_EPAIR 8 /* if_epair(4) */ |
64 65/* 66 * Protocol ordering and affinity policy constants. See the detailed 67 * discussion of policies later in the file. 68 */ 69#define NETISR_POLICY_SOURCE 1 /* Maintain source ordering. */ 70#define NETISR_POLICY_FLOW 2 /* Maintain flow ordering. */ 71#define NETISR_POLICY_CPU 3 /* Protocol determines CPU placement. */ --- 176 unchanged lines hidden --- | 60 61/* 62 * Protocol ordering and affinity policy constants. See the detailed 63 * discussion of policies later in the file. 64 */ 65#define NETISR_POLICY_SOURCE 1 /* Maintain source ordering. */ 66#define NETISR_POLICY_FLOW 2 /* Maintain flow ordering. */ 67#define NETISR_POLICY_CPU 3 /* Protocol determines CPU placement. */ --- 176 unchanged lines hidden --- |