linux_old1/net/ipv6
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
..
netfilter [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
Kconfig [IPV6] ADDRCONF: Optimistic Duplicate Address Detection (RFC 4429) Support. 2007-04-25 22:23:43 -07:00
Makefile [IPV6]: Decentralize EXPORT_SYMBOLs. 2007-04-25 22:23:36 -07:00
addrconf.c [IPV6] ADDRCONF: Optimistic Duplicate Address Detection (RFC 4429) Support. 2007-04-25 22:23:43 -07:00
addrconf_core.c [IPV6]: Fix __ipv6_addr_type() export in correct place. 2007-02-26 11:42:57 -08:00
af_inet6.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
ah6.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
anycast.c [IPV6]: /proc/net/anycast6 unbalanced inet6_dev refcnt 2007-02-28 09:42:10 -08:00
datagram.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
esp6.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
exthdrs.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
exthdrs_core.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
fib6_rules.c [NET]: Fix fib_rules compatibility breakage 2007-03-25 18:48:00 -07:00
icmp.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
inet6_connection_sock.c [TCP]: Restore SKB socket owner setting in tcp_transmit_skb(). 2007-01-26 01:04:55 -08:00
inet6_hashtables.c [IPV6] HASHTABLES: Use appropriate seed for caluculating ehash index. 2007-02-12 20:26:39 -08:00
ip6_fib.c [IPV6]: Fix routing round-robin locking. 2007-03-25 18:48:05 -07:00
ip6_flowlabel.c [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
ip6_input.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
ip6_output.c [SK_BUFF]: Introduce skb_set_network_header 2007-04-25 22:25:01 -07:00
ip6_tunnel.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
ipcomp6.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
ipv6_sockglue.c [IPV6]: Ensure to truncate result and return full length for sticky options. 2007-04-25 22:24:17 -07:00
mcast.c [IPV6] ADDRCONF: Optimistic Duplicate Address Detection (RFC 4429) Support. 2007-04-25 22:23:43 -07:00
mip6.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
ndisc.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
netfilter.c [NETFILTER]: ip6_route_me_harder should take into account mark 2007-03-05 13:25:27 -08:00
proc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
protocol.c [IPV6]: Decentralize EXPORT_SYMBOLs. 2007-04-25 22:23:36 -07:00
raw.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
reassembly.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
route.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
sit.c [SK_BUFF]: Use skb_reset_network_header in skb_push cases 2007-04-25 22:24:47 -07:00
sysctl_net_ipv6.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
tcp_ipv6.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
tunnel6.c [IPSEC]: changing API of xfrm6_tunnel_register 2007-02-13 12:55:55 -08:00
udp.c [UDP]: ipv6 style cleanup 2007-04-25 22:24:08 -07:00
udp_impl.h [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
udplite.c [UDP]: Clean up UDP-Lite receive checksum 2007-04-25 22:23:51 -07:00
xfrm6_input.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
xfrm6_mode_beet.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
xfrm6_mode_ro.c [IPSEC]: output mode to take an xfrm state as input param 2006-09-22 15:18:48 -07:00
xfrm6_mode_transport.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
xfrm6_mode_tunnel.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
xfrm6_output.c [SK_BUFF]: Introduce skb_reset_network_header(skb) 2007-04-25 22:24:46 -07:00
xfrm6_policy.c [SK_BUFF]: Introduce skb_network_header() 2007-04-25 22:24:59 -07:00
xfrm6_state.c [NET] IPV6: Fix whitespace errors. 2007-02-10 23:19:42 -08:00
xfrm6_tunnel.c [NET]: fix up misplaced inlines. 2007-03-22 12:27:49 -07:00