diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2017-04-14 10:06:42 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-04-14 10:06:42 +0200 |
commit | 383d0350f2cc5e5b3a2003c46e15c0b98432037b (patch) | |
tree | f4b07c11f388f014a9819147a17c4d4c63e6224b /include/net/esp.h | |
parent | esp4: Reorganize esp_output (diff) | |
download | linux-383d0350f2cc5e5b3a2003c46e15c0b98432037b.tar.xz linux-383d0350f2cc5e5b3a2003c46e15c0b98432037b.zip |
esp6: Reorganize esp_output
We need a fallback for ESP at layer 2, so split esp6_output
into generic functions that can be used at layer 3 and layer 2
and use them in esp_output. We also add esp6_xmit which is
used for the layer 2 fallback.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/esp.h')
-rw-r--r-- | include/net/esp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/esp.h b/include/net/esp.h index 411a49915f11..c41994d1bfef 100644 --- a/include/net/esp.h +++ b/include/net/esp.h @@ -26,4 +26,7 @@ struct esp_info { int esp_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp); int esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp); int esp_input_done2(struct sk_buff *skb, int err); +int esp6_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp); +int esp6_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp); +int esp6_input_done2(struct sk_buff *skb, int err); #endif |