Deleted Added
full compact
raw_cb.c (185571) raw_cb.c (189106)
1/*-
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California.
4 * 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:

--- 14 unchanged lines hidden (view full) ---

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 * @(#)raw_cb.c 8.1 (Berkeley) 6/10/93
1/*-
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California.
4 * 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:

--- 14 unchanged lines hidden (view full) ---

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 * @(#)raw_cb.c 8.1 (Berkeley) 6/10/93
31 * $FreeBSD: head/sys/net/raw_cb.c 185571 2008-12-02 21:37:28Z bz $
31 * $FreeBSD: head/sys/net/raw_cb.c 189106 2009-02-27 14:12:05Z bz $
32 */
33
32 */
33
34#include "opt_route.h"
35
34#include <sys/param.h>
35#include <sys/domain.h>
36#include <sys/lock.h>
37#include <sys/kernel.h>
38#include <sys/malloc.h>
39#include <sys/mutex.h>
40#include <sys/protosw.h>
41#include <sys/socket.h>
42#include <sys/socketvar.h>
43#include <sys/sysctl.h>
44#include <sys/systm.h>
45#include <sys/vimage.h>
46
47#include <net/if.h>
48#include <net/raw_cb.h>
36#include <sys/param.h>
37#include <sys/domain.h>
38#include <sys/lock.h>
39#include <sys/kernel.h>
40#include <sys/malloc.h>
41#include <sys/mutex.h>
42#include <sys/protosw.h>
43#include <sys/socket.h>
44#include <sys/socketvar.h>
45#include <sys/sysctl.h>
46#include <sys/systm.h>
47#include <sys/vimage.h>
48
49#include <net/if.h>
50#include <net/raw_cb.h>
51#include <net/route.h>
49#include <net/vnet.h>
50
51/*
52 * Routines to manage the raw protocol control blocks.
53 *
54 * TODO:
55 * hash lookups by protocol family/protocol + address family
56 * take care of unique address problems per AF?

--- 65 unchanged lines hidden ---
52#include <net/vnet.h>
53
54/*
55 * Routines to manage the raw protocol control blocks.
56 *
57 * TODO:
58 * hash lookups by protocol family/protocol + address family
59 * take care of unique address problems per AF?

--- 65 unchanged lines hidden ---