netmap: minor documentation fix
Also update date of pkt-gen.8 (not done in r366387). Submitted by: milosz.kaniewski@gmail.com MFC after: 3 days
This commit is contained in:
parent
adf41f0788
commit
c97d2c8ae8
@ -27,7 +27,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd February 6, 2020
|
.Dd October 3, 2020
|
||||||
.Dt NETMAP 4
|
.Dt NETMAP 4
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -1052,7 +1052,7 @@ void receiver(void)
|
|||||||
for (;;) {
|
for (;;) {
|
||||||
poll(&fds, 1, -1);
|
poll(&fds, 1, -1);
|
||||||
while ( (buf = nm_nextpkt(d, &h)) )
|
while ( (buf = nm_nextpkt(d, &h)) )
|
||||||
consume_pkt(buf, h->len);
|
consume_pkt(buf, h.len);
|
||||||
}
|
}
|
||||||
nm_close(d);
|
nm_close(d);
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd October 31, 2018
|
.Dd October 3, 2020
|
||||||
.Dt PKT-GEN 8
|
.Dt PKT-GEN 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
Loading…
Reference in New Issue
Block a user