diff options
author | Tom Herbert <tom@herbertland.com> | 2016-04-30 00:12:16 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-02 23:23:31 (GMT) |
commit | 95f5c64c3c13a609e137d35c4b452519e0b954df (patch) | |
tree | a01c464cb5ff29e77e546881b69f8f541bf22861 /net/netlink | |
parent | 0d3c703a9d1723c7707e0680019ac8ff5922db42 (diff) | |
download | linux-95f5c64c3c13a609e137d35c4b452519e0b954df.tar.xz |
gre: Move utility functions to common headers
Several of the GRE functions defined in net/ipv4/ip_gre.c are usable
for IPv6 GRE implementation (that is they are protocol agnostic).
These include:
- GRE flag handling functions are move to gre.h
- GRE build_header is moved to gre.h and renamed gre_build_header
- parse_gre_header is moved to gre_demux.c and renamed gre_parse_header
- iptunnel_pull_header is taken out of gre_parse_header. This is now
done by caller. The header length is returned from gre_parse_header
in an int* argument.
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions