summaryrefslogtreecommitdiffstats
path: root/share/man/man9/ifnet.9
diff options
context:
space:
mode:
authordavidc <davidc@FreeBSD.org>2001-12-26 23:14:04 +0000
committerdavidc <davidc@FreeBSD.org>2001-12-26 23:14:04 +0000
commit6b067561b6c9b4ed2b47f2a1a291bca65015c9e7 (patch)
tree098933308a14df670e3b72970203b08aa5f907a1 /share/man/man9/ifnet.9
parent70547e89ed70bdc238efd1cf623ee7af6ebcdc84 (diff)
downloadFreeBSD-src-6b067561b6c9b4ed2b47f2a1a291bca65015c9e7.zip
FreeBSD-src-6b067561b6c9b4ed2b47f2a1a291bca65015c9e7.tar.gz
Update function definitions and required include files to reflect
the current state of the system. Approved by: alfred
Diffstat (limited to 'share/man/man9/ifnet.9')
-rw-r--r--share/man/man9/ifnet.913
1 files changed, 5 insertions, 8 deletions
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index 6686b00..8550bcb 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -37,7 +37,7 @@
.Nm if_data
.Nd kernel interfaces for manipulating network interfaces
.Sh SYNOPSIS
-.In sys/types.h
+.In sys/param.h
.In sys/time.h
.In sys/socket.h
.In net/if.h
@@ -50,13 +50,13 @@
.Ft void
.Fn if_down "struct ifnet *ifp"
.Ft int
-.Fn ifioctl "struct socket *so" "u_long cmd" "caddr_t data" "struct proc *p"
+.Fn ifioctl "struct socket *so" "u_long cmd" "caddr_t data" "struct thread *td"
.Ft int
.Fn ifpromisc "struct ifnet *ifp" "int pswitch"
.Ft int
.Fn if_allmulti "struct ifnet *ifp" "int amswitch"
.Ft "struct ifnet *"
-.Fn ifunit "char *name"
+.Fn ifunit "const char *name"
.Ft void
.Fn if_up "struct ifnet *ifp"
.\"
@@ -71,7 +71,6 @@
.Fn ifaof_ifpforaddr "struct sockaddr *addr" "struct ifnet *ifp"
.Ft void
.Fn ifafree "struct ifaddr *ifa"
-.Ft void \"macro
.Fn IFAFREE "struct ifaddr *ifa"
.\"
.Ss "Interface multicast address functions"
@@ -82,9 +81,7 @@
.Ft "struct ifmultiaddr *"
.Fn ifmaof_ifpforaddr "struct sockaddr *addr" "struct ifnet *ifp"
.Ss "Output queue macros"
-.Ft void \"macro
.Fn IF_ENQ_DROP "struct ifqueue *ifq" "struct mbuf *m"
-.Ft void \"macro
.Fn IF_DEQUEUE "struct ifqueue *ifq" "struct mbuf *m"
.\"
.Ss "struct ifnet member functions"
@@ -803,8 +800,8 @@ Process the ioctl request
.Ar cmd ,
issued on socket
.Ar so
-by process
-.Ar p ,
+by thread
+.Ar td ,
with data parameter
.Ar data .
This is the main routine for handling all interface configuration
OpenPOWER on IntegriCloud