aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
AgeCommit message (Expand)AuthorFilesLines
2019-11-26fib: Table ReplaceNeale Ranns1-13/+16
2019-11-24vppapigen: clean up typos in c generated codePaul Vinciguerra1-1/+1
2019-11-22quic: Refactor quic rx callback for offloadNathan Skrzypczak2-111/+147
2019-11-22hsa: Improve for mq-intensiveNathan Skrzypczak5-46/+31
2019-11-22quic: Remove qctx opening poolNathan Skrzypczak2-34/+15
2019-11-22crypto-ipsecmb: use single GCM APIFan Zhang1-6/+4
2019-11-22ikev2: install/remove ipsec tunnels from main threadFilip Tehlar2-68/+157
2019-11-20session tcp: support pacer idle timeoutsFlorin Coras1-1/+1
2019-11-20vlib: improve code coverage, part deuxDave Barach1-1/+62
2019-11-20ikev2: fix memory leak in child SAFilip Tehlar1-16/+15
2019-11-20misc: fix 4 coverity warnings in srv6-mobileDave Barach4-4/+4
2019-11-20flow: Add GTP supportChenmin Sun1-28/+260
2019-11-20quic: Increase loggingNathan Skrzypczak1-29/+40
2019-11-20session: fix transport proto unformatFlorin Coras1-3/+12
2019-11-19quic: handle duplicate packet from quiclyDave Wallace1-2/+15
2019-11-19srv6-mobile: fix yamllint failure in FEATURE.yamlDave Wallace1-0/+1
2019-11-19dpdk: fix non-NULL terminated stringBenoît Ganne1-1/+1
2019-11-19srv6-mobileTetsuya Murakami25-5/+5262
2019-11-19map: fix coverity issue 205684Andrew Yourtchenko1-2/+2
2019-11-19nat: respect arc features (multi worker)Filip Varga7-419/+887
2019-11-19map: Fix TCP MSS clamping for MAP-E traffic.Jon Loeliger2-2/+84
2019-11-18vlib: improve code coverage in src/vlibDave Barach2-8/+146
2019-11-17nsim: add FEATURE.yamlDave Barach1-0/+8
2019-11-15tests: Remove the unrequired VPP IP address/prefix class wrappersNeale Ranns6-258/+261
2019-11-14ikev2: add definitions for libsslAleksander Djuric1-0/+6
2019-11-14ikev2: correct byte order in api handlersAleksander Djuric1-10/+21
2019-11-14dpdk: Enable bnxt PMDAndy Gospodarek3-1/+20
2019-11-13dhcp: option 61 add missing type fieldDave Barach2-3/+6
2019-11-13gtpu: check packet has enough data for gtpu headerBenoît Ganne2-106/+60
2019-11-12ip: IP address and prefix types (moved from LISP)Neale Ranns1-20/+20
2019-11-12tls: fix picotls coverity warningsFlorin Coras1-13/+13
2019-11-11ip: functional interface to ip fragmentationOle Troan5-214/+148
2019-11-10dhcp: ipv6 prefix delegation improvementsDave Barach3-13/+99
2019-11-10tls: picotls engine basic enabling for TLSSimon Zhang5-0/+878
2019-11-09dhcp: fix dhcpv6 client and dhcpv6 prefix delegationDave Barach3-37/+19
2019-11-09build: Fix typo introduced in src/plugins/mdata/FEATURE.yamlPaul Vinciguerra1-1/+1
2019-11-08rdma: fix next node rx redirectBenoît Ganne1-8/+2
2019-11-08rdma: fix name auto-generation on createBenoît Ganne1-1/+5
2019-11-08tests: python3 use byte strings in raw()Ole Troan6-135/+135
2019-11-07crypto-ipsecmb: improve gcm performance using dedicated API.Fan Zhang1-88/+54
2019-11-07dpdk: ipsec gcm fixesChristian Hopps3-25/+14
2019-11-07crypto: fix crypto perf unittest crashFan Zhang1-1/+33
2019-11-07hsa: Add ckpair & crypto engine in vpp_echoNathan Skrzypczak6-78/+80
2019-11-07quic: Add support for ckpair & crypto engineNathan Skrzypczak2-20/+49
2019-11-06docs: add spellcheck to 'make docs' sphinx docsPaul Vinciguerra1-1/+1
2019-11-06dpdk: conditionally revert rte_vfio_dma_map patchDamjan Marion1-0/+5
2019-11-06build: add yaml file linting to make checkstylePaul Vinciguerra5-12/+16
2019-11-06quic: free qctx after udp cleanupNathan Skrzypczak1-22/+58
2019-11-05misc: Fix python scripts shebang lineRenato Botelho do Couto28-28/+28
2019-11-05docs: fix issues with src/scripts/fts.pyPaul Vinciguerra1-2/+2
(ip6_address_t)); clib_memcpy (mp->our_address.un.ip6, our_address.as_u8, sizeof (ip6_address_t)); mp->local_session_id = ntohl (local_session_id); mp->remote_session_id = ntohl (remote_session_id); mp->local_cookie = clib_host_to_net_u64 (local_cookie); mp->remote_cookie = clib_host_to_net_u64 (remote_cookie); mp->l2_sublayer_present = l2_sublayer_present; S (mp); W (ret); return ret; } static int api_l2tpv3_set_tunnel_cookies (vat_main_t * vam) { unformat_input_t *i = vam->input; u32 sw_if_index; u8 sw_if_index_set = 0; u64 new_local_cookie = 0; u64 new_remote_cookie = 0; vl_api_l2tpv3_set_tunnel_cookies_t *mp; int ret; while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT) { if (unformat (i, "%U", unformat_sw_if_index, vam, &sw_if_index)) sw_if_index_set = 1; else if (unformat (i, "sw_if_index %d", &sw_if_index)) sw_if_index_set = 1; else if (unformat (i, "new_local_cookie %lld", &new_local_cookie)) ; else if (unformat (i, "new_remote_cookie %lld", &new_remote_cookie)) ; else break; } if (sw_if_index_set == 0) { errmsg ("missing interface name or sw_if_index"); return -99; } M (L2TPV3_SET_TUNNEL_COOKIES, mp); mp->sw_if_index = ntohl (sw_if_index); mp->new_local_cookie = clib_host_to_net_u64 (new_local_cookie); mp->new_remote_cookie = clib_host_to_net_u64 (new_remote_cookie); S (mp); W (ret); return ret; } static int api_l2tpv3_interface_enable_disable (vat_main_t * vam) { unformat_input_t *i = vam->input; vl_api_l2tpv3_interface_enable_disable_t *mp; u32 sw_if_index; u8 sw_if_index_set = 0; u8 enable_disable = 1; int ret; while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT) { if (unformat (i, "%U", unformat_sw_if_index, vam, &sw_if_index)) sw_if_index_set = 1; else if (unformat (i, "sw_if_index %d", &sw_if_index)) sw_if_index_set = 1; else if (unformat (i, "enable")) enable_disable = 1; else if (unformat (i, "disable")) enable_disable = 0; else break; } if (sw_if_index_set == 0) { errmsg ("missing interface name or sw_if_index"); return -99; } M (L2TPV3_INTERFACE_ENABLE_DISABLE, mp); mp->sw_if_index = ntohl (sw_if_index); mp->enable_disable = enable_disable; S (mp); W (ret); return ret; } static int api_l2tpv3_set_lookup_key (vat_main_t * vam) { unformat_input_t *i = vam->input; vl_api_l2tpv3_set_lookup_key_t *mp; u8 key = ~0; int ret; while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT) { if (unformat (i, "lookup_v6_src")) key = L2T_LOOKUP_SRC_ADDRESS; else if (unformat (i, "lookup_v6_dst")) key = L2T_LOOKUP_DST_ADDRESS; else if (unformat (i, "lookup_session_id")) key = L2T_LOOKUP_SESSION_ID; else break; } if (key == (u8) ~ 0) { errmsg ("l2tp session lookup key unset"); return -99; } M (L2TPV3_SET_LOOKUP_KEY, mp); mp->key = key; S (mp); W (ret); return ret; } static void vl_api_sw_if_l2tpv3_tunnel_details_t_handler (vl_api_sw_if_l2tpv3_tunnel_details_t * mp) { vat_main_t *vam = &vat_main; print (vam->ofp, "* %U (our) %U (client) (sw_if_index %d)", format_ip6_address, mp->our_address, format_ip6_address, mp->client_address, clib_net_to_host_u32 (mp->sw_if_index)); print (vam->ofp, " local cookies %016llx %016llx remote cookie %016llx", clib_net_to_host_u64 (mp->local_cookie[0]), clib_net_to_host_u64 (mp->local_cookie[1]), clib_net_to_host_u64 (mp->remote_cookie)); print (vam->ofp, " local session-id %d remote session-id %d", clib_net_to_host_u32 (mp->local_session_id), clib_net_to_host_u32 (mp->remote_session_id)); print (vam->ofp, " l2 specific sublayer %s\n", mp->l2_sublayer_present ? "preset" : "absent"); } static int api_sw_if_l2tpv3_tunnel_dump (vat_main_t * vam) { vl_api_sw_if_l2tpv3_tunnel_dump_t *mp; vl_api_control_ping_t *mp_ping; int ret; /* Get list of l2tpv3-tunnel interfaces */ M (SW_IF_L2TPV3_TUNNEL_DUMP, mp); S (mp); /* Use a control ping for synchronization */ if (!l2tp_test_main.ping_id) l2tp_test_main.ping_id = vl_msg_api_get_msg_index ((u8 *) (VL_API_CONTROL_PING_CRC)); mp_ping = vl_msg_api_alloc_as_if_client (sizeof (*mp_ping)); mp_ping->_vl_msg_id = htons (l2tp_test_main.ping_id); mp_ping->client_index = vam->my_client_index; fformat (vam->ofp, "Sending ping id=%d\n", l2tp_test_main.ping_id); vam->result_ready = 0; S (mp_ping); W (ret); return ret; } #include <l2tp/l2tp.api_test.c> /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */