diff options
| author | Tom Herbert <[email protected]> | 2014-11-04 17:06:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-11-05 21:30:02 +0000 |
| commit | 63487babf08d6d67483c67ed21d8cea6674a44ec (patch) | |
| tree | f0e11d54e33a689a25bed43f7bd3c720b49a6bcd /net/unix/af_unix.c | |
| parent | Merge branch 'stmmac-next' (diff) | |
| download | kernel-63487babf08d6d67483c67ed21d8cea6674a44ec.tar.gz kernel-63487babf08d6d67483c67ed21d8cea6674a44ec.zip | |
net: Move fou_build_header into fou.c and refactor
Move fou_build_header out of ip_tunnel.c and into fou.c splitting
it up into fou_build_header, gue_build_header, and fou_build_udp.
This allows for other users for TX of FOU or GUE. Change ip_tunnel_encap
to call fou_build_header or gue_build_header based on the tunnel
encapsulation type. Similarly, added fou_encap_hlen and gue_encap_hlen
functions which are called by ip_encap_hlen. New net/fou.h has
prototypes and defines for this.
Added NET_FOU_IP_TUNNELS configuration. When this is set, IP tunnels
can use FOU/GUE and fou module is also selected.
Signed-off-by: Tom Herbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
