ip6_output.c (0afdd676f6e575478634d961286094169adbc50d) ip6_output.c (3dd1c9a1270736029ffca670e9bd0265f4120600)
1/*
2 * IPv6 output functions
3 * Linux INET6 implementation
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * Based on linux/net/ipv4/ip_output.c

--- 556 unchanged lines hidden (view full) ---

565 to->pkt_type = from->pkt_type;
566 to->priority = from->priority;
567 to->protocol = from->protocol;
568 skb_dst_drop(to);
569 skb_dst_set(to, dst_clone(skb_dst(from)));
570 to->dev = from->dev;
571 to->mark = from->mark;
572
1/*
2 * IPv6 output functions
3 * Linux INET6 implementation
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * Based on linux/net/ipv4/ip_output.c

--- 556 unchanged lines hidden (view full) ---

565 to->pkt_type = from->pkt_type;
566 to->priority = from->priority;
567 to->protocol = from->protocol;
568 skb_dst_drop(to);
569 skb_dst_set(to, dst_clone(skb_dst(from)));
570 to->dev = from->dev;
571 to->mark = from->mark;
572
573 skb_copy_hash(to, from);
574
573#ifdef CONFIG_NET_SCHED
574 to->tc_index = from->tc_index;
575#endif
576 nf_copy(to, from);
577 skb_copy_secmark(to, from);
578}
579
580int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,

--- 1206 unchanged lines hidden ---
575#ifdef CONFIG_NET_SCHED
576 to->tc_index = from->tc_index;
577#endif
578 nf_copy(to, from);
579 skb_copy_secmark(to, from);
580}
581
582int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,

--- 1206 unchanged lines hidden ---