ip_gre: Refector the erpsan tunnel code.

Move two erspan functions to header file, erspan.h, so ipv6
erspan implementation can use it.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
William Tu 2017-11-30 11:51:27 -08:00 • committed by David S. Miller
commit a3222dc95c
2 changed files with 56 additions and 49 deletions