Displaying 1 result from an estimated 1 matches for "top_iphv6".
Did you mean:
top_iphv4
2008 Sep 12
4
Custom build kernel patch fails big time.
...}
+/* jk: this should be moved to the beet module! */
+static int xfrm4_beet_output(struct sk_buff *skb)
+{
+ struct dst_entry *dst = skb->dst;
+ struct xfrm_state *x = dst->xfrm;
+ int hdrlen;
+ struct iphdr *iphv4, *top_iphv4;
+ struct ipv6hdr *iphv6, *top_iphv6;
+
+ if (skb->nh.iph->version == 4) {
+
+ int optlen;
+
+ /* 4-4 */
+
+ iphv4 = skb->nh.iph;
+ skb->h.ipiph = iphv4;
+
+ hdrlen = x->props.header_len;
+
+...