diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-08-30 22:09:21 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-08-30 22:09:21 +0000 |
commit | 8624f4347e8133911b0554e816f6bedb56dc5fb3 (patch) | |
tree | 318f46a0d54bc0b12c8590b484af7bf7f6ecbf37 /share/examples | |
parent | 603677334a6453d817df45473cedea9006b94a65 (diff) | |
download | src-8624f4347e8133911b0554e816f6bedb56dc5fb3.tar.gz src-8624f4347e8133911b0554e816f6bedb56dc5fb3.zip |
Diffstat (limited to 'share/examples')
-rw-r--r-- | share/examples/netgraph/ngctl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/examples/netgraph/ngctl b/share/examples/netgraph/ngctl index e7b7cd86b04f..8dc6b23815b7 100644 --- a/share/examples/netgraph/ngctl +++ b/share/examples/netgraph/ngctl @@ -31,10 +31,10 @@ quit Exit program + -# Now let's create a ng_ksocket(4) node, in the family PF_INET, -# of type SOCK_RAW, and protocol IPPROTO_DIVERT: +# Now let's create a ng_ksocket(4) node, in the family PF_DIVERT, +# of type SOCK_RAW: - + mkpeer ksocket foo inet/raw/divert + + mkpeer ksocket foo divert/raw/0 # Note that ``foo'' is the hook name on the socket node, which can be # anything. The ``inet/raw/divert'' is the hook name on the ksocket |