aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh/nsh.h
AgeCommit message (Collapse)AuthorFilesLines
2018-06-02Bump master's JVPP version to 18.07HEADv18.10-rc0masterHongjun Ni1-0/+6
Change-Id: Ic74ff2da23facce1bf843f3df2ab30cbe2caeb77 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-09-29Add NSH TTL supportv18.01-rc0Hongjun Ni1-0/+1
Change-Id: Id2f8236cc997d08c53217fc92881b8bbf2c2f429 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-08-27NSH Plugin crashes VPP. NSHSFC-34Hongjun Ni1-0/+6
Change-Id: If7a3c3ebbbdc00a4ad351a056ebaacf9a9c237be Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-06-06Fix adj lookup failure for NSH over EthHongjun Ni1-0/+1
Change-Id: If5b090b7d03b3ad1567c9659cb235c6a54d438ae Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-06-01Fix NSH plugin loading issueHongjun Ni1-1/+1
Change-Id: Ica0e6080a4ebdb898590864b7d5ab1da16d656bd Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-05-24Add Eth as NSH transport. NSHSFC-31Hongjun Ni1-2/+7
Change-Id: Ie0bac56af68ba0b1b45baf9d9a5822fbc1b2c0ac Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-04-17Extend nsh map to support gre4 and gre6 tunnelHongjun Ni1-1/+2
Change-Id: I8c2384082b54a013209c325573edd3775f5eda78 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-04-03Changes for supoprting iOAM/ NSH export. Add a separate node for POP onlyVengada1-0/+5
handling to support iOAM export dynamic node. Change-Id: I411ee93ea3ec34ed24c18c1ba4b5dc1c9533e483 Signed-off-by: Vengada <venggovi@cisco.com>
2017-03-22NSHSFC-17 Enable NSH-aware SNATHongjun Ni1-0/+16
Configuration: set interface snat in nsh_tunnel0 out nsh_tunnel1 snat add static mapping local 192.168.50.72 external 10.0.35.1 Change-Id: I8e1bd5e3bea1ccaad03a1bba86eca3e98316df17 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-03-10Restructure code to support both md-type1 and md-type2Hongjun Ni1-32/+92
Basic support to both MD1 and MD2 MD1 configuration: create nsh entry nsp 185 nsi 255 md-type 1 c1 1 c2 2 c3 3 c4 4 next-ethernet MD2 configuration: create nsh entry nsp 185 nsi 254 md-type 2 pot next-ethernet Change-Id: Ide0fdc122d76cb6a55643a15febd985bd41981b0 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Vengada <venggovi@cisco.com>
2017-02-15Add NSH Egress Classifier featureHongjun Ni1-1/+1
Change-Id: Ib539f0f98ed03613429e0b6e952b7502f393c2b1 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-28register nodes using extern declaration in their respective headersGabriel Ganne1-5/+0
affects gre, vxlan4/6, vxlan-gpe4/6 Change-Id: I1acc2803262c62dd5d96a916d135f09523a32013 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2016-12-02Add NSH Classifier feature in NSH_SFCHongjun Ni1-4/+7
nsp and nsi is passed via vnet_buffer(b0)->l2_classify.opaque_index Change-Id: I8c58201b0ccbb10527adf78471d8d87cff50958a Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-01Add NSH-Proxy feature within NSH_SFCHongjun Ni1-9/+41
PatchSet 6: spit nsh_input to three node instances PatchSet 5: refactor NSH-Proxy PatchSet 4: Fix some issues PatchSet 3: get parameters from VPP via metadata PatchSet 2: Add FIXME Change-Id: I97448af867eb71554b8629f8da57a2ed6c6a3b8a Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-27Add NSH Entry error counterHongjun Ni1-0/+1
Change-Id: I4c0180ba52b50d8adad9cf1d0501a0cc2dd2fdb3 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-19Add nsh_action filed in nsh map APIHongjun Ni1-0/+9
In order to support SF, NSH Classifier, add nsh_action: swap|push|pop in nsh map API. Change-Id: I6e9eee13cbd2aa61e72420bfb4f74e9bb7bdfe4d Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-07-29Fix nsh_add_del_map issue with VATHongjun Ni1-3/+3
PatchSet 4: rebuild PatchSet 4: rebuild PatchSet 3: rebuild again PatchSet 2: rebuild Change-Id: Id8c10d65767a9d4eded63d7be6a87e2f87f383db Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-15NSHSFC-1 Initial move from VPP to NSH_SFCKeith Burns (alagalah)1-0/+130
- API is giving me some negative energy currently -- I'll work it out but wanted to publish both VPP-61 and this simultaneously Change-Id: I4a04b56dd470655114605621d0c44ea3c26bc069 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>