Arnaldo Carvalho de Melo
c9bdd4b525
[IP]: Introduce ip_hdrlen()
...
For the common sequence "skb->nh.iph->ihl * 4", removing a good number of open
coded skb->nh.iph uses, now to go after the rest...
Just out of curiosity, here are the idioms found to get the same result:
skb->nh.iph->ihl << 2
skb->nh.iph->ihl<<2
skb->nh.iph->ihl * 4
skb->nh.iph->ihl*4
(skb->nh.iph)->ihl * sizeof(u32)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:25:07 -07:00
..
2007-04-25 22:25:07 -07:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:24:59 -07:00
2007-04-25 22:24:59 -07:00
2007-04-25 22:25:03 -07:00
2007-04-25 22:24:11 -07:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:24:11 -07:00
2007-04-25 22:24:59 -07:00
2007-04-25 13:07:28 -07:00
2007-04-25 22:25:03 -07:00
2006-09-28 18:02:23 -07:00
2007-03-25 18:48:00 -07:00
2007-03-25 18:48:03 -07:00
2007-04-25 22:25:03 -07:00
2007-04-25 22:24:59 -07:00
2007-04-25 22:25:03 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-08 14:16:46 -08:00
2007-04-25 22:23:49 -07:00
2007-02-14 08:09:54 -08:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:24:49 -07:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:24:59 -07:00
2007-04-25 22:25:01 -07:00
2007-04-25 22:24:59 -07:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:24:52 -07:00
2007-04-25 22:24:47 -07:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:23:18 -07:00
2007-04-25 22:23:18 -07:00
2007-02-14 08:09:54 -08:00
2007-02-26 11:43:00 -08:00
2007-02-14 08:09:54 -08:00
2007-02-26 11:43:00 -08:00
2005-04-16 15:20:36 -07:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-14 08:09:54 -08:00
2007-04-25 22:25:03 -07:00
2007-04-25 22:25:03 -07:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:23:23 -07:00
2006-09-22 15:18:04 -07:00
2007-04-25 22:23:19 -07:00
2007-04-25 22:23:47 -07:00
2006-06-30 19:25:36 +02:00
2007-02-10 23:19:39 -08:00
2007-02-12 13:34:03 -08:00
2007-04-25 22:24:13 -07:00
2007-04-25 22:25:01 -07:00
2007-04-25 22:24:02 -07:00
2006-09-28 18:03:07 -07:00
2007-04-25 22:24:13 -07:00
2007-04-25 22:24:13 -07:00
2007-02-12 09:48:46 -08:00
2006-06-30 19:25:36 +02:00
2007-04-25 22:24:02 -07:00
2007-02-10 23:19:39 -08:00
2006-09-22 15:18:13 -07:00
2007-04-25 22:24:13 -07:00
2007-04-25 22:23:48 -07:00
2007-04-25 22:23:33 -07:00
2007-04-25 22:24:02 -07:00
2007-02-13 12:54:47 -08:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:24:20 -07:00
2007-04-25 22:23:51 -07:00
2007-04-25 22:24:59 -07:00
2007-04-25 22:24:59 -07:00
2007-04-25 22:24:59 -07:00
2007-04-25 22:24:47 -07:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:24:59 -07:00
2007-02-08 12:39:00 -08:00
2007-02-13 12:54:47 -08:00