Deleted Added
full compact
ng_tee.c (69922) ng_tee.c (70159)
1
2/*
3 * ng_tee.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_tee.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_tee.c 69922 2000-12-12 18:52:14Z julian $
39 * $FreeBSD: head/sys/netgraph/ng_tee.c 70159 2000-12-18 20:03:32Z julian $
40 * $Whistle: ng_tee.c,v 1.18 1999/11/01 09:24:52 julian Exp $
41 */
42
43/*
44 * This node is like the tee(1) command and is useful for ``snooping.''
45 * It has 4 hooks: left, right, left2right, and right2left. Data
46 * entering from the right is passed to the left and duplicated on
47 * right2left, and data entering from the left is passed to the right

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

123 NULL,
124 &ng_tee_stats_type
125 },
126 { 0 }
127};
128
129/* Netgraph type descriptor */
130static struct ng_type ng_tee_typestruct = {
40 * $Whistle: ng_tee.c,v 1.18 1999/11/01 09:24:52 julian Exp $
41 */
42
43/*
44 * This node is like the tee(1) command and is useful for ``snooping.''
45 * It has 4 hooks: left, right, left2right, and right2left. Data
46 * entering from the right is passed to the left and duplicated on
47 * right2left, and data entering from the left is passed to the right

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

123 NULL,
124 &ng_tee_stats_type
125 },
126 { 0 }
127};
128
129/* Netgraph type descriptor */
130static struct ng_type ng_tee_typestruct = {
131 NG_VERSION,
131 NG_ABI_VERSION,
132 NG_TEE_NODE_TYPE,
133 NULL,
134 ngt_constructor,
135 ngt_rcvmsg,
136 ngt_rmnode,
137 ngt_newhook,
138 NULL,
139 NULL,

--- 246 unchanged lines hidden ---
132 NG_TEE_NODE_TYPE,
133 NULL,
134 ngt_constructor,
135 ngt_rcvmsg,
136 ngt_rmnode,
137 ngt_newhook,
138 NULL,
139 NULL,

--- 246 unchanged lines hidden ---