1
linux/drivers/net/netxen
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
..
Makefile
netxen_nic_ethtool.c NetXen: Fix softlockup seen during hardware access 2007-03-15 10:59:54 -04:00
netxen_nic_hdr.h [PATCH] NetXen: whitespace cleaup and more cleanup fixes 2006-12-04 18:36:03 -05:00
netxen_nic_hw.c [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
netxen_nic_hw.h netxen patches 2007-01-31 04:59:08 -05:00
netxen_nic_init.c [ETH]: Make eth_type_trans set skb->dev like the other *_type_trans 2007-04-25 22:24:30 -07:00
netxen_nic_isr.c netxen patches 2007-01-31 04:59:08 -05:00
netxen_nic_main.c [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
netxen_nic_niu.c NetXen: Fixes for ppc architecture. 2007-02-09 16:09:46 -05:00
netxen_nic_phan_reg.h NetXen: Updates, removal of unsupported features and minor bug fixes. 2007-03-02 20:02:28 -05:00
netxen_nic.h NetXen: Fix softlockup seen during hardware access 2007-03-15 10:59:54 -04:00