diff options
| author | Yi Yang <[email protected]> | 2017-08-28 19:43:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-29 22:16:52 +0000 |
| commit | 1f0b7744c50573df464ca33d8e5275be509f852b (patch) | |
| tree | 8927f991dd7cfb7c4477f8ec664a102127a5f37a /net/nsh/nsh.c | |
| parent | vxlan: factor out VXLAN-GPE next protocol (diff) | |
| download | kernel-1f0b7744c50573df464ca33d8e5275be509f852b.tar.gz kernel-1f0b7744c50573df464ca33d8e5275be509f852b.zip | |
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 <[email protected]>
Signed-off-by: Jiri Benc <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
