]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e8186d73c6224bdc22b7d7d22c8ba36e92ab6d4
tree93d4136738152f6e02ef98d23cbf537ca531fa9e
parent0dc61818c4b5fea4d8c9c1b02d796edaf80738ad
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