aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/udp
AgeCommit message (Expand)AuthorFilesLines
2020-09-24session tcp udp tls quic: improve cli formattingFlorin Coras1-2/+3
2020-06-27udp: align udp_encap_t_ to 2 cachelinesVadym Martsynovskyy1-4/+4
2020-06-23udp: jump over ip4 optionsFlorin Coras1-3/+3
2020-05-29misc: ipfix-export unformat u16 collector_port fixElias Rudberg2-0/+18
2020-04-16udp: fix buffer traceAndreas Schultz1-3/+2
2020-04-10udp: remove connected udp transport protoFlorin Coras1-60/+0
2020-04-10udp: fix local node no port error counterFlorin Coras1-9/+6
2020-04-09udp: fix coverity warningFlorin Coras1-1/+1
2020-04-08udp: cleanup input nodeFlorin Coras4-175/+211
2020-04-07udp: move cli to separate fileFlorin Coras4-205/+229
2020-04-07udp session: allow dgram ip fragmentationFlorin Coras2-12/+8
2020-04-07udp session: jumbo frames and configurable mtuFlorin Coras3-2/+39
2020-04-06session udp: shared local endpointsFlorin Coras1-7/+35
2020-04-03session: improve error reportingFlorin Coras1-8/+7
2020-04-03session udp: fix transport flags and migrationFlorin Coras2-1/+7
2020-04-02udp session vcl: add udp iperf testFlorin Coras1-9/+18
2020-04-01udp: improvements to cliFlorin Coras2-13/+64
2020-04-01udp: track connection port sharingFlorin Coras4-31/+122
2020-03-31udp: validate input data lengthFlorin Coras1-4/+7
2020-03-30session udp: flag for connected udpFlorin Coras1-3/+13
2020-03-25session: api to add new transport typesFlorin Coras1-0/+4
2020-03-19session tcp udp: consolidate transport snd apisFlorin Coras1-14/+11
2020-03-19ip: change ip API enums address_family and ip_proto size to u8Jakub Grajciar1-4/+4
2020-03-09udp: fix UDP socket byte order in lookupAndreas Schultz1-1/+2
2020-01-16udp: fix ipv6 listen port registrationFlorin Coras1-1/+1
2020-01-10docs: Edit FEATURE.yaml files so they can be publishedJohn DeNisco1-2/+2
2020-01-03udp: add features.yamlFlorin Coras1-0/+9
2020-01-02session: fix listener global endpoint lookupFlorin Coras1-0/+3
2019-12-10api: multiple connections per processDave Barach1-1/+1
2019-10-01session: fix use-after-freeBenoƮt Ganne1-1/+2
2019-09-25udp: do not send received packets to error-dropAloys Augustin1-192/+173
2019-08-08udp: fix rx event generationFlorin Coras1-6/+20
2019-08-08udp: fix connections moveAloys Augustin1-1/+4
2019-08-06udp: fix session migrate when not neededNathan Skrzypczak1-15/+21
2019-07-23udp: fix typo in udp connectinon flagsDave Wallace1-1/+1
2019-07-23udp: fix connection flagsAloys Augustin1-3/+3
2019-07-22udp: support close with dataFlorin Coras3-19/+41
2019-07-19fib: FIB Entry trackingNeale Ranns1-11/+6
2019-07-12quic: fix show session verboseAloys Augustin1-3/+3
2019-07-12session: add thread index to all formattersAloys Augustin1-0/+2
2019-07-09udp: UDPC handle open failNathan Skrzypczak1-6/+9
2019-06-28session: add half_open_has_fifos for UDPCNathan Skrzypczak1-0/+1
2019-06-27session: Add transport vft protocol optionsNathan Skrzypczak1-7/+14
2019-06-18fib: fib api updatesNeale Ranns1-1/+1
2019-06-17session: use listener_handle instead of listener_indexNathan Skrzypczak1-1/+2
2019-05-22fix show session verbose crash with udp transportDave Wallace1-0/+2
2019-05-17UDP-Local: fix unregistered portsNeale Ranns1-64/+51
2019-05-16init / exit function orderingDave Barach1-10/+9
2019-05-14Unregister UDPC port only when ownedNathan Skrzypczak3-2/+9
2019-05-03Fix FIB initialization in UDP inputNathan Skrzypczak1-0/+1
entify the sender @param context - sender context, to match reply w/ request @param is_add - add address if non-zero, else delete @param locator_set_name - name of locator_set to add/del locator @param sw_if_index - index of the interface @param priority - priority of the lisp locator @param weight - weight of the lisp locator */ autoreply define lisp_add_del_locator { u32 client_index; u32 context; u8 is_add; u8 locator_set_name[64]; u32 sw_if_index; u8 priority; u8 weight; }; /** \brief add or delete lisp eid-table @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add address if non-zero, else delete @param eid_type: 0 : ipv4 1 : ipv6 2 : mac @param eid - EID can be ip4, ip6 or mac @param prefix_len - prefix len @param locator_set_name - name of locator_set to add/del eid-table @param vni - virtual network instance @param key_id HMAC_NO_KEY 0 HMAC_SHA_1_96 1 HMAC_SHA_256_128 2 @param key - secret key */ autoreply define lisp_add_del_local_eid { u32 client_index; u32 context; u8 is_add; u8 eid_type; u8 eid[16]; u8 prefix_len; u8 locator_set_name[64]; u32 vni; u16 key_id; u8 key[64]; }; /** \brief Add/delete map server @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add address if non-zero; delete otherwise @param is_ipv6 - if non-zero the address is ipv6, else ipv4 @param ip_address - map server IP address */ autoreply define lisp_add_del_map_server { u32 client_index; u32 context; u8 is_add; u8 is_ipv6; u8 ip_address[16]; }; /** \brief add or delete map-resolver @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add address if non-zero, else delete @param is_ipv6 - if non-zero the address is ipv6, else ipv4 @param ip_address - array of address bytes */ autoreply define lisp_add_del_map_resolver { u32 client_index; u32 context; u8 is_add; u8 is_ipv6; u8 ip_address[16]; }; /** \brief enable or disable LISP feature @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_en - enable protocol if non-zero, else disable */ autoreply define lisp_enable_disable { u32 client_index; u32 context; u8 is_en; }; /** \brief configure or disable LISP PITR node @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param ls_name - locator set name @param is_add - add locator set if non-zero, else disable pitr */ autoreply define lisp_pitr_set_locator_set { u32 client_index; u32 context; u8 is_add; u8 ls_name[64]; }; /** \brief configure or disable use of PETR @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_ip4 - Address is IPv4 if set and IPv6 otherwise @param address - PETR IP address @param is_add - add locator set if non-zero, else disable pitr */ autoreply define lisp_use_petr { u32 client_index; u32 context; u8 is_ip4; u8 address[16]; u8 is_add; }; /** \brief Request for LISP PETR status @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define show_lisp_use_petr { u32 client_index; u32 context; }; /** \brief LISP PETR status, enable or disable @param context - sender context, to match reply w/ request @param status - LISP PETR enable if non-zero, else disable @param is_ip4 - Address is IPv4 if non-zero, else IPv6 @param address - PETR IP address */ define show_lisp_use_petr_reply { u32 context; i32 retval; u8 status; u8 is_ip4; u8 address[16]; }; /** \brief Get state of LISP RLOC probing @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define show_lisp_rloc_probe_state { u32 client_index; u32 context; }; /** \brief Reply for show_lisp_rloc_probe_state @param context - returned sender context, to match reply w/ request @param retval - return code @param is_enabled - state of RLOC probing */ define show_lisp_rloc_probe_state_reply { u32 context; i32 retval; u8 is_enabled; }; /** \brief enable/disable LISP RLOC probing @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_enable - enable if non-zero; disable otherwise */ autoreply define lisp_rloc_probe_enable_disable { u32 client_index; u32 context; u8 is_enabled; }; /** \brief enable/disable LISP map-register @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_enable - enable if non-zero; disable otherwise */ autoreply define lisp_map_register_enable_disable { u32 client_index; u32 context; u8 is_enabled; }; /** \brief Get state of LISP map-register @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define show_lisp_map_register_state { u32 client_index; u32 context; }; /** \brief Reply for show_lisp_map_register_state @param context - returned sender context, to match reply w/ request @param retval - return code */ define show_lisp_map_register_state_reply { u32 context; i32 retval; u8 is_enabled; }; /** \brief set LISP map-request mode. Based on configuration VPP will send src/dest or just normal destination map requests. @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param mode - new map-request mode. Supported values are: 0 - destination only 1 - source/destaination */ autoreply define lisp_map_request_mode { u32 client_index; u32 context; u8 mode; }; /** \brief Request for LISP map-request mode @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define show_lisp_map_request_mode { u32 client_index; u32 context; }; /** \brief Reply for show_lisp_map_request_mode @param context - returned sender context, to match reply w/ request @param retval - return code @param mode - map-request mode */ define show_lisp_map_request_mode_reply { u32 context; i32 retval; u8 mode; }; typeonly manual_endian manual_print define remote_locator { u8 is_ip4; u8 priority; u8 weight; u8 addr[16]; }; /** \brief add or delete remote static mapping @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add address if non-zero, else delete @param is_src_dst - flag indicating src/dst based routing policy @param del_all - if set, delete all remote mappings @param vni - virtual network instance @param action - negative map-reply action @param eid_type - 0 : ipv4 1 : ipv6 2 : mac @param deid - dst EID @param seid - src EID, valid only if is_src_dst is enabled @param rloc_num - number of remote locators @param rlocs - remote locator records */ autoreply manual_print manual_endian define lisp_add_del_remote_mapping { u32 client_index; u32 context; u8 is_add; u8 is_src_dst; u8 del_all; u32 vni; u8 action; u8 eid_type; u8 eid[16]; u8 eid_len; u8 seid[16]; u8 seid_len; u32 rloc_num; vl_api_remote_locator_t rlocs[rloc_num]; }; /** \brief add or delete LISP adjacency adjacency @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add address if non-zero, else delete @param vni - virtual network instance @param eid_type - 0 : ipv4 1 : ipv6 2 : mac @param reid - remote EID @param leid - local EID */ autoreply define lisp_add_del_adjacency { u32 client_index; u32 context; u8 is_add; u32 vni; u8 eid_type; u8 reid[16]; u8 leid[16]; u8 reid_len; u8 leid_len; }; /** \brief add or delete map request itr rlocs @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add address if non-zero, else delete @param locator_set_name - locator set name */ autoreply define lisp_add_del_map_request_itr_rlocs { u32 client_index; u32 context; u8 is_add; u8 locator_set_name[64]; }; /** \brief Reply for lisp_add_del_map_request_itr_rlocs @param context - returned sender context, to match reply w/ request @param retval - return code */ /** \brief map/unmap vni/bd_index to vrf @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add or delete mapping @param dp_table - virtual network id/bridge domain index @param vrf - vrf */ autoreply define lisp_eid_table_add_del_map { u32 client_index; u32 context; u8 is_add; u32 vni; u32 dp_table; u8 is_l2; }; /** \brief Request for map lisp locator status @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param locator_set_index - index of locator_set @param ls_name - locator set name @param is_index_set - flag indicating whether ls_name or ls_index is set */ define lisp_locator_dump { u32 client_index; u32 context; u32 ls_index; u8 ls_name[64]; u8 is_index_set; }; /** \brief LISP locator_set status @param local - if is set, then locator is local @param locator_set_name - name of the locator_set @param sw_if_index - sw_if_index of the locator @param priority - locator priority @param weight - locator weight */ define lisp_locator_details { u32 context; u8 local; u32 sw_if_index; u8 is_ipv6; u8 ip_address[16]; u8 priority; u8 weight; }; /** \brief LISP locator_set status @param context - sender context, to match reply w/ request @param ls_index - locator set index @param ls_name - name of the locator set */ define lisp_locator_set_details { u32 context; u32 ls_index; u8 ls_name[64]; }; /** \brief Request for locator_set summary status @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param filter - filter type Supported values: 0: all locator sets 1: local locator sets 2: remote locator sets */ define lisp_locator_set_dump { u32 client_index; u32 context; u8 filter; }; /** \brief Dump lisp eid-table @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param locator_set_index - index of locator_set, if ~0 then the mapping is negative @param action - negative map request action @param is_local - local if non-zero, else remote @param eid_type: 0 : ipv4 1 : ipv6 2 : mac @param is_src_dst - EID is type of source/destination @param eid - EID can be ip4, ip6 or mac @param eid_prefix_len - prefix length @param seid - source EID can be ip4, ip6 or mac @param seid_prefix_len - source prefix length @param vni - virtual network instance @param ttl - time to live @param authoritative - authoritative @param key_id HMAC_NO_KEY 0 HMAC_SHA_1_96 1 HMAC_SHA_256_128 2 @param key - secret key */ define lisp_eid_table_details { u32 context; u32 locator_set_index; u8 action; u8 is_local; u8 eid_type; u8 is_src_dst; u32 vni; u8 eid[16]; u8 eid_prefix_len; u8 seid[16]; u8 seid_prefix_len; u32 ttl; u8 authoritative; u16 key_id; u8 key[64]; }; /** \brief Request for eid table summary status @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param eid_set - if non-zero request info about specific mapping @param vni - virtual network instance; valid only if eid_set != 0 @param prefix_length - prefix length if EID is IP address; valid only if eid_set != 0 @param eid_type - EID type; valid only if eid_set != 0 Supported values: 0: EID is IPv4 1: EID is IPv6 2: EID is ethernet address @param eid - endpoint identifier @param filter - filter type; Support values: 0: all eid 1: local eid 2: remote eid */ define lisp_eid_table_dump { u32 client_index; u32 context; u8 eid_set; u8 prefix_length; u32 vni; u8 eid_type; u8 eid[16]; u8 filter; }; /** \brief LISP adjacency @param eid_type - 0 : ipv4 1 : ipv6 2 : mac @param reid - remote EID @param leid - local EID @param reid_prefix_len - remote EID IP prefix length @param leid_prefix_len - local EID IP prefix length */ typeonly manual_print manual_endian define lisp_adjacency { u8 eid_type; u8 reid[16]; u8 leid[16]; u8 reid_prefix_len; u8 leid_prefix_len; }; /** \brief LISP adjacency reply @param count - number of adjacencies @param adjacencies - array of adjacencies */ manual_endian manual_print define lisp_adjacencies_get_reply { u32 context; i32 retval; u32 count; vl_api_lisp_adjacency_t adjacencies[count]; }; /** \brief Request for LISP adjacencies @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param vni - filter adjacencies by VNI */ define lisp_adjacencies_get { u32 client_index; u32 context; u32 vni; }; /** \brief Shows relationship between vni and vrf/bd @param dp_table - VRF index or bridge domain index @param vni - vitual network instance */ define lisp_eid_table_map_details { u32 context; u32 vni; u32 dp_table; }; /** \brief Request for lisp_eid_table_map_details @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_l2 - if set dump vni/bd mappings else vni/vrf */ define lisp_eid_table_map_dump { u32 client_index; u32 context; u8 is_l2; }; /** \brief Dumps all VNIs used in mappings @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define lisp_eid_table_vni_dump { u32 client_index; u32 context; }; /** \brief reply to lisp_eid_table_vni_dump @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param vni - virtual network instance */ define lisp_eid_table_vni_details { u32 client_index; u32 context; u32 vni; }; /** \brief LISP map resolver status @param is_ipv6 - if non-zero the address is ipv6, else ipv4 @param ip_address - array of address bytes */ define lisp_map_resolver_details { u32 context; u8 is_ipv6; u8 ip_address[16]; }; /** \brief Request for map resolver summary status @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define lisp_map_resolver_dump { u32 client_index; u32 context; }; /** \brief LISP map server details @param is_ipv6 - if non-zero the address is ipv6, else ipv4 @param ip_address - array of address bytes */ define lisp_map_server_details { u32 context; u8 is_ipv6; u8 ip_address[16]; }; /** \brief Request for map server summary status @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define lisp_map_server_dump { u32 client_index; u32 context; }; /** \brief Request for lisp-gpe protocol status @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define show_lisp_status { u32 client_index; u32 context; }; /** \brief Status of lisp, enable or disable @param context - sender context, to match reply w/ request @param feature_status - lisp enable if non-zero, else disable @param gpe_status - lisp enable if non-zero, else disable */ define show_lisp_status_reply { u32 context; i32 retval; u8 feature_status; u8 gpe_status; }; /** \brief Get LISP map request itr rlocs status @param context - sender context, to match reply w/ request @param locator_set_name - name of the locator_set */ define lisp_get_map_request_itr_rlocs { u32 client_index; u32 context; }; /** \brief Request for map request itr rlocs summary status */ define lisp_get_map_request_itr_rlocs_reply { u32 context; i32 retval; u8 locator_set_name[64]; }; /** \brief Request for lisp pitr status @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define show_lisp_pitr { u32 client_index; u32 context; }; /** \brief Status of lisp pitr, enable or disable @param context - sender context, to match reply w/ request @param status - lisp pitr enable if non-zero, else disable @param locator_set_name - name of the locator_set */ define show_lisp_pitr_reply { u32 context; i32 retval; u8 status; u8 locator_set_name[64]; }; /* * Local Variables: * eval: (c-set-style "gnu") * End: */