summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat/api_format.c
AgeCommit message (Expand)AuthorFilesLines
2016-09-27LISP Source/Dest control plane support, VPP-197Florin Coras1-0/+114
2016-09-22VPP-189: fix coverity issue in api_format.cFlorin Coras1-2/+3
2016-09-22VPP-426: Rename parameter in LISP remote mapping VAT commandFilip Tehlar1-1/+1
2016-09-21A Protocol Independent Hierarchical FIB (VPP-352)Neale Ranns1-3/+9
2016-09-20VPP-189: fix coverity issue in api_format.cFilip Tehlar1-1/+7
2016-09-19Add support for transparent ethernet bridging to GREDavid Hotham1-5/+12
2016-09-13VPP-376: Refactor LISP dump API + VATFilip Tehlar1-896/+230
2016-09-07Fix bugs in IPFIX code discovered by coverityJuraj Sloboda1-1/+1
2016-09-07VPP-382: Add ipsec tunnel interface to sw_interface_dumpMatus Fabian1-0/+6
2016-09-07VPP-204 Rework and finish IPFIX implementationJuraj Sloboda1-20/+232
2016-09-06Move iOAM Trace as a pluginVengada Govindan1-94/+16
2016-09-06VPP-381 Add LISP interfaces to sw_interface_dumpFlorin Coras1-0/+7
2016-09-03VPP-358: Add IPv6 ND Event Notification and TerminationJohn Lo1-2/+4
2016-09-02Add in-message cli_request/cli_reply APIOle Troan1-0/+69
2016-08-31VPP-369 Add an L2 output classification featureDave Barach1-2/+5
2016-08-31VPP-358: Add IPv6 ND Event Notification and TerminationJohn Lo1-0/+54
2016-08-31VPP-240: delete subinterfacePavel Kotucek1-3/+36
2016-08-30VPP-365: Fix sending of bd_index in lisp_eid_table_add_del_mapFilip Tehlar1-1/+7
2016-08-30VPP-353: Fully support LISP negative mappings in APIFilip Tehlar1-27/+31
2016-08-26VPP-356: Fix wrong byte order in LISP APIFilip Tehlar1-2/+2
2016-08-26VPP-329: Add L2 support to lisp_eid_table_map_dumpFilip Tehlar1-4/+35
2016-08-25VPP-228 VPP-326: MAP: Adding additional API/CLI input parameter checks.Ole Troan1-1/+1
2016-08-25VPP-328: Add dump call for listing LISP VNIsFilip Tehlar1-0/+57
2016-08-24VPP-340: MAP-T wrong destination addressOle Troan1-1/+1
2016-08-23VPP-323: Add LISP locator set index to reply API messageFilip Tehlar1-1/+34
2016-08-17VPP-202: L2-GRE over IPSecv16.12-rc0Matus Fabian1-2/+167
2016-08-12VPP-189 fix more coverity warningsDave Barach1-1/+1
2016-08-10VPP-189 Fix coverity warningsDave Barach1-31/+47
2016-08-09VPP-235: fixed vat help message for sw_interface_set_l2_bridgeCalvin1-1/+1
2016-08-08VPP-189 Fix new Coverity warningsFlorin Coras1-14/+38
2016-08-04VPP-237 vpp-api-test coding style cleanupDave Barach1-9391/+10700
2016-08-04LISP multihoming API changes and cleanupFlorin Coras1-0/+1
2016-08-03VPP-226 - adding UDP TCP to port-rangeKeith Burns (alagalah)1-17/+32
2016-08-03LISP API/VAT cleanupFlorin Coras1-193/+151
2016-08-01VPP-226 IPv4 src-address + port range checkerDave Barach1-4/+186
2016-07-31Initial L2 LISP supportFlorin Coras1-4/+7
2016-07-28Edit eid table dumpAndrej Kozemcak1-80/+438
2016-07-28LISP - Bug fix, can`t remove static remote mappingAndrej Kozemcak1-37/+35
2016-07-28Edit Lisp locator_set APIAndrej Kozemcak1-80/+482
2016-07-27VAT add_locator_set api support multiple locatorsAndrej Kozemcak1-1/+32
2016-07-26VPP-214: IPSec cli/api vector ck and ik initializationMatus Fabian1-2/+2
2016-07-26policer classifyMatus Fabian1-5/+205
2016-07-22HONEYCOMB-83: Add Gre FeatureHongjun Ni1-290/+290
2016-07-21Add API calls for packet generatorPavel Kotucek1-4/+163
2016-07-20Add new lisp API - Show pitrAndrej Kozemcak1-2/+67
2016-07-19VPP-203 Find the relative next node index by node namesKeith Burns (alagalah)1-2/+79
2016-07-18Fix local eid API in VATFlorin Coras1-1/+1
2016-07-13Add API dump call for vrf/vni mapping to vpp-api-testFilip Tehlar1-0/+60
2016-07-12policer actionMatus Fabian1-2/+136
2016-07-12Add incrementing MAC / count support for the l2fib_add_del APIDave Barach1-24/+82
> (im->fib_index_by_table_id, ntohl (mp->encap_vrf_id)))) { rv = VNET_API_ERROR_NO_SUCH_FIB; goto out; } encap_fib_index = p[0]; } else { encap_fib_index = ~0; } rv = create_l2tpv3_ipv6_tunnel (lm, (ip6_address_t *) mp->client_address, (ip6_address_t *) mp->our_address, ntohl (mp->local_session_id), ntohl (mp->remote_session_id), clib_net_to_host_u64 (mp->local_cookie), clib_net_to_host_u64 (mp->remote_cookie), mp->l2_sublayer_present, encap_fib_index, &sw_if_index); out: /* *INDENT-OFF* */ REPLY_MACRO2(VL_API_L2TPV3_CREATE_TUNNEL_REPLY, ({ rmp->sw_if_index = ntohl (sw_if_index); })); /* *INDENT-ON* */ } static void vl_api_l2tpv3_set_tunnel_cookies_t_handler (vl_api_l2tpv3_set_tunnel_cookies_t * mp) { vl_api_l2tpv3_set_tunnel_cookies_reply_t *rmp; l2t_main_t *lm = &l2t_main; int rv; VALIDATE_SW_IF_INDEX (mp); rv = l2tpv3_set_tunnel_cookies (lm, ntohl (mp->sw_if_index), clib_net_to_host_u64 (mp->new_local_cookie), clib_net_to_host_u64 (mp->new_remote_cookie)); BAD_SW_IF_INDEX_LABEL; REPLY_MACRO (VL_API_L2TPV3_SET_TUNNEL_COOKIES_REPLY); } static void vl_api_l2tpv3_interface_enable_disable_t_handler (vl_api_l2tpv3_interface_enable_disable_t * mp) { int rv; vnet_main_t *vnm = vnet_get_main (); vl_api_l2tpv3_interface_enable_disable_reply_t *rmp; VALIDATE_SW_IF_INDEX (mp); rv = l2tpv3_interface_enable_disable (vnm, ntohl (mp->sw_if_index), mp->enable_disable); BAD_SW_IF_INDEX_LABEL; REPLY_MACRO (VL_API_L2TPV3_INTERFACE_ENABLE_DISABLE_REPLY); } static void vl_api_l2tpv3_set_lookup_key_t_handler (vl_api_l2tpv3_set_lookup_key_t * mp) { int rv = 0; l2t_main_t *lm = &l2t_main; vl_api_l2tpv3_set_lookup_key_reply_t *rmp; if (mp->key > L2T_LOOKUP_SESSION_ID) { rv = VNET_API_ERROR_INVALID_VALUE; goto out; } lm->lookup_type = mp->key; out: REPLY_MACRO (VL_API_L2TPV3_SET_LOOKUP_KEY_REPLY); } /* * l2tp_api_hookup * Add vpe's API message handlers to the table. * vlib has alread mapped shared memory and * added the client registration handlers. * See .../vlib-api/vlibmemory/memclnt_vlib.c:memclnt_process() */ #define vl_msg_name_crc_list #include <vnet/vnet_all_api_h.h> #undef vl_msg_name_crc_list static void setup_message_id_table (api_main_t * am) { #define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id); foreach_vl_msg_name_crc_l2tp; #undef _ } static clib_error_t * l2tp_api_hookup (vlib_main_t * vm) { api_main_t *am = &api_main; #define _(N,n) \ vl_msg_api_set_handlers(VL_API_##N, #n, \ vl_api_##n##_t_handler, \ vl_noop_handler, \ vl_api_##n##_t_endian, \ vl_api_##n##_t_print, \ sizeof(vl_api_##n##_t), 1); foreach_vpe_api_msg; #undef _ /* * Set up the (msg_name, crc, message-id) table */ setup_message_id_table (am); return 0; } VLIB_API_INIT_FUNCTION (l2tp_api_hookup); /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */