commit | 182a352d2d5e0b435f7856c0cc23d467dcec55ef | [log] [tgz] |
---|---|---|
author | Tom Herbert <tom@herbertland.com> | Fri Apr 29 17:12:19 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 02 19:23:31 2016 -0400 |
tree | e523a1f200325dd0ec9d0b25b769f06920c65808 | |
parent | 8eb30be0352d09165e94a41fef1c7b994dca0714 [diff] |
gre: Create common functions for transmit Create common functions for both IPv4 and IPv6 GRE in transmit. These are put into gre.h. Common functions are for: - GRE checksum calculation. Move gre_checksum to gre.h. - Building a GRE header. Move GRE build_header and rename gre_build_header. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>