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-06 19:25:06 -06:00
2008-01-28 14:57:23 -08:00
2008-01-28 15:08:10 -08:00
2007-10-10 16:53:11 -07:00
2006-12-02 21:22:55 -08:00
2007-10-10 16:53:56 -07:00
2008-02-29 11:14:50 -08:00
2008-01-28 15:08:48 -08:00
2008-01-28 15:01:08 -08:00
2008-01-28 14:53:47 -08:00
2008-02-29 11:46:17 -08:00
2006-03-20 22:59:36 -08:00
2008-01-28 15:11:09 -08:00
2007-10-07 23:44:17 -07:00