aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/lib-vxlan-gpe
AgeCommit message (Expand)AuthorFilesLines
2020-04-27ioam: do not reuse existing vnet symbolBenoƮt Ganne1-2/+2
2019-12-10ioam: use explicit api typesOle Troan3-259/+60
2019-10-09ioam: remove api boilerplateOle Troan4-140/+12
2019-05-16init / exit function orderingDave Barach1-11/+8
2019-04-10API: Fix shared memory only action handlers.Ole Troan1-52/+7
2018-11-14Remove c-11 memcpy checks from perf-critical codeDave Barach1-1/+1
2018-10-23c11 safe string handling supportDave Barach4-7/+7
2018-08-25ioam: one api test plugin instead of fiveDamjan Marion1-1/+1
2018-04-12Fixes for 'make UNATTENDED=yes CC=clang CXX=clang verify'Neale Ranns1-4/+4
2018-01-23VPPAPIGEN: vppapigen replacement in Python PLY.Ole Troan1-1/+1
2018-01-09api: refactor vlibmemoryFlorin Coras1-2/+2
2017-10-09vppapigen: support per-file (major,minor,patch) version stampsDave Barach1-0/+1
2017-10-03Repair vlib API socket serverDave Barach2-2/+2
2017-06-06Rework vxlan-gpe to support FIB 2.0 and bypass modeHongjun Ni1-1/+1
2017-05-24IPv6 Performance bugsNeale Ranns2-2/+1
2017-04-27ioam: adding missing setup api msg crc tableShwetha Bhandari1-0/+16
2017-04-25"autoreply" flag: autogenerate standard xxx_reply_t messagesDave Barach1-76/+6
2017-04-13Remove unsed parameter from fib_table_entry_special_add() (only used in FIB t...Neale Ranns1-3/+1
2017-04-11Remove usued, redundant and deprecated code from lookup.hNeale Ranns2-8/+5
2017-03-15VPP changes to support iOAM over NSH-MD2. Separate trace dataVengada1-0/+1
2017-03-01VPP-598: tcp stack initial commitDave Barach1-1/+1
2017-02-02Refactor fragile msg macro W and W2 to not burry return control flow.Jon Loeliger1-18/+18
2017-02-02Localize the timeout variable within the W message macro.Jon Loeliger1-6/+0
2017-02-02Convert message macro S to accept a message pointer parameter;Jon Loeliger1-6/+6
2017-02-02Ensure all M() and M2() second parameters are the message pointer.Jon Loeliger1-6/+6
2017-01-27Cleanup some obfuscated code in next node handling.Vengada3-8/+8
2017-01-25Repair plugin binary API message numberingDave Barach1-0/+2
2017-01-24Fix coverity defect.Vengada1-1/+1
2017-01-23binary-api debug CLI works with pluginsDave Barach1-52/+4
2017-01-04Merging all ioam plugin libraries to single libraryAkshayaNadahalli1-22/+5
2017-01-02ioam: fix Coverity issueVengada1-1/+1
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion14-0/+3902
an>; } static int api_sr_policies_with_sl_index_dump (vat_main_t *vam) { return -1; } static int api_sr_steering_pol_dump (vat_main_t *vam) { return -1; } static void vl_api_sr_policies_details_t_handler (vl_api_sr_policies_details_t *mp) { } static void vl_api_sr_localsids_details_t_handler (vl_api_sr_localsids_details_t *mp) { } static void vl_api_sr_policies_with_sl_index_details_t_handler ( vl_api_sr_policies_with_sl_index_details_t *mp) { } static void vl_api_sr_steering_pol_details_t_handler (vl_api_sr_steering_pol_details_t *mp) { } static int api_sr_localsid_add_del (vat_main_t *vam) { unformat_input_t *i = vam->input; vl_api_sr_localsid_add_del_t *mp; u8 is_del; ip6_address_t localsid; u8 end_psp = 0; u8 behavior = ~0; u32 sw_if_index; u32 fib_table = ~(u32) 0; ip46_address_t nh_addr; clib_memset (&nh_addr, 0, sizeof (ip46_address_t)); bool nexthop_set = 0; int ret; while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT) { if (unformat (i, "del")) is_del = 1; else if (unformat (i, "address %U", unformat_ip6_address, &localsid)) ; else if (unformat (i, "next-hop %U", unformat_ip46_address, &nh_addr)) nexthop_set = 1; else if (unformat (i, "behavior %u", &behavior)) ; else if (unformat (i, "sw_if_index %u", &sw_if_index)) ; else if (unformat (i, "fib-table %u", &fib_table)) ; else if (unformat (i, "end.psp %u", &behavior)) ; else break; } M (SR_LOCALSID_ADD_DEL, mp); clib_memcpy (mp->localsid, &localsid, sizeof (mp->localsid)); if (nexthop_set) { clib_memcpy (&mp->nh_addr.un, &nh_addr, sizeof (mp->nh_addr.un)); } mp->behavior = behavior; mp->sw_if_index = ntohl (sw_if_index); mp->fib_table = ntohl (fib_table); mp->end_psp = end_psp; mp->is_del = is_del; S (mp); W (ret); return ret; } #include <vnet/srv6/sr.api_test.c> VAT_REGISTER_FEATURE_FUNCTION (vat_sr_plugin_register); /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */