net: Use standard structures for generic socket address structures.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Sun, 20 Jul 2008 05:35:47 +0000 (22:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Jul 2008 05:35:47 +0000 (22:35 -0700)
commit230b183921ecbaa5fedc0d35ad6ba7bb64b6e06a
tree2ea0a3bde5deab4b90ca9ed58e23b020494f25a0
parent53b7997fd5c62408d10b9aafb38974ce90fd2356
net: Use standard structures for generic socket address structures.

Use sockaddr_storage{} for generic socket address storage
and ensures proper alignment.
Use sockaddr{} for pointers to omit several casts.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/socket.h
include/net/compat.h
net/compat.c
net/core/iovec.c
net/socket.c