gue: Receive side for Generic UDP Encapsulation
authorTom Herbert <therbert@google.com>
Fri, 3 Oct 2014 22:48:09 +0000 (15:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Oct 2014 23:53:33 +0000 (16:53 -0700)
commit37dd0247797b168ad1cc7f5dbec825a1ee66535b
tree93d4136738152f6e02ef98d23cbf537ca531fa9e
parentefc98d08e1ec4fd131f794370b274dceaf32c958
gue: Receive side for Generic UDP Encapsulation

This patch adds support receiving for GUE packets in the fou module. The
fou module now supports direct foo-over-udp (no encapsulation header)
and GUE. To support this a type parameter is added to the fou netlink
parameters.

For a GUE socket we define gue_udp_recv, gue_gro_receive, and
gue_gro_complete to handle the specifics of the GUE protocol. Most
of the code to manage and configure sockets is common with the fou.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/gue.h [new file with mode: 0644]
include/uapi/linux/fou.h
net/ipv4/fou.c