mirror_frr/zebra
Donald Sharp 1485bbe755 zebra: Add code to track sequence number from zebra_router
The sequence number used should be unique and increase by 1
for netlink commands.  This will allow the code to match
up batched commands to actual requests, so that we can signal
the failure correctly back.

So start the movement and tracking of sequence numbers as
an atomic uint32_t in zebra_router.  Modify the dataplane
code to start tracking contexts from this value.

In future commits we will move more of the sequencing
data into using this value.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-01-24 08:02:39 -05:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
connected.c lib: convert prefixlen to 16-bit integer 2018-10-15 15:45:19 +00:00
connected.h lib: convert prefixlen to 16-bit integer 2018-10-15 15:45:19 +00:00
debug.c zebra: resolve style issues in dplane commit 2018-10-25 08:34:30 -04:00
debug.h zebra: add 'debug dplane' support and cli 2018-09-19 18:34:25 -04:00
if_ioctl_solaris.c lib: retrofit interface commands to the new northbound model 2018-10-27 16:16:12 -02:00
if_ioctl.c lib: retrofit interface commands to the new northbound model 2018-10-27 16:16:12 -02:00
if_netlink.c Merge pull request #3508 from chiragshah6/evpn_dev2 2019-01-23 13:44:46 -05:00
if_netlink.h zebra: Remove unnecessary function parameter 2018-05-24 09:14:43 -04:00
if_sysctl.c *: spelchek 2018-10-25 20:10:57 +02:00
interface.c Merge pull request #3326 from qlyoung/fix-lla-reinstallation 2018-11-15 14:58:51 +01:00
interface.h zebra: Let zebra know about bond and blond slave intf types 2018-11-12 11:40:33 -05:00
ioctl_solaris.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
ioctl_solaris.h *: reindent 2017-07-17 14:04:07 +02:00
ioctl.c zebra: don't log errors on unsupported medias 2018-12-05 17:22:56 -02:00
ioctl.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ipforward_proc.c zebra: fix includes 2018-09-06 20:56:41 +00:00
ipforward_solaris.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
ipforward_sysctl.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
ipforward.h *: reindent 2017-07-17 14:04:07 +02:00
irdp_interface.c Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
irdp_main.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
irdp_packet.c *: spelchek 2018-10-25 20:10:57 +02:00
irdp.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
kernel_netlink.c Merge pull request #3508 from chiragshah6/evpn_dev2 2019-01-23 13:44:46 -05:00
kernel_netlink.h zebra: rebase dataplane, align with master 2018-10-25 08:57:04 -04:00
kernel_socket.c zebra: use rta_getattr for NETMASK 2019-01-22 09:33:38 -02:00
kernel_socket.h zebra: cleanup blackhole support 2017-08-28 05:07:51 +02:00
label_manager.c Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
label_manager.h lib, zebra: fix formatting and style 2018-05-08 18:37:05 +02:00
main.c zebra: start the netns notification mechanism after ns initialisation 2019-01-09 18:31:16 +01:00
Makefile build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
redistribute.c zebra: fix checking of clients subscribed to receive interface info 2019-01-18 16:06:00 -02:00
redistribute.h zebra: resolve style issues in dplane commit 2018-10-25 08:34:30 -04:00
rib.h zebra: Modify the status flag to 32 bits, add more flags 2019-01-11 11:48:14 -05:00
router-id.c zebra: improve identification of loopback interfaces in the router-id code 2018-11-17 21:33:37 -02:00
router-id.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rt_netlink.c Merge pull request #3508 from chiragshah6/evpn_dev2 2019-01-23 13:44:46 -05:00
rt_netlink.h Merge pull request #3508 from chiragshah6/evpn_dev2 2019-01-23 13:44:46 -05:00
rt_socket.c zebra: fix routing socket logic for labelled nexthops 2019-01-22 15:07:24 -05:00
rt.h Merge pull request #3508 from chiragshah6/evpn_dev2 2019-01-23 13:44:46 -05:00
rtadv.c zebra: Move rtadv to zebra_router 2018-10-24 06:54:30 -04:00
rtadv.h Revert "zebra: implement draft-bz-v4goawayflag-00" 2018-04-02 15:26:06 -04:00
rtread_getmsg.c zebra: evpn remote delete fetch local entry 2018-12-31 14:40:31 -08:00
rtread_netlink.c zebra: evpn remote delete fetch local entry 2018-12-31 14:40:31 -08:00
rtread_sysctl.c zebra: evpn remote delete fetch local entry 2018-12-31 14:40:31 -08:00
rule_netlink.c zebra: Create zebra_dplane.c and .h 2018-09-19 18:29:55 -04:00
rule_netlink.h zebra: Remove unnecessary function parameter 2018-05-24 09:14:43 -04:00
rule_socket.c zebra: Create zebra_dplane.c and .h 2018-09-19 18:29:55 -04:00
subdir.am zebra: Add test and show commands for mlag 2019-01-04 12:21:00 -05:00
table_manager.c *: list_delete_and_null() -> list_delete() 2018-10-02 11:40:52 +02:00
table_manager.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
testrib.conf zebra: Build the test client, can be useful, and add IPv6 to testrib.conf 2016-05-26 01:13:58 +00:00
zapi_msg.c Merge pull request #3630 from opensourcerouting/fix-show-import-check 2019-01-22 20:10:56 -05:00
zapi_msg.h zebra: revise struct names to resolve review comments 2018-10-25 08:57:04 -04:00
zebra_dplane.c zebra: Add code to track sequence number from zebra_router 2019-01-24 08:02:39 -05:00
zebra_dplane.h zebra: infra for LSP updates using dplane 2019-01-22 12:02:20 -05:00
zebra_errors.c zebra: reject routes without nexthops 2019-01-14 15:58:26 -02:00
zebra_errors.h zebra: reject routes without nexthops 2019-01-14 15:58:26 -02:00
zebra_fpm_dt.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_fpm_netlink.c zebra: Start abstraction of zebra_dplane_info for context passing 2018-09-19 18:34:25 -04:00
zebra_fpm_private.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_protobuf.c *: fix clang-6 SA warnings 2018-09-08 20:34:35 +02:00
zebra_fpm.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zebra_l2.c zebra: Let zebra know about bond and blond slave intf types 2018-11-12 11:40:33 -05:00
zebra_l2.h zebra: Let zebra know about bond and blond slave intf types 2018-11-12 11:40:33 -05:00
zebra_memory.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_memory.h zebra: start sketching dataplane provider api 2018-10-25 08:34:30 -04:00
zebra_mlag.c zebra: Add test and show commands for mlag 2019-01-04 12:21:00 -05:00
zebra_mlag.h zebra: Add a retrieve the mlag role function 2019-01-04 12:21:00 -05:00
zebra_mpls_netlink.c zebra: openbsd LSP update code 2019-01-22 15:07:24 -05:00
zebra_mpls_null.c zebra: remove use of sync LSP update apis 2019-01-22 15:07:24 -05:00
zebra_mpls_openbsd.c zebra: openbsd LSP update code 2019-01-22 15:07:24 -05:00
zebra_mpls_vty.c bgpd, ospfd, pimd, zebra: Convert more use_json locations to bool 2018-09-04 17:39:04 +00:00
zebra_mpls.c zebra: Fix compile issues introduced by recent commit on newer compilers 2019-01-22 20:55:55 -05:00
zebra_mpls.h zebra: move LSP updates into dataplane subsystem 2019-01-22 13:56:48 -05:00
zebra_mroute.c zebra: Add some additional vrf debug for retrieving mroute info 2018-09-17 09:22:31 -04:00
zebra_mroute.h zebra: standardize ZAPI message handler args 2018-03-12 14:57:05 -04:00
zebra_netns_id.c zebra: dead code (Coverity 1465497) 2018-10-02 15:45:44 +02:00
zebra_netns_id.h zebra: upon startup, a NSID is assigned to default netns 2018-02-27 11:11:24 +01:00
zebra_netns_notify.c Merge pull request #3511 from pguibert6WIND/handle_multiple_netns_delete_event 2019-01-10 19:21:34 -05:00
zebra_netns_notify.h zebra: collect and get netnamespaces information 2018-02-27 11:11:24 +01:00
zebra_ns.c zebra: start the netns notification mechanism after ns initialisation 2019-01-09 18:31:16 +01:00
zebra_ns.h zebra: start the netns notification mechanism after ns initialisation 2019-01-09 18:31:16 +01:00
zebra_pbr.c zebra: Remove _wrap_script from hook names 2018-10-24 06:54:30 -04:00
zebra_pbr.h zebra: Remove _wrap_script from hook names 2018-10-24 06:54:30 -04:00
zebra_ptm_redistribute.c zebra: fix checking of clients subscribed to receive interface info 2019-01-18 16:06:00 -02:00
zebra_ptm_redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm.c zebra_ptm: Introduce IS_BFD_ENABLED_PROTOCOL macro 2018-10-05 14:04:15 +02:00
zebra_ptm.h zebra_ptm: Add IS-IS and OpenFabric as protocols supporting BFD 2018-10-05 14:04:27 +02:00
zebra_pw.c zebra: flog_warn conversion 2018-09-06 20:56:38 +00:00
zebra_pw.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_rib.c Merge pull request #3630 from opensourcerouting/fix-show-import-check 2019-01-22 20:10:56 -05:00
zebra_rnh.c zebra: remove dead macro 2019-01-21 13:26:54 -02:00
zebra_rnh.h zebra: consolidate how we indentify address-families in the NHT code 2019-01-21 13:26:36 -02:00
zebra_routemap.c Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
zebra_routemap.h zebra: consolidate how we indentify address-families in the NHT code 2019-01-21 13:26:36 -02:00
zebra_router.c zebra: Add code to track sequence number from zebra_router 2019-01-24 08:02:39 -05:00
zebra_router.h zebra: Add code to track sequence number from zebra_router 2019-01-24 08:02:39 -05:00
zebra_snmp.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_vrf.c zebra: Store actual safi in info pointer and don't free then remalloc 2019-01-04 08:42:03 -05:00
zebra_vrf.h zebra: move LSP updates into dataplane subsystem 2019-01-22 13:56:48 -05:00
zebra_vty.c zebra: merge four "show ip nht" commands into a single DEFPY 2019-01-21 13:26:54 -02:00
zebra_vxlan_private.h zebra: dup addr detect operation commands 2018-11-17 19:22:17 -08:00
zebra_vxlan.c Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
zebra_vxlan.h Treewide: use ANSI function definitions 2019-01-24 11:21:59 +01:00
zebra.conf.sample *: Remove cvs control points 2017-12-05 17:28:12 -05:00
zserv.c zebra, lib: send VRF backend to the client daemons 2019-01-19 22:46:37 -02:00
zserv.h lib, zebra: add AFI parameter to the ZEBRA_REDISTRIBUTE_DEFAULT_* messages 2019-01-14 11:41:33 -02:00