diff options
author | ume <ume@FreeBSD.org> | 2005-07-21 16:39:23 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-07-21 16:39:23 +0000 |
commit | 5960d35adee19b10a49567b65b0b57a4adc077bd (patch) | |
tree | a81f09d3e50491f99269ba11de9c7df1e790a970 /sys/netinet6/ip6_var.h | |
parent | 3969c485d9ac072bb7cc40918d3bf4c463ead835 (diff) | |
download | FreeBSD-src-5960d35adee19b10a49567b65b0b57a4adc077bd.zip FreeBSD-src-5960d35adee19b10a49567b65b0b57a4adc077bd.tar.gz |
always copy ip6_pktopt. remove needcopy and needfree
argument/structure member accordingly.
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r-- | sys/netinet6/ip6_var.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h index 7f2a862..090dc31 100644 --- a/sys/netinet6/ip6_var.h +++ b/sys/netinet6/ip6_var.h @@ -173,8 +173,6 @@ struct ip6_pktopts { #endif #define IP6PO_DONTFRAG 0x04 /* disable fragmentation (IPV6_DONTFRAG) */ #define IP6PO_USECOA 0x08 /* use care of address */ - - int needfree; /* members dynamically allocated */ }; /* @@ -368,7 +366,7 @@ int ip6_ctloutput __P((struct socket *, struct sockopt *)); int ip6_raw_ctloutput __P((struct socket *, struct sockopt *)); void ip6_initpktopts __P((struct ip6_pktopts *)); int ip6_setpktopts __P((struct mbuf *, struct ip6_pktopts *, - struct ip6_pktopts *, int, int, int)); + struct ip6_pktopts *, int, int)); void ip6_clearpktopts __P((struct ip6_pktopts *, int)); struct ip6_pktopts *ip6_copypktopts __P((struct ip6_pktopts *, int)); int ip6_optlen __P((struct inpcb *)); |