diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-25 06:40:53 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-25 06:40:53 +0000 |
commit | d1d494fdf605ce90fb01d950dfd9589a1fdba75d (patch) | |
tree | e338c4f5eaef6e1e3949aa43d6327c7603dc2f2f /share/man/man9 | |
parent | d39bc7d4aec7e480f98bf4f8841e5bba9253aab1 (diff) |
Mention M_COPY_HDR/M_COPY_PKTHDR vs. M_DUP_HDR/M_DUP_PKTHDR wrt. tags
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/mbuf_tags.9 | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/share/man/man9/mbuf_tags.9 b/share/man/man9/mbuf_tags.9 index 84e090b42a5..5fd09d3ef16 100644 --- a/share/man/man9/mbuf_tags.9 +++ b/share/man/man9/mbuf_tags.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbuf_tags.9,v 1.4 2001/06/25 06:37:04 angelos Exp $ +.\" $OpenBSD: mbuf_tags.9,v 1.5 2001/06/25 06:40:52 angelos Exp $ .\" .\" The author of this man page is Angelos D. Keromytis (angelos@cis.upenn.edu) .\" @@ -243,7 +243,21 @@ returns the tag following .Va tag in packet .Va mbuf . -.Sh CODE REFERENCS +.Pp +The +.Fn M_COPY_PKTHDR +and +.Fn M_COPY_HDR +macros defined in +.Pa sys/sys/mbuf.h +move the tags from the old to the new mbuf. +The +.Fn M_DUP_PKTHDR +and +.Fn M_DUP_HDR +create a new copy of the tag chain for the new mbuf. +.Pp +.Sh CODE REFERENCES The tag-manipulating code is contained in the file .Pa sys/kern/uipc_mbuf2.c . .Sh SEE ALSO |