summaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2015-01-05 22:56:15 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-06 04:44:46 +0100
commitc44d13d6f341ca59f3d6646f2337d4d3c8a814a6 (patch)
tree03e510be58acdf0ff3aa10cc5f5366f51343f22b /net/ipv4/udp.c
parentip: Move checksum convert defines to inet (diff)
downloadlinux-c44d13d6f341ca59f3d6646f2337d4d3c8a814a6.tar.xz
linux-c44d13d6f341ca59f3d6646f2337d4d3c8a814a6.zip
ip: IP cmsg cleanup
Move the IP_CMSG_* constants from ip_sockglue.c to inet_sock.h so that they can be referenced in other source files. Restructure ip_cmsg_recv to not go through flags using shift, check for flags by 'and'. This eliminates both the shift and a conditional per flag check. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions