diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-04-14 09:06:43 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-04-14 09:06:43 +0000 |
commit | 54617071ea9f9eb023d9167cbe7bfdb60e27aad3 (patch) | |
tree | 2218c953c0e2eb6e811932a00c47f0aaa1891483 /share/man/man9/mbuf.9 | |
parent | b2b037dc36001ccef4f7d611af54e498fb846fcc (diff) |
"struct pkthdr" holds a routing table ID, not a routing domain one.
Avoid the confusion by using an appropriate name for the variable.
Note that since routing domain IDs are a subset of the set of routing
table IDs, the following idiom is correct:
rtableid = rdomain
But to get the routing domain ID corresponding to a given routing table
ID, you must call rtable_l2(9).
claudio@ likes it, ok mikeb@
Diffstat (limited to 'share/man/man9/mbuf.9')
-rw-r--r-- | share/man/man9/mbuf.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 18d7392bac9..70e9e1e5890 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbuf.9,v 1.70 2014/03/27 10:30:58 mpi Exp $ +.\" $OpenBSD: mbuf.9,v 1.71 2014/04/14 09:06:41 mpi Exp $ .\" .\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org> .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2014 $ +.Dd $Mdocdate: April 14 2014 $ .Dt MBUF 9 .Os .Sh NAME @@ -118,7 +118,7 @@ struct pkthdr { u_int16_t pad; u_int16_t csum_flags; u_int16_t ether_vtag; - u_int rdomain; + u_int ph_rtableid; void *ph_cookie; struct pkthdr_pf pf; }; |