original_kernel/drivers/s390/net
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
..
Kconfig
Makefile
claw.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
claw.h
ctcdbug.c
ctcdbug.h
ctcmain.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
ctcmain.h
cu3088.c
cu3088.h
fsm.c
fsm.h
lcs.c [HIPPI/FDDI]: Make {hippi,fddi}_type_trans set skb->dev 2007-04-25 22:24:26 -07:00
lcs.h
netiucv.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
qeth.h
qeth_eddp.c [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
qeth_eddp.h
qeth_fs.h
qeth_main.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
qeth_mpc.c
qeth_mpc.h
qeth_proc.c
qeth_sys.c
qeth_tso.h
smsgiucv.c
smsgiucv.h