commit | 7862b4058b9f10c9177f347e7d981511bac87213 | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Fri Apr 14 10:06:50 2017 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Fri Apr 14 10:06:50 2017 +0200 |
tree | a33689f6215116d81214287c8c9b8944ea0e0323 | |
parent | 383d0350f2cc5e5b3a2003c46e15c0b98432037b [diff] |
esp: Add gso handlers for esp4 and esp6 This patch extends the xfrm_type by an encap function pointer and implements esp4_gso_encap and esp6_gso_encap. These functions doing the basic esp encapsulation for a GSO packet. In case the GSO packet needs to be segmented in software, we add gso_segment functions. This codepath is going to be used on esp hardware offloads. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>