Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 (Accidentally-omitted change): update for ip6_o...



details:   https://anonhg.NetBSD.org/src/rev/500063874aa4
branches:  trunk
changeset: 550841:500063874aa4
user:      jonathan <jonathan%NetBSD.org@localhost>
date:      Fri Aug 22 20:49:03 2003 +0000

description:
(Accidentally-omitted change): update for ip6_output() to match commit below.

replace the set_socket() method of passing an extra struct socket*
argument to ip6_output() with a new explicit struct in6pcb* argument.
(The underlying socket can be obtained via in6pcb->inp6_socket.)

In preparation for fast-ipsec.  Reviewed by itojun.

diffstat:

 sys/netinet6/ip6_var.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 2373608e2efb -r 500063874aa4 sys/netinet6/ip6_var.h
--- a/sys/netinet6/ip6_var.h    Fri Aug 22 20:29:00 2003 +0000
+++ b/sys/netinet6/ip6_var.h    Fri Aug 22 20:49:03 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_var.h,v 1.29 2003/08/07 16:33:29 agc Exp $ */
+/*     $NetBSD: ip6_var.h,v 1.30 2003/08/22 20:49:03 jonathan Exp $    */
 /*     $KAME: ip6_var.h,v 1.33 2000/06/11 14:59:20 jinmei Exp $        */
 
 /*
@@ -266,7 +266,8 @@
 void   ip6_mloopback __P((struct ifnet *, struct mbuf *, struct sockaddr_in6 *));
 int    ip6_output __P((struct mbuf *, struct ip6_pktopts *,
                        struct route_in6 *, int,
-                       struct ip6_moptions *, struct ifnet **));
+                       struct ip6_moptions *, struct in6pcb *,
+                       struct ifnet **));
 int    ip6_ctloutput __P((int, struct socket *, int, int, struct mbuf **));
 int    ip6_raw_ctloutput __P((int, struct socket *, int, int, struct mbuf **));
 int    ip6_setpktoptions __P((struct mbuf *, struct ip6_pktopts *, int));



Home | Main Index | Thread Index | Old Index