Deleted Added
full compact
ng_socket.c (111119) ng_socket.c (122875)
1
2/*
3 * ng_socket.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Julian Elischer <julian@freebsd.org>
38 *
1
2/*
3 * ng_socket.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Julian Elischer <julian@freebsd.org>
38 *
39 * $FreeBSD: head/sys/netgraph/ng_socket.c 111119 2003-02-19 05:47:46Z imp $
39 * $FreeBSD: head/sys/netgraph/ng_socket.c 122875 2003-11-18 00:39:07Z rwatson $
40 * $Whistle: ng_socket.c,v 1.28 1999/11/01 09:24:52 julian Exp $
41 */
42
43/*
44 * Netgraph socket nodes
45 *
46 * There are two types of netgraph sockets, control and data.
47 * Control sockets have a netgraph node, but data sockets are

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

973 pru_rcvd_notsupp,
974 pru_rcvoob_notsupp,
975 ngc_send,
976 pru_sense_null,
977 NULL, /* shutdown */
978 ng_setsockaddr,
979 sosend,
980 soreceive,
40 * $Whistle: ng_socket.c,v 1.28 1999/11/01 09:24:52 julian Exp $
41 */
42
43/*
44 * Netgraph socket nodes
45 *
46 * There are two types of netgraph sockets, control and data.
47 * Control sockets have a netgraph node, but data sockets are

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

973 pru_rcvd_notsupp,
974 pru_rcvoob_notsupp,
975 ngc_send,
976 pru_sense_null,
977 NULL, /* shutdown */
978 ng_setsockaddr,
979 sosend,
980 soreceive,
981 sopoll
981 sopoll,
982 pru_sosetlabel_null
982};
983
984static struct pr_usrreqs ngd_usrreqs = {
985 NULL, /* abort */
986 pru_accept_notsupp,
987 ngd_attach,
988 NULL, /* bind */
989 ngd_connect,

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

996 pru_rcvd_notsupp,
997 pru_rcvoob_notsupp,
998 ngd_send,
999 pru_sense_null,
1000 NULL, /* shutdown */
1001 ng_setsockaddr,
1002 sosend,
1003 soreceive,
983};
984
985static struct pr_usrreqs ngd_usrreqs = {
986 NULL, /* abort */
987 pru_accept_notsupp,
988 ngd_attach,
989 NULL, /* bind */
990 ngd_connect,

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

997 pru_rcvd_notsupp,
998 pru_rcvoob_notsupp,
999 ngd_send,
1000 pru_sense_null,
1001 NULL, /* shutdown */
1002 ng_setsockaddr,
1003 sosend,
1004 soreceive,
1004 sopoll
1005 sopoll,
1006 pru_sosetlabel_null
1005};
1006
1007/*
1008 * Definitions of protocols supported in the NETGRAPH domain.
1009 */
1010
1011extern struct domain ngdomain; /* stop compiler warnings */
1012

--- 82 unchanged lines hidden ---
1007};
1008
1009/*
1010 * Definitions of protocols supported in the NETGRAPH domain.
1011 */
1012
1013extern struct domain ngdomain; /* stop compiler warnings */
1014

--- 82 unchanged lines hidden ---