Deleted Added
full compact
ng_netflow.4 (219183) ng_netflow.4 (231564)
1.\" Copyright (c) 2004-2005 Gleb Smirnoff <glebius@FreeBSD.org>
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) 2004-2005 Gleb Smirnoff <glebius@FreeBSD.org>
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_netflow.4 219183 2011-03-02 16:16:09Z glebius $
25.\" $FreeBSD: head/share/man/man4/ng_netflow.4 231564 2012-02-12 18:29:56Z ed $
26.\"
27.Dd March 2, 2011
28.Dt NG_NETFLOW 4
29.Os
30.Sh NAME
31.Nm ng_netflow
32.Nd Cisco's NetFlow implementation
33.Sh SYNOPSIS

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

143The interface's index can be determined via
144.Xr if_nametoindex 3
145from userland.
146This message requires
147.Vt "struct ng_netflow_setifindex"
148as an argument:
149.Bd -literal -offset 4n
150struct ng_netflow_setifindex {
26.\"
27.Dd March 2, 2011
28.Dt NG_NETFLOW 4
29.Os
30.Sh NAME
31.Nm ng_netflow
32.Nd Cisco's NetFlow implementation
33.Sh SYNOPSIS

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

143The interface's index can be determined via
144.Xr if_nametoindex 3
145from userland.
146This message requires
147.Vt "struct ng_netflow_setifindex"
148as an argument:
149.Bd -literal -offset 4n
150struct ng_netflow_setifindex {
151 u_int16_t iface; /* which iface to operate on */
152 u_int16_t index; /* new index */
151 uint16_t iface; /* which iface to operate on */
152 uint16_t index; /* new index */
153};
154.Ed
155.Pp
156The requested
157.Va iface Ns Ar N
158hook must already be connected, otherwise the message
159send operation will return an error.
160.It Dv NGM_NETFLOW_SETTIMEOUTS

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

170.Ed
171.It Dv NGM_NETFLOW_SETCONFIG
172Sets configuration for the specified interface.
173This message requires
174.Vt "struct ng_netflow_setconfig"
175as an argument:
176.Bd -literal -offset 4n
177struct ng_netflow_setconfig {
153};
154.Ed
155.Pp
156The requested
157.Va iface Ns Ar N
158hook must already be connected, otherwise the message
159send operation will return an error.
160.It Dv NGM_NETFLOW_SETTIMEOUTS

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

170.Ed
171.It Dv NGM_NETFLOW_SETCONFIG
172Sets configuration for the specified interface.
173This message requires
174.Vt "struct ng_netflow_setconfig"
175as an argument:
176.Bd -literal -offset 4n
177struct ng_netflow_setconfig {
178 u_int16_t iface;
179 u_int32_t conf;
178 uint16_t iface;
179 uint32_t conf;
180#define NG_NETFLOW_CONF_INGRESS 1
181#define NG_NETFLOW_CONF_EGRESS 2
182#define NG_NETFLOW_CONF_ONCE 4
183#define NG_NETFLOW_CONF_THISONCE 8
184};
185.Ed
186.Pp
187Configuration is a bitmask of several options. Option NG_NETFLOW_CONF_INGRESS

--- 162 unchanged lines hidden ---
180#define NG_NETFLOW_CONF_INGRESS 1
181#define NG_NETFLOW_CONF_EGRESS 2
182#define NG_NETFLOW_CONF_ONCE 4
183#define NG_NETFLOW_CONF_THISONCE 8
184};
185.Ed
186.Pp
187Configuration is a bitmask of several options. Option NG_NETFLOW_CONF_INGRESS

--- 162 unchanged lines hidden ---