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-13 16:37:54 -07:00
2007-04-25 22:24:59 -07:00
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:25:07 -07:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:25:07 -07:00
2007-02-14 08:09:54 -08:00
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-02-14 08:09:54 -08:00
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:25:07 -07:00
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:25:07 -07:00
2007-04-25 22:23:34 -07:00
2007-04-25 22:25:07 -07:00
2007-04-10 13:26:48 -07:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:24:41 -07:00
2007-02-12 09:48:46 -08:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:24:41 -07:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:25:07 -07:00
2007-02-12 11:15:02 -08:00
2007-02-12 09:48:46 -08:00
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:25:07 -07:00
2007-04-25 22:25:07 -07:00
2007-03-05 13:25:19 -08:00
2007-03-05 13:25:19 -08:00
2007-03-05 13:25:19 -08:00
2007-03-05 13:25:19 -08:00
2007-04-25 22:25:07 -07:00
2007-04-25 22:25:07 -07:00