inet: constify ip headers and in6_addr
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 22 Apr 2011 04:53:02 +0000 (04:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Apr 2011 18:04:14 +0000 (11:04 -0700)
commitb71d1d426d263b0b6cb5760322efebbfc89d4463
tree226ca7390bd6187ec9139d2ccedd26fd94d8e57a
parent5f8629c526b4f7e529a6d27bbd802c0dc7fcc357
inet: constify ip headers and in6_addr

Add const qualifiers to structs iphdr, ipv6hdr and in6_addr pointers
where possible, to make code intention more obvious.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
64 files changed:
include/net/addrconf.h
include/net/if_inet6.h
include/net/inetpeer.h
include/net/ip6_fib.h
include/net/ip6_route.h
include/net/ipv6.h
include/net/ndisc.h
include/net/route.h
include/net/xfrm.h
net/bridge/br_multicast.c
net/bridge/br_netfilter.c
net/core/dev.c
net/core/netpoll.c
net/dccp/ipv6.c
net/ipv4/af_inet.c
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv4/icmp.c
net/ipv4/inet_diag.c
net/ipv4/inet_lro.c
net/ipv4/ip_gre.c
net/ipv4/ip_input.c
net/ipv4/ip_sockglue.c
net/ipv4/ipcomp.c
net/ipv4/ipip.c
net/ipv4/ipmr.c
net/ipv4/netfilter/nf_nat_helper.c
net/ipv4/raw.c
net/ipv4/route.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c
net/ipv4/xfrm4_policy.c
net/ipv4/xfrm4_state.c
net/ipv6/addrconf.c
net/ipv6/af_inet6.c
net/ipv6/anycast.c
net/ipv6/esp6.c
net/ipv6/icmp.c
net/ipv6/ip6_fib.c
net/ipv6/ip6_input.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6mr.c
net/ipv6/ipcomp6.c
net/ipv6/mcast.c
net/ipv6/mip6.c
net/ipv6/ndisc.c
net/ipv6/netfilter.c
net/ipv6/raw.c
net/ipv6/reassembly.c
net/ipv6/route.c
net/ipv6/sit.c
net/ipv6/syncookies.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/ipv6/xfrm6_mode_beet.c
net/ipv6/xfrm6_mode_tunnel.c
net/ipv6/xfrm6_policy.c
net/ipv6/xfrm6_tunnel.c
net/key/af_key.c
net/sched/sch_sfq.c
net/sctp/input.c
net/sctp/ipv6.c
net/xfrm/xfrm_state.c