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-01-28 15:11:21 -08:00
2008-01-28 15:11:23 -08:00
2008-01-28 15:11:23 -08:00
2008-01-28 15:11:23 -08:00
2008-01-28 15:11:23 -08:00
2008-01-28 15:11:23 -08:00
2008-01-28 15:11:23 -08:00
2008-01-28 15:11:23 -08:00
2008-01-31 19:28:34 -08:00
2008-01-31 19:28:34 -08:00
2008-02-05 16:21:04 -08:00
2008-01-31 19:28:34 -08:00
2008-01-31 19:28:34 -08:00
2008-01-28 15:11:23 -08:00
2008-01-31 19:28:34 -08:00
2008-01-31 19:28:34 -08:00
2008-03-05 18:30:47 -08:00
2008-01-28 15:11:11 -08:00
2008-02-10 03:48:15 -08:00
2008-01-31 19:28:36 -08:00
2008-01-31 19:28:36 -08:00
2008-01-28 15:11:21 -08:00
2008-01-28 15:11:22 -08:00
2008-01-28 14:53:58 -08:00
2008-01-28 15:11:22 -08:00
2008-01-28 15:11:22 -08:00
2008-01-28 15:11:10 -08:00
2008-01-28 15:11:10 -08:00
2008-01-28 15:11:22 -08:00
2008-01-28 15:11:22 -08:00
2008-02-09 23:44:00 -08:00
2008-01-31 19:28:25 -08:00
2008-01-28 15:11:22 -08:00
2008-01-28 15:11:18 -08:00
2008-01-28 15:11:22 -08:00
2008-01-31 19:28:35 -08:00
2008-01-28 15:11:22 -08:00
2008-01-31 19:28:29 -08:00