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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)raw_cb.h 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)raw_cb.h 8.1 (Berkeley) 6/10/93
34 * $FreeBSD: head/sys/net/raw_cb.h 83366 2001-09-12 08:38:13Z julian $
34 * $FreeBSD: head/sys/net/raw_cb.h 92725 2002-03-19 21:54:18Z alfred $
35 */
36
37#ifndef _NET_RAW_CB_H_
38#define _NET_RAW_CB_H_
39
40#include <sys/queue.h>
41
42/*

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

62#ifdef _KERNEL
63extern LIST_HEAD(rawcb_list_head, rawcb) rawcb_list;
64
65/* protosw entries */
66pr_ctlinput_t raw_ctlinput;
67pr_init_t raw_init;
68
69/* usrreq entries */
35 */
36
37#ifndef _NET_RAW_CB_H_
38#define _NET_RAW_CB_H_
39
40#include <sys/queue.h>
41
42/*

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

62#ifdef _KERNEL
63extern LIST_HEAD(rawcb_list_head, rawcb) rawcb_list;
64
65/* protosw entries */
66pr_ctlinput_t raw_ctlinput;
67pr_init_t raw_init;
68
69/* usrreq entries */
70int raw_attach __P((struct socket *, int));
71void raw_detach __P((struct rawcb *));
72void raw_disconnect __P((struct rawcb *));
70int raw_attach(struct socket *, int);
71void raw_detach(struct rawcb *);
72void raw_disconnect(struct rawcb *);
73
74#if 0 /* what the ??? */
75pr_input_t raw_input;
76#else
73
74#if 0 /* what the ??? */
75pr_input_t raw_input;
76#else
77void raw_input __P((struct mbuf *,
78 struct sockproto *, struct sockaddr *, struct sockaddr *));
77void raw_input(struct mbuf *,
78 struct sockproto *, struct sockaddr *, struct sockaddr *);
79#endif
80
81extern struct pr_usrreqs raw_usrreqs;
82#endif
83
84#endif
79#endif
80
81extern struct pr_usrreqs raw_usrreqs;
82#endif
83
84#endif