summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_var.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-01-24 08:25:59 +0000
committerbz <bz@FreeBSD.org>2008-01-24 08:25:59 +0000
commit1c376286e046dbe30549b705bd310d6218ffc824 (patch)
tree54dfe6089b6177f2bd726f05233e0c1a76433c3e /sys/netinet6/ip6_var.h
parentca561e0217663df7e35502550d299ef5f818e4e8 (diff)
downloadFreeBSD-src-1c376286e046dbe30549b705bd310d6218ffc824.zip
FreeBSD-src-1c376286e046dbe30549b705bd310d6218ffc824.tar.gz
Replace the last susers calls in netinet6/ with privilege checks.
Introduce a new privilege allowing to set certain IP header options (hop-by-hop, routing headers). Leave a few comments to be addressed later. Reviewed by: rwatson (older version, before addressing his comments)
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r--sys/netinet6/ip6_var.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h
index 1d34bfe..65707d6 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -367,7 +367,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));
+ struct ip6_pktopts *, struct ucred *, 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 *));
OpenPOWER on IntegriCloud