summaryrefslogtreecommitdiffstats
path: root/src/vnet/mpls
AgeCommit message (Expand)AuthorFilesLines
2019-02-14Add -fno-common compile optionBenoƮt Ganne1-1/+1
2019-01-30MPLS tunnel; fix crash when deleting non-existant pathNeale Ranns1-0/+3
2019-01-25MPLS-tunnel: show output to display the tunnel name correctlyNeale Ranns1-1/+1
2018-12-20FIB: encode the label stack in the FIB path during table dumpNeale Ranns1-1/+2
2018-12-04MPLS: buffer over-run with incorrectly init'd vector. fix VAT dumpNeale Ranns1-1/+1
2018-11-26Add a feature arc consistency checkDave Barach1-0/+2
2018-10-23c11 safe string handling supportDave Barach3-7/+7
2018-10-04Fix handling of mpls_tunnel_add_del APIJohn Lo1-2/+16
2018-09-26MPLS tunnel dump: use sw_if_index not tunnel_indexNeale Ranns4-16/+33
2018-09-25MPLS tunnel dump fixNeale Ranns3-4/+8
2018-09-24Trivial: Clean up some typos.Paul Vinciguerra1-1/+1
2018-09-20Route counters in the stats segmentNeale Ranns2-30/+47
2018-09-14BIER API and load-balancing fixesNeale Ranns1-0/+5
2018-08-30SR-MPLS: fixes and testsNeale Ranns2-0/+10
2018-08-29Consolidate table->index conversion in fib-path CLI processingNeale Ranns1-19/+0
2018-08-27MPLS: allow 16 as a valid output labelNeale Ranns1-1/+1
2018-08-24MPLS tunnel: don't reuse hw-indicesNeale Ranns1-27/+15
2018-08-03loop counter to prevent infiinte number of look ups per-packetNeale Ranns2-1/+9
2018-07-30FIB: return entry prefix by const reference to avoid the copyNeale Ranns1-9/+7
2018-07-23fix vector index range checksEyal Bari2-2/+2
2018-07-20IP directed broadcastNeale Ranns1-0/+1
2018-06-26node functions cannot be always_inlineDamjan Marion1-1/+1
2018-06-11MTU: Software interface / Per-protocol MTU supportOle Troan1-0/+3
2018-05-03MPLS prefetch fixesNeale Ranns2-15/+15
2018-04-18typo fix: UNKOWN -> UNKNOWNAndrey "Zed" Zaikin1-1/+1
2018-03-19Coverity found bugs in recent MPLS changesNeale Ranns1-15/+6
2018-03-16QoS recording and markingNeale Ranns1-1/+4
2018-03-13Common form of fib-path reproting in dumpsNeale Ranns1-11/+2
2018-03-09MPLS Unifom modeNeale Ranns7-92/+84
2018-01-30Allow the provider of a midchain adjacency to pass context data that is retur...Neale Ranns2-4/+13
2018-01-23VPPAPIGEN: vppapigen replacement in Python PLY.Ole Troan1-1/+1
2018-01-18FIB Inherited SrouceNeale Ranns1-2/+2
2018-01-11api: remove transport specific code from handlersFlorin Coras1-12/+12
2018-01-09api: refactor vlibmemoryFlorin Coras1-4/+4
2017-12-20Fix MPLS local-label CLI help stringMarek Gradzki1-1/+1
2017-12-09BIER in non-MPLS netowrksNeale Ranns1-14/+0
2017-12-08Remove the unused 'create VRF if needed' API parametersNeale Ranns1-4/+0
2017-11-26FIB: store the node type not the function pointer.Neale Ranns1-2/+0
2017-11-22CLI for interface MPLS enable returns errors to callerNeale Ranns1-1/+5
2017-11-22Fix MPLS local-label CLINeale Ranns1-2/+2
2017-11-18unformat function for FIB pathsNeale Ranns2-205/+14
2017-11-10Break up vpe.apiNeale Ranns2-0/+32
2017-11-09BIERNeale Ranns2-2/+3
2017-11-07UDP Encapsulation.Neale Ranns1-1/+3
2017-10-15Revert "Enforce FIB table creation before use"Florin Coras1-0/+5
2017-10-14Source Lookup progammable via APINeale Ranns1-2/+13
2017-10-13Enforce FIB table creation before useNeale Ranns1-5/+0
2017-10-09vppapigen: support per-file (major,minor,patch) version stampsDave Barach1-0/+2
2017-10-05Distributed Virtual Router SupportNeale Ranns1-7/+1
2017-10-04[aarch64] Fixes CLI crashes on dpaa2 platform.Christophe Fontaine1-2/+2
="n">protocol >= (1 << 16)) return 0; } /* Named type. */ else if (unformat_user (input, unformat_vlib_number_by_name, sm->protocol_info_by_name, &i)) { snap_protocol_info_t *pi = vec_elt_at_index (sm->protocols, i); p = pi->oui_and_protocol; } else return 0; snap_header_set_protocol (result, &p); return 1; } uword unformat_snap_header (unformat_input_t * input, va_list * args) { u8 **result = va_arg (*args, u8 **); snap_header_t _h, *h = &_h; if (!unformat (input, "%U", unformat_snap_protocol, h)) return 0; /* Add header to result. */ { void *p; u32 n_bytes = sizeof (h[0]); vec_add2 (*result, p, n_bytes); clib_memcpy (p, h, n_bytes); } return 1; } static clib_error_t * snap_init (vlib_main_t * vm) { snap_main_t *sm = &snap_main; clib_memset (sm, 0, sizeof (sm[0])); sm->vlib_main = vm; mhash_init (&sm->protocol_hash, sizeof (uword), sizeof (snap_oui_and_protocol_t)); sm->protocol_info_by_name = hash_create_string ( /* elts */ 0, sizeof (uword)); return vlib_call_init_function (vm, snap_input_init); } VLIB_INIT_FUNCTION (snap_init); /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */