Deleted Added
full compact
ng_vlan.4 (141350) ng_vlan.4 (242997)
1.\" Copyright (c) 2003 Ruslan Ermilov
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 2003 Ruslan Ermilov
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man4/ng_vlan.4 141350 2005-02-05 11:31:31Z ru $
25.\" $FreeBSD: head/share/man/man4/ng_vlan.4 242997 2012-11-13 20:41:36Z joel $
26.\"
27.Dd March 1, 2004
28.Dt NG_VLAN 4
29.Os
30.Sh NAME
31.Nm ng_vlan
32.Nd IEEE 802.1Q VLAN tagging netgraph node type
33.Sh SYNOPSIS

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

73.Pp
74An Ethernet frame received on any of the
75.Dq vlan
76hooks is tagged accordingly and sent out the
77.Va downstream
78hook.
79.Sh HOOKS
80This node type supports the following hooks:
26.\"
27.Dd March 1, 2004
28.Dt NG_VLAN 4
29.Os
30.Sh NAME
31.Nm ng_vlan
32.Nd IEEE 802.1Q VLAN tagging netgraph node type
33.Sh SYNOPSIS

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

73.Pp
74An Ethernet frame received on any of the
75.Dq vlan
76hooks is tagged accordingly and sent out the
77.Va downstream
78hook.
79.Sh HOOKS
80This node type supports the following hooks:
81.Bl -tag -width ".Va downstream"
81.Bl -tag -width "Aq Em any valid name"
82.It Va downstream
83Typically this hook would be connected to a
84.Xr ng_ether 4
85node, using the
86.Va lower
87hook.
88.It Va nomatch
89Typically this hook would also be connected to an

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

97Typically this hook would be attached to an
98.Xr ng_eiface 4
99type node using the
100.Va ether
101hook.
102.El
103.Sh CONTROL MESSAGES
104This node type supports the generic control messages, plus the following:
82.It Va downstream
83Typically this hook would be connected to a
84.Xr ng_ether 4
85node, using the
86.Va lower
87hook.
88.It Va nomatch
89Typically this hook would also be connected to an

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

97Typically this hook would be attached to an
98.Xr ng_eiface 4
99type node using the
100.Va ether
101hook.
102.El
103.Sh CONTROL MESSAGES
104This node type supports the generic control messages, plus the following:
105.Bl -tag -width indent
106.It Dv NGM_VLAN_ADD_FILTER Pq Li addfilter
105.Bl -tag -width foo
106.It Dv NGM_VLAN_ADD_FILTER Pq Ic addfilter
107Associates a hook with the tag.
107Associates a hook with the tag.
108.It Dv NGM_VLAN_DEL_FILTER Pq Li delfilter
108.It Dv NGM_VLAN_DEL_FILTER Pq Ic delfilter
109Disassociates a hook from the tag.
109Disassociates a hook from the tag.
110.It Dv NGM_VLAN_GET_TABLE Pq Li gettable
110.It Dv NGM_VLAN_GET_TABLE Pq Ic gettable
111Returns a table of all hook/tag associations.
112.El
113.Sh EXAMPLES
114.Bd -literal
115#!/bin/sh
116
117ETHER_IF=rl0
118

--- 27 unchanged lines hidden ---
111Returns a table of all hook/tag associations.
112.El
113.Sh EXAMPLES
114.Bd -literal
115#!/bin/sh
116
117ETHER_IF=rl0
118

--- 27 unchanged lines hidden ---