original_kernel/drivers
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
..
acorn
acpi
amba
ata
atm [ATM] ENI: Convert to struct timeval to ktime_t. 2007-04-25 22:23:46 -07:00
auxdisplay
base
block [SK_BUFF]: Introduce skb_reset_network_header(skb) 2007-04-25 22:24:46 -07:00
bluetooth
cdrom
char [TCP/DCCP/RANDOM]: Remove unused exports. 2007-04-25 22:24:03 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firmware
hid
hwmon
i2c
ide
ieee1394 [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
infiniband [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
input
isdn [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
kvm
leds
macintosh
mca
md
media [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
message [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
mfd
misc
mmc
mtd
net [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
nubus
oprofile
parisc
parport
pci
pcmcia
pnp
ps3
rapidio
rtc
s390 [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
sbus
scsi
serial 8250: fix possible deadlock between serial8250_handle_port() and serial8250_interrupt() 2007-04-24 08:23:09 -07:00
sh
sn
spi
tc
telephony
usb [ETH]: Make eth_type_trans set skb->dev like the other *_type_trans 2007-04-25 22:24:30 -07:00
video
w1
zorro
Kconfig
Makefile