Eric Dumazet ee6b967301 [IPV4]: Add 'rtable' field in struct sk_buff to alias 'dst' and avoid casts
(Anonymous) unions can help us to avoid ugly casts.

A common cast it the (struct rtable *)skb->dst one.

Defining an union like  :
union {
     struct dst_entry *dst;
     struct rtable *rtable;
};
permits to use skb->rtable in place.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-03-05 18:30:47 -08:00
..
2008-02-07 18:05:04 -08:00
2008-03-05 12:37:29 -08:00
2008-03-03 12:12:33 -08:00
2008-03-04 18:36:35 -05:00
2008-01-28 15:02:44 -08:00
2008-02-14 21:13:33 -08:00
2008-01-28 14:54:10 -08:00
2008-01-28 14:56:29 -08:00
2005-04-16 15:20:36 -07:00