linux/net/ipv4/ipvs
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
ip_vs_app.c [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
ip_vs_conn.c
ip_vs_core.c [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
ip_vs_ctl.c
ip_vs_dh.c
ip_vs_est.c
ip_vs_ftp.c
ip_vs_lblc.c
ip_vs_lblcr.c
ip_vs_lc.c
ip_vs_nq.c
ip_vs_proto.c
ip_vs_proto_ah.c
ip_vs_proto_esp.c
ip_vs_proto_tcp.c [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
ip_vs_proto_udp.c [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
ip_vs_rr.c
ip_vs_sched.c
ip_vs_sed.c
ip_vs_sh.c
ip_vs_sync.c
ip_vs_wlc.c
ip_vs_wrr.c
ip_vs_xmit.c