version 1.49, 2003/08/22 21:53:09 |
version 1.50, 2003/08/22 22:00:40 |
Line 503 nd6_ns_output(ifp, daddr6, taddr6, ln, d |
|
Line 503 nd6_ns_output(ifp, daddr6, taddr6, ln, d |
|
nd_ns->nd_ns_cksum = |
nd_ns->nd_ns_cksum = |
in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), icmp6len); |
in6_cksum(m, IPPROTO_ICMPV6, sizeof(*ip6), icmp6len); |
|
|
#ifdef IPSEC |
|
/* Don't lookup socket */ |
|
(void)ipsec_setsocket(m, NULL); |
|
#endif |
|
ip6_output(m, NULL, &ro, dad ? IPV6_UNSPECSRC : 0, |
ip6_output(m, NULL, &ro, dad ? IPV6_UNSPECSRC : 0, |
&im6o, (struct socket *)NULL, NULL); |
&im6o, (struct socket *)NULL, NULL); |
icmp6_ifstat_inc(ifp, ifs6_out_msg); |
icmp6_ifstat_inc(ifp, ifs6_out_msg); |
Line 972 nd6_na_output(ifp, daddr6, taddr6, flags |
|
Line 968 nd6_na_output(ifp, daddr6, taddr6, flags |
|
nd_na->nd_na_cksum = |
nd_na->nd_na_cksum = |
in6_cksum(m, IPPROTO_ICMPV6, sizeof(struct ip6_hdr), icmp6len); |
in6_cksum(m, IPPROTO_ICMPV6, sizeof(struct ip6_hdr), icmp6len); |
|
|
#ifdef IPSEC |
|
/* Don't lookup socket */ |
|
(void)ipsec_setsocket(m, NULL); |
|
#endif |
|
ip6_output(m, NULL, NULL, 0, &im6o, (struct socket *)NULL, NULL); |
ip6_output(m, NULL, NULL, 0, &im6o, (struct socket *)NULL, NULL); |
|
|
icmp6_ifstat_inc(ifp, ifs6_out_msg); |
icmp6_ifstat_inc(ifp, ifs6_out_msg); |