Julius R. Volz wrote:
+ /* mangle the packet */ + if (pp->dnat_handler_v6 && !pp->dnat_handler_v6(skb, pp, cp)) + goto tx_error; + ipv6_hdr(skb)->daddr = cp->daddr.v6;
ipv6_addr_copy().
+ /* + * Push down and install the IPIP header. + */ + iph = ipv6_hdr(skb); + iph->version = 6; + iph->nexthdr = IPPROTO_IPV6; + iph->payload_len = old_iph->payload_len + sizeof(old_iph); + iph->priority = old_iph->priority; + memset(&iph->flow_lbl, 0, sizeof(iph->flow_lbl)); + iph->daddr = rt->rt6i_dst.addr; + iph->saddr = cp->vaddr.v6; /* rt->rt6i_src.addr; */
ipv6_addr_copy(). -Brian -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html