aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_fib.c
AgeCommit message (Expand)AuthorFilesLines
2018-08-10Use the bihash walk functionNeale Ranns1-126/+130
2018-08-07Fix dangling reference in l2fib_scan(...)Dave Barach1-0/+8
2018-05-31Improve L2FIB delete entry handling and "show l2fib" CLI optionsJohn Lo1-51/+64
2018-05-11Periodic scan and probe of IP neighbors to maintain neighbor poolsJohn Lo1-5/+2
2018-03-14Improve l2_macs_events API to provide MAC move informationJohn Lo1-3/+5
2018-01-11api: fix handlers that explicitly depend on svm queueFlorin Coras1-8/+8
2018-01-09api: refactor vlibmemoryFlorin Coras1-1/+1
2017-10-31Fix "l2fib add" CLI to allow adding of filter MAC entriesJohn Lo1-25/+17
2017-10-31l2fib: MAC: Fix uint64 to u8 byte arrayMohsin Kazmi1-35/+31
2017-10-03Repair vlib API socket serverDave Barach1-5/+7
2017-10-02L2-FIB:add mac learn events testEyal Bari1-56/+49
2017-08-22Increase default MAC learn limit and check it in learn-update pathJohn Lo1-1/+1
2017-08-03Add support for API client to receive L2 MAC eventsJohn Lo1-100/+294
2017-07-19Add a bihash prefetchable bucket-level cacheDave Barach1-4/+4
2017-07-13Fix crash with worker threads on 4K VXLAN/BD setup (VPP-907)John Lo1-0/+7
2017-06-27L2-LEARN:fix l2fib entry seq num not updated on hit (VPP-888)Eyal Bari1-5/+5
2017-06-19L2FWD:fix seq_num overwritten + validate l2fib entries when forwardingEyal Bari1-16/+3
2017-06-12L2FIB:fix crash in show with deleted subif entriesEyal Bari1-4/+7
2017-05-08L2FIB:CLI/API to flush all non-static entriesEyal Bari1-65/+103
2017-05-05Fix L2FIB learn counter and memory cleanup of mac_by_ip6 hash tableJohn Lo1-3/+5
2017-05-03L2FIB:flush interface learned macs on downEyal Bari1-2/+11
2017-03-28Implement MAC Flush for BD or Interface from the L2FIBJohn Lo1-14/+174
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-0/+857
rface */ autoreply define flowprobe_tx_interface_add_del { option replaced_by="flowprobe_interface_add_del"; /* Client identifier, set from api_main.my_client_index */ u32 client_index; /* Arbitrary context, so client can match reply to request */ u32 context; /* Enable / disable the feature */ bool is_add; vl_api_flowprobe_which_flags_t which; /* Interface handle */ vl_api_interface_index_t sw_if_index; option vat_help = "<intfc> [disable]"; }; /** \brief Enable or disable IPFIX flow record generation on an interface @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param is_add - add interface if non-zero, else delete @param which - datapath on which to record flows @param direction - direction of recorded flows @param sw_if_index - index of the interface */ autoreply define flowprobe_interface_add_del { option in_progress; u32 client_index; u32 context; bool is_add; vl_api_flowprobe_which_t which; vl_api_flowprobe_direction_t direction; vl_api_interface_index_t sw_if_index; option vat_help = "(<intfc> | sw_if_index <if-idx>) [(ip4|ip6|l2)] [(rx|tx|both)] [disable]"; }; /** \brief Dump interfaces for which IPFIX flow record generation is enabled @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param sw_if_index - interface index to use as filter (0xffffffff is "all") */ define flowprobe_interface_dump { option in_progress; u32 client_index; u32 context; vl_api_interface_index_t sw_if_index [default=0xffffffff]; option vat_help = "[<if-idx>]"; }; /** \brief Details about IPFIX flow record generation enabled on interface @param context - sender context which was passed in the request @param which - datapath on which to record flows @param direction - direction of recorded flows @param sw_if_index - index of the interface */ define flowprobe_interface_details { option in_progress; u32 context; vl_api_flowprobe_which_t which; vl_api_flowprobe_direction_t direction; vl_api_interface_index_t sw_if_index; }; autoreply define flowprobe_params { option replaced_by="flowprobe_set_params"; u32 client_index; u32 context; vl_api_flowprobe_record_flags_t record_flags; u32 active_timer; /* ~0 is off, 0 is default */ u32 passive_timer; /* ~0 is off, 0 is default */ option vat_help = "record <[l2] [l3] [l4]> [active <timer> passive <timer>]"; }; /** \brief Set IPFIX flow record generation parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @param record_flags - flags indicating what data to record @param active_timer - time in seconds after which active flow records are to be exported (0 is "off", 0xffffffff is "use default value") @param passive_timer - time in seconds after which passive flow records are to be deleted (0 is "off", 0xffffffff is "use default value") */ autoreply define flowprobe_set_params { option in_progress; u32 client_index; u32 context; vl_api_flowprobe_record_flags_t record_flags; u32 active_timer [default=0xffffffff]; u32 passive_timer [default=0xffffffff]; option vat_help = "record [l2] [l3] [l4] [active <timer>] [passive <timer>]"; }; /** \brief Get IPFIX flow record generation parameters @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request */ define flowprobe_get_params { option in_progress; u32 client_index; u32 context; }; /** \brief Reply to get IPFIX flow record generation parameters @param context - sender context, to match reply w/ request @param retval - error (0 is "no error") @param record_flags - flags indicating what data to record @param active_timer - time in seconds after which active flow records are to be exported (0 is "off") @param passive_timer - time in seconds after which passive flow records are to be deleted (0 is "off") */ define flowprobe_get_params_reply { option in_progress; u32 context; i32 retval; vl_api_flowprobe_record_flags_t record_flags; u32 active_timer; u32 passive_timer; };