diff options
author | Yi Yang <yi.y.yang@intel.com> | 2017-08-28 21:43:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-29 15:16:52 -0700 |
commit | 1f0b7744c50573df464ca33d8e5275be509f852b (patch) | |
tree | 8927f991dd7cfb7c4477f8ec664a102127a5f37a /net/nsh | |
parent | fa20e0e32cb3dfc1760b6254b64977f2fb5bd851 (diff) | |
download | linux-1f0b7744c50573df464ca33d8e5275be509f852b.tar.bz2 |
net: add NSH header structures and helpers
NSH (Network Service Header)[1] is a new protocol for service
function chaining, it can be handled as a L3 protocol like
IPv4 and IPv6, Eth + NSH + Inner packet or VxLAN-gpe + NSH +
Inner packet are two typical use cases.
This patch adds NSH header structures and helpers for NSH GSO
support and Open vSwitch NSH support.
[1] https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/
[Jiri: added nsh_hdr() helper and renamed the header struct to "struct
nshhdr" to match the usual pattern. Removed packet type defines, these are
now shared with VXLAN-GPE.]
Signed-off-by: Yi Yang <yi.y.yang@intel.com>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nsh')
0 files changed, 0 insertions, 0 deletions