Deleted Added
full compact
ng_sample.c (69922) ng_sample.c (70159)
1
2/*
3 * ng_sample.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_sample.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_sample.c 69922 2000-12-12 18:52:14Z julian $
39 * $FreeBSD: head/sys/netgraph/ng_sample.c 70159 2000-12-18 20:03:32Z julian $
40 * $Whistle: ng_sample.c,v 1.13 1999/11/01 09:24:52 julian Exp $
41 */
42
43#include <sys/param.h>
44#include <sys/systm.h>
45#include <sys/kernel.h>
46#include <sys/mbuf.h>
47#include <sys/malloc.h>

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

91 &ng_parse_int32_type,
92 NULL
93 },
94 { 0 }
95};
96
97/* Netgraph node type descriptor */
98static struct ng_type typestruct = {
40 * $Whistle: ng_sample.c,v 1.13 1999/11/01 09:24:52 julian Exp $
41 */
42
43#include <sys/param.h>
44#include <sys/systm.h>
45#include <sys/kernel.h>
46#include <sys/mbuf.h>
47#include <sys/malloc.h>

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

91 &ng_parse_int32_type,
92 NULL
93 },
94 { 0 }
95};
96
97/* Netgraph node type descriptor */
98static struct ng_type typestruct = {
99 NG_VERSION,
99 NG_ABI_VERSION,
100 NG_XXX_NODE_TYPE,
101 NULL,
102 ng_xxx_constructor,
103 ng_xxx_rcvmsg,
104 ng_xxx_rmnode,
105 ng_xxx_newhook,
106 NULL,
107 ng_xxx_connect,

--- 370 unchanged lines hidden ---
100 NG_XXX_NODE_TYPE,
101 NULL,
102 ng_xxx_constructor,
103 ng_xxx_rcvmsg,
104 ng_xxx_rmnode,
105 ng_xxx_newhook,
106 NULL,
107 ng_xxx_connect,

--- 370 unchanged lines hidden ---