@@ -36,7 +36,7 @@
|
||||
+ 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
|
||||
# anything. The ``divert/raw/0'' is the hook name on the ksocket
|
||||
# node, which tells it what kind of socket to create.
|
||||
|
||||
# Lets give our ksocket node a global name. How about ``fred'':
|
||||
|
||||
@@ -165,7 +165,6 @@ static const struct ng_ksocket_alias ng_ksocket_protos[] = {
|
||||
{ "ah6", IPPROTO_AH, PF_INET6 },
|
||||
{ "swipe6", IPPROTO_SWIPE, PF_INET6 },
|
||||
{ "encap6", IPPROTO_ENCAP, PF_INET6 },
|
||||
{ "divert6", IPPROTO_DIVERT, PF_INET6 },
|
||||
{ "pim6", IPPROTO_PIM, PF_INET6 },
|
||||
{ NULL, -1 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user