lvs-devel
|
To: | "Julius R. Volz" <juliusv@xxxxxxxxxx> |
---|---|
Subject: | Re: [PATCH 16/26] IPVS: Add IPv6 xmit forwarding functions. |
Cc: | lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, horms@xxxxxxxxxxxx, davem@xxxxxxxxxxxxx, vbusam@xxxxxxxxxx |
From: | Brian Haley <brian.haley@xxxxxx> |
Date: | Wed, 11 Jun 2008 21:55:09 -0400 |
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 |
Previous by Date: | Re: [PATCH 02/26] IPVS: Change IPVS data structures to support IPv6 addresses., Brian Haley |
---|---|
Next by Date: | Re: [PATCH 24/26] IPVS: Add IPv6 support to userspace interface., Brian Haley |
Previous by Thread: | [PATCH 16/26] IPVS: Add IPv6 xmit forwarding functions., Julius R. Volz |
Next by Thread: | [PATCH 12/26] IPVS: Extend proto handler debug functions to handle IPv6., Julius R. Volz |
Indexes: | [Date] [Thread] [Top] [All Lists] |