diff options
author | bz <bz@FreeBSD.org> | 2008-07-08 18:41:36 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-07-08 18:41:36 +0000 |
commit | 13896f2e515ce1d974657ebcd1f50dad4c106a06 (patch) | |
tree | cc4ffd912f153cf70830eb1ad609788e2d3190c8 /sys/netinet6/ip6_var.h | |
parent | 2d2c0669861c1461f6afa4e816ec9902ac23f402 (diff) | |
download | FreeBSD-src-13896f2e515ce1d974657ebcd1f50dad4c106a06.zip FreeBSD-src-13896f2e515ce1d974657ebcd1f50dad4c106a06.tar.gz |
Change the parameters to in6_selectsrc():
- pass in the inp instead of both in6p_moptions and laddr.
- pass in cred for upcoming prison checks.
Reviewed by: rwatson
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r-- | sys/netinet6/ip6_var.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h index dd6a384..2370737 100644 --- a/sys/netinet6/ip6_var.h +++ b/sys/netinet6/ip6_var.h @@ -391,9 +391,9 @@ int rip6_usrreq __P((struct socket *, int dest6_input __P((struct mbuf **, int *, int)); int none_input __P((struct mbuf **, int *, int)); -struct in6_addr *in6_selectsrc __P((struct sockaddr_in6 *, - struct ip6_pktopts *, struct ip6_moptions *, struct route_in6 *, - struct in6_addr *, struct ifnet **, int *)); +struct in6_addr *in6_selectsrc __P((struct sockaddr_in6 *, struct ip6_pktopts *, + struct inpcb *inp, struct route_in6 *, struct ucred *cred, + struct ifnet **, int *)); int in6_selectroute __P((struct sockaddr_in6 *, struct ip6_pktopts *, struct ip6_moptions *, struct route_in6 *, struct ifnet **, struct rtentry **, int)); |