Author: pluknet Date: Thu Mar 1 12:03:52 2012 New Revision: 232333 URL: http://svn.freebsd.org/changeset/base/232333
Log: Document ifunit_ref function. MFC after: 1 week Modified: head/share/man/man9/ifnet.9 Modified: head/share/man/man9/ifnet.9 ============================================================================== --- head/share/man/man9/ifnet.9 Thu Mar 1 11:55:28 2012 (r232332) +++ head/share/man/man9/ifnet.9 Thu Mar 1 12:03:52 2012 (r232333) @@ -66,6 +66,8 @@ .Fn if_allmulti "struct ifnet *ifp" "int amswitch" .Ft "struct ifnet *" .Fn ifunit "const char *name" +.Ft "struct ifnet *" +.Fn ifunit_ref "const char *name" .Ft void .Fn if_up "struct ifnet *ifp" .\" @@ -1151,6 +1153,14 @@ Return an .Vt ifnet pointer for the interface named .Fa name . +.It Fn ifunit_ref +Return a reference-counted (via +.Fn ifa_ref ) +.Vt ifnet +pointer for the interface named +.Fa name . +This is a preferred function over +.Fn ifunit . .It Fn ifioctl Process the ioctl request .Fa cmd , _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
