diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-04-15 05:05:22 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-04-15 05:05:22 +0000 |
commit | 754923eb061ab7a49261e9a5c44fd9de91f4fb5f (patch) | |
tree | c1c92a6ca7983d18efd82c3af19680480db2bf27 /share/man | |
parent | b1396575ac6ad3b562f4938cc4a03bb6176fd3cc (diff) |
remove ml_filter, mq_filter, niq_filter.
theyre currently unused, so no functional change.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/ml_init.9 | 37 | ||||
-rw-r--r-- | share/man/man9/mq_init.9 | 37 |
2 files changed, 4 insertions, 70 deletions
diff --git a/share/man/man9/ml_init.9 b/share/man/man9/ml_init.9 index 2f29a05cedb..c9a0ec95761 100644 --- a/share/man/man9/ml_init.9 +++ b/share/man/man9/ml_init.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ml_init.9,v 1.12 2015/11/24 14:56:10 jmc Exp $ +.\" $OpenBSD: ml_init.9,v 1.13 2016/04/15 05:05:21 dlg Exp $ .\" .\" Copyright (c) 2015 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 24 2015 $ +.Dd $Mdocdate: April 15 2016 $ .Dt ML_INIT 9 .Os .Sh NAME @@ -23,7 +23,6 @@ .Nm ml_dequeue , .Nm ml_enlist , .Nm ml_dechain , -.Nm ml_filter , .Nm ml_len , .Nm ml_empty , .Nm ml_purge , @@ -44,12 +43,6 @@ .Fn ml_enlist "struct mbuf_list *ml" "struct mbuf_list *src" .Ft struct mbuf * .Fn ml_dechain "struct mbuf_list *ml" -.Ft struct mbuf * -.Fo ml_filter -.Fa "struct mbuf_list *ml" -.Fa "int (*filter)(void *, struct mbuf *)" -.Fa "void *context" -.Fc .Ft unsigned int .Fn ml_len "struct mbuf_list *ml" .Ft int @@ -102,25 +95,6 @@ mbuf list. Dequeues all mbufs from the .Fa ml mbuf list. -.It Fo ml_filter -.Fa "struct mbuf_list *ml" -.Fa "int (*filter)(void *, struct mbuf *)" -.Fa "void *context" -.Fc -Iterates over the mbufs on the -.Fa ml -mbuf list, passing each of them to the -.Fa filter -function. -If the -.Fa filter -returns non-zero, the packet is removed from the -.Fa ml -mbuf list to be returned as part of an mbuf chain by -.Fn ml_filter . -.Fa context -is passed as the first argument to each call of -.Fa filter . .It Fn ml_len "struct mbuf_list *ml" Return the number of mbufs on the .Fa ml @@ -178,13 +152,6 @@ If the list was empty, .Dv NULL is returned. .Pp -.Fn ml_filter -returns the mbufs that were successfully matched by the filter -function on the list via a pointer to a chain of mbufs. -If no packets matched the filter, -.Dv NULL -is returned. -.Pp .Fn ml_len returns the number of mbufs on the list. .Pp diff --git a/share/man/man9/mq_init.9 b/share/man/man9/mq_init.9 index c3daf264da7..e37d24b4966 100644 --- a/share/man/man9/mq_init.9 +++ b/share/man/man9/mq_init.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mq_init.9,v 1.7 2015/11/24 15:01:53 jmc Exp $ +.\" $OpenBSD: mq_init.9,v 1.8 2016/04/15 05:05:21 dlg Exp $ .\" .\" Copyright (c) 2015 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 24 2015 $ +.Dd $Mdocdate: April 15 2016 $ .Dt MQ_INIT 9 .Os .Sh NAME @@ -24,7 +24,6 @@ .Nm mq_enlist , .Nm mq_delist , .Nm mq_dechain , -.Nm mq_filter , .Nm mq_len , .Nm mq_empty , .Nm mq_purge , @@ -46,12 +45,6 @@ .Fn mq_delist "struct mbuf_queue *mq" "struct mbuf_list *ml" .Ft struct mbuf * .Fn mq_dechain "struct mbuf_queue *mq" -.Ft struct mbuf * -.Fo mq_filter -.Fa "struct mbuf_queue *mq" -.Fa "int (*filter)(void *, struct mbuf *)" -.Fa "void *context" -.Fc .Ft unsigned int .Fn mq_len "struct mbuf_queue *mq" .Ft int @@ -134,25 +127,6 @@ mbuf list. Dequeue all mbufs from the .Fa mq mbuf queue. -.It Fo mq_filter -.Fa "struct mbuf_queue *mq" -.Fa "int (*filter)(void *, struct mbuf *)" -.Fa "void *context" -.Fc -Iterates over the mbufs on the -.Fa mq -mbuf queue, passing each of them to the -.Fa filter -function. -If the -.Fa filter -returns non-zero, the packet is removed from the -.Fa mq -mbuf queue to be returned as part of an mbuf chain by -.Fn mq_filter . -.Fa context -is passed as the first argument to each call of -.Fa filter . .It Fn mq_len "struct mbuf_queue *mq" Return the number of mbufs on the .Fa mq @@ -209,13 +183,6 @@ If the queue was empty, .Dv NULL is returned. .Pp -.Fn mq_filter -returns the mbufs that were successfully matched by the filter -function on the queue via a pointer to a chain of mbufs. -If no packets matched the filter, -.Dv NULL -is returned. -.Pp .Fn mq_len returns the number of mbufs on the queue. .Pp |