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-19 16:25:30 -08:00
2008-01-31 19:28:31 -08:00
2008-02-28 14:14:58 -08:00
2008-02-29 11:38:24 -08:00
2008-02-29 11:37:02 -08:00
2008-02-17 22:31:19 -08:00
2008-03-03 12:18:55 -08:00
2008-03-05 18:30:47 -08:00
2008-02-07 18:05:04 -08:00
2008-03-05 12:26:41 -08:00
2008-03-05 18:30:47 -08:00
2008-02-29 11:38:24 -08:00
2008-01-28 14:53:35 -08:00
2008-01-28 15:00:05 -08:00
2008-01-28 15:08:48 -08:00
2008-03-05 18:30:47 -08:00
2008-03-05 12:37:29 -08:00
2008-02-28 14:06:14 -08:00
2008-02-29 10:34:45 -08:00
2008-03-03 12:12:33 -08:00
2008-03-03 23:40:12 -08:00
2008-01-28 14:56:52 -08:00
2008-02-28 14:08:54 -08:00
2008-03-04 18:36:35 -05:00
2008-03-05 18:30:47 -08:00
2008-02-17 22:33:57 -08:00
2008-02-29 11:18:32 -08:00
2008-01-28 15:01:07 -08:00
2008-01-28 15:00:48 -08:00
2008-02-23 10:40:04 -08:00
2008-01-28 15:02:44 -08:00
2008-02-29 11:39:17 -08:00
2008-03-05 18:30:47 -08:00
2008-03-05 18:30:47 -08:00
2008-02-28 14:00:59 -08:00
2008-03-03 23:35:53 -08:00
2008-02-14 21:13:33 -08:00
2008-02-28 14:15:56 -08:00
2008-02-29 15:37:25 -05:00
2008-02-28 14:16:33 -08:00
2008-02-28 21:31:08 -08:00
2008-01-28 14:58:36 -08:00
2008-03-04 15:18:22 +09:00
2008-01-28 14:54:10 -08:00
2006-03-28 09:16:06 -08:00
2008-02-15 02:35:45 -08:00
2008-01-28 14:56:29 -08:00
2005-04-16 15:20:36 -07:00