ng_car.4 (231564) | ng_car.4 (233648) |
---|---|
1.\" Copyright (c) 2005 Nuno Antunes <nuno.antunes@gmail.com> 2.\" Copyright (c) 2007 Alexander Motin <mav@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\" Copyright (c) 2005 Nuno Antunes <nuno.antunes@gmail.com> 2.\" Copyright (c) 2007 Alexander Motin <mav@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/share/man/man4/ng_car.4 231564 2012-02-12 18:29:56Z ed $ | 26.\" $FreeBSD: head/share/man/man4/ng_car.4 233648 2012-03-29 05:02:12Z eadler $ |
27.\" 28.Dd March 11, 2007 29.Dt NG_CAR 4 30.Os 31.Sh NAME 32.Nm ng_car 33.Nd Committed Access Rate netgraph node type 34.Sh SYNOPSIS --- 110 unchanged lines hidden (view full) --- 145 NG_CAR_SINGLE_RATE = 0, 146 NG_CAR_DOUBLE_RATE, 147 NG_CAR_RED, 148 NG_CAR_SHAPE 149}; 150 151/* mode options (opt) */ 152#define NG_CAR_COUNT_PACKETS 2 | 27.\" 28.Dd March 11, 2007 29.Dt NG_CAR 4 30.Os 31.Sh NAME 32.Nm ng_car 33.Nd Committed Access Rate netgraph node type 34.Sh SYNOPSIS --- 110 unchanged lines hidden (view full) --- 145 NG_CAR_SINGLE_RATE = 0, 146 NG_CAR_DOUBLE_RATE, 147 NG_CAR_RED, 148 NG_CAR_SHAPE 149}; 150 151/* mode options (opt) */ 152#define NG_CAR_COUNT_PACKETS 2 |
153 | 153 |
154struct ng_car_bulkconf { 155 struct ng_car_hookconf upstream; 156 struct ng_car_hookconf downstream; 157}; 158.Ed 159.It Dv NGM_CAR_GET_STATS Pq Li getstats 160Return node statistics as 161.Vt "struct ng_car_bulkstats" --- 53 unchanged lines hidden --- | 154struct ng_car_bulkconf { 155 struct ng_car_hookconf upstream; 156 struct ng_car_hookconf downstream; 157}; 158.Ed 159.It Dv NGM_CAR_GET_STATS Pq Li getstats 160Return node statistics as 161.Vt "struct ng_car_bulkstats" --- 53 unchanged lines hidden --- |