| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: npf.3,v 1.13 2013/11/12 06:06:21 wiz Exp $ | | 1 | .\" $NetBSD: npf.3,v 1.14 2014/01/08 10:14:21 njoly Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2011-2013 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2011-2013 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This material is based upon work partially supported by The | | 6 | .\" This material is based upon work partially supported by The |
7 | .\" NetBSD Foundation under a contract with Mindaugas Rasiukevicius. | | 7 | .\" NetBSD Foundation under a contract with Mindaugas Rasiukevicius. |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -46,27 +46,27 @@ | | | @@ -46,27 +46,27 @@ |
46 | .Fn npf_config_destroy "nl_config_t *ncf" | | 46 | .Fn npf_config_destroy "nl_config_t *ncf" |
47 | .Ft int | | 47 | .Ft int |
48 | .Fn npf_config_flush "int fd" | | 48 | .Fn npf_config_flush "int fd" |
49 | .\" --- | | 49 | .\" --- |
50 | .Ft nl_rule_t * | | 50 | .Ft nl_rule_t * |
51 | .Fn npf_rule_create "char *name" "uint32_t attr" "const char *ifname" | | 51 | .Fn npf_rule_create "char *name" "uint32_t attr" "const char *ifname" |
52 | .Ft int | | 52 | .Ft int |
53 | .Fn npf_rule_setcode "nl_rule_t *rl" "int type" "const void *code" "size_t len" | | 53 | .Fn npf_rule_setcode "nl_rule_t *rl" "int type" "const void *code" "size_t len" |
54 | .Ft int | | 54 | .Ft int |
55 | .Fn npf_rule_setkey "nl_rule_t *rl" "int type" "const void *code" "size_t len" | | 55 | .Fn npf_rule_setkey "nl_rule_t *rl" "int type" "const void *code" "size_t len" |
56 | .Ft bool | | 56 | .Ft bool |
57 | .Fn npf_rule_exists_p "nl_config_t *ncf" "const char *name" | | 57 | .Fn npf_rule_exists_p "nl_config_t *ncf" "const char *name" |
58 | .Ft int | | 58 | .Ft int |
59 | .Fn npf_rule_insert "nl_config_t *ncf" " nl_rule_t *parent" "nl_rule_t *rl" | | 59 | .Fn npf_rule_insert "nl_config_t *ncf" "nl_rule_t *parent" "nl_rule_t *rl" |
60 | .Ft int | | 60 | .Ft int |
61 | .Fn npf_rule_setprio "nl_rule_t *rl" "pri_t pri" | | 61 | .Fn npf_rule_setprio "nl_rule_t *rl" "pri_t pri" |
62 | .Ft int | | 62 | .Ft int |
63 | .Fn npf_rule_setproc "nl_config_t *ncf" "nl_rule_t *rl" "const char *name" | | 63 | .Fn npf_rule_setproc "nl_config_t *ncf" "nl_rule_t *rl" "const char *name" |
64 | .Ft void | | 64 | .Ft void |
65 | .Fn npf_rule_destroy "nl_rule_t *rl" | | 65 | .Fn npf_rule_destroy "nl_rule_t *rl" |
66 | .\" --- | | 66 | .\" --- |
67 | .Ft nl_rproc_t * | | 67 | .Ft nl_rproc_t * |
68 | .Fn npf_rproc_create "char *name" | | 68 | .Fn npf_rproc_create "char *name" |
69 | .Ft bool | | 69 | .Ft bool |
70 | .Fn npf_rproc_exists_p "nl_config_t *ncf" "const char *name" | | 70 | .Fn npf_rproc_exists_p "nl_config_t *ncf" "const char *name" |
71 | .Ft int | | 71 | .Ft int |
72 | .Fn npf_rproc_insert "nl_config_t *ncf" "nl_rproc_t *rp" | | 72 | .Fn npf_rproc_insert "nl_config_t *ncf" "nl_rproc_t *rp" |