Date: Wed, 7 Mar 2012 09:42:19 +0000 (UTC) From: Sergey Kandaurov <pluknet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r232651 - head/share/man/man9 Message-ID: <201203070942.q279gJm8085445@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pluknet Date: Wed Mar 7 09:42:19 2012 New Revision: 232651 URL: http://svn.freebsd.org/changeset/base/232651 Log: Update ifa_rtrequest() description after post-4.4BSD change made in r85074. 3rd argument of ifa->ifa_rtrequest is now ``rt_addrinfo *'' instead of ``sockaddr *''. While here, un-document RTM_RESOLVE cmd argument for ifa_rtrequest() that became a stub after separating L2 tables in r186119. MFC after: 1 week Modified: head/share/man/man9/ifnet.9 Modified: head/share/man/man9/ifnet.9 ============================================================================== --- head/share/man/man9/ifnet.9 Wed Mar 7 08:24:48 2012 (r232650) +++ head/share/man/man9/ifnet.9 Wed Mar 7 09:42:19 2012 (r232651) @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 2, 2012 +.Dd March 7, 2012 .Dt IFNET 9 .Os .Sh NAME @@ -122,7 +122,7 @@ .Ss "struct ifaddr member function" .Ft void .Fo \*(lp*ifa_rtrequest\*(rp -.Fa "int cmd" "struct rtentry *rt" "struct sockaddr *dst" +.Fa "int cmd" "struct rtentry *rt" "struct rt_addrinfo *info" .Fc .\" .Ss "Global Variables" @@ -1016,22 +1016,19 @@ function. is a pointer to a function which receives callouts from the routing code .Pq Fn rtrequest -to perform link-layer-specific actions upon requests to add, resolve, +to perform link-layer-specific actions upon requests to add, or delete routes. The .Fa cmd argument indicates the request in question: -.Dv RTM_ADD , RTM_RESOLVE , +.Dv RTM_ADD , or .Dv RTM_DELETE . The .Fa rt argument is the route in question; the -.Fa dst -argument is the specific destination being manipulated -for -.Dv RTM_RESOLVE , -or a null pointer otherwise. +.Fa info +argument contains the specific destination being manipulated. .Sh FUNCTIONS The functions provided by the generic interface code can be divided into two groups: those which manipulate interfaces, and those which
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203070942.q279gJm8085445>