mirror_frr/zebra
Donald Sharp 8c85e8ea92 zebra: Remove need for ACK for netlink messages
Kernel requests via netlink are synchronous.

Therefore we do not need to specify a need for a ACK and
we can make the netlink_cmd NONBLOCKING

1) If the netlink message is going to cause an error
we will still get one.  Since results from the kernel
are synchronous we will get the error message on the
netlink_cmd socket and handle it

2) If the netlink message is going to send more than
one packet we will still get them all.  Since the results
from the kernel are synchronous we will receive all data.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-07-12 22:43:06 -04:00
..
.gitignore *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
client_main.c zebra: fix error-prone array iterator 2018-04-17 13:58:24 -04:00
connected.c bgpd zebra: element overflow (PVS-Studio) 2018-07-02 19:06:54 +02:00
connected.h zebra: Fix crash with certain types of tunnels 2018-04-15 10:57:19 -04:00
debug.c zebra: PBR show debugging IPSET/IPTABLE hooks declared 2018-05-25 15:49:38 +02:00
debug.h zebra: PBR show debugging IPSET/IPTABLE hooks declared 2018-05-25 15:49:38 +02:00
GNOME-PRODUCT-ZEBRA-MIB Initial revision 2002-12-13 20:15:29 +00:00
GNOME-SMI Initial revision 2002-12-13 20:15:29 +00:00
if_ioctl_solaris.c zebra: Fix crash with certain types of tunnels 2018-04-15 10:57:19 -04:00
if_ioctl.c zebra: Fix crash with certain types of tunnels 2018-04-15 10:57:19 -04:00
if_netlink.c zebra: Add error messages in places where we have a decode problem 2018-06-25 10:02:48 -04:00
if_netlink.h zebra: Remove unnecessary function parameter 2018-05-24 09:14:43 -04:00
if_sysctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
interface.c zebra: re-install static routes needed vrf when the vrf intf comes up 2018-06-18 11:38:45 +00:00
interface.h zebra: Notice when our neighbor entry is removed and fight back 2018-04-09 08:04:39 -04:00
ioctl_solaris.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ioctl_solaris.h *: reindent 2017-07-17 14:04:07 +02:00
ioctl.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ioctl.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ipforward_proc.c bgpd, zebra: Use sscanf return value 2017-12-04 21:28:19 -05:00
ipforward_solaris.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward_sysctl.c configure, zebra: Kame is not responsible for on/off of v6 forwarding 2017-12-05 17:26:32 -05:00
ipforward.h *: reindent 2017-07-17 14:04:07 +02:00
irdp_interface.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
irdp_main.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
irdp_packet.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
irdp.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
kernel_netlink.c zebra: Remove need for ACK for netlink messages 2018-07-12 22:43:06 -04:00
kernel_netlink.h zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
kernel_socket.c bgpd, zebra: Handle EVPN router MAC per next hop 2018-05-08 19:24:15 -04:00
kernel_socket.h zebra: cleanup blackhole support 2017-08-28 05:07:51 +02:00
label_manager.c zebra: rebase zserv-mt 2018-05-29 19:06:43 +00:00
label_manager.h lib, zebra: fix formatting and style 2018-05-08 18:37:05 +02:00
main.c zebra: refactor zserv names, consolidate events 2018-05-29 19:06:16 +00:00
Makefile build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
redistribute.c zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
redistribute.h zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
rib.h zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
router-id.c zebra: clean up zapi organization 2018-04-22 22:50:24 -04:00
router-id.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rt_netlink.c Merge pull request #2595 from pguibert6WIND/fix_netlink_rx_route_vrfnetns 2018-07-12 22:22:34 -04:00
rt_netlink.h Merge pull request #2283 from donaldsharp/ignore_some_more 2018-05-27 11:02:15 -04:00
rt_socket.c zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
rt.h zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
rtadv.c bgpd zebra: element overflow (PVS-Studio) 2018-07-02 19:06:54 +02:00
rtadv.h Revert "zebra: implement draft-bz-v4goawayflag-00" 2018-04-02 15:26:06 -04:00
rtread_getmsg.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
rtread_netlink.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
rtread_sysctl.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
rule_netlink.c zebra: Add error messages in places where we have a decode problem 2018-06-25 10:02:48 -04:00
rule_netlink.h zebra: Remove unnecessary function parameter 2018-05-24 09:14:43 -04:00
rule_socket.c zebra: Add knowledge of request success/failure for pbr rules 2018-05-30 08:05:28 -04:00
subdir.am build: append -std=gnu99 after SNMP_CFLAGS 2018-06-02 22:12:57 -03:00
table_manager.c zebra: refactor zserv names, consolidate events 2018-05-29 19:06:16 +00: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 #2595 from pguibert6WIND/fix_netlink_rx_route_vrfnetns 2018-07-12 22:22:34 -04:00
zapi_msg.h zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
zebra_fpm_dt.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_fpm_netlink.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_fpm_private.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_protobuf.c zebra: Set "has" flags on optional scalar fields of FPM protobuf messages 2018-03-29 19:09:43 +03:00
zebra_fpm.c *: conform with COMMUNITY.md formatting rules, via 'make indent' 2018-03-06 14:04:32 -05:00
zebra_l2_null.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2.c *: use the FOR_ALL_INTERFACES abstraction from babeld 2017-10-10 09:05:46 -03:00
zebra_l2.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_memory.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_memory.h zebra: Refactor 'struct rib' to be 'struct route_entry' 2017-06-01 08:00:05 -04:00
zebra_mpls_netlink.c zebra: Add enum dp_req_result to lsp install/deletes 2018-05-30 08:05:29 -04:00
zebra_mpls_null.c zebra: Add enum dp_req_result to lsp install/deletes 2018-05-30 08:05:29 -04:00
zebra_mpls_openbsd.c zebra: Add enum dp_req_result to lsp install/deletes 2018-05-30 08:05:29 -04:00
zebra_mpls_vty.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_mpls.c zebra: mpls entry interface lookup adaptation for vrf backend 2018-07-10 17:32:36 +02:00
zebra_mpls.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_mroute.c zebra: refactor zserv names, consolidate events 2018-05-29 19:06:16 +00:00
zebra_mroute.h zebra: standardize ZAPI message handler args 2018-03-12 14:57:05 -04:00
zebra_netns_id.c zebra: flow control (Coverity 1462467 1465497) 2018-06-21 17:09:04 +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 lib zebra: str-z check (2) (Coverity 1465494) 2018-06-27 14:22:01 +02:00
zebra_netns_notify.h zebra: collect and get netnamespaces information 2018-02-27 11:11:24 +01:00
zebra_ns.c zebra: ns_table list is extended to support multiple NETNS 2018-06-01 15:24:13 +02:00
zebra_ns.h zebra: ns_table list is extended to support multiple NETNS 2018-06-01 15:24:13 +02:00
zebra_pbr.c zebra: handle policy routing fragment handling 2018-06-28 11:08:58 +02:00
zebra_pbr.h zebra: handle policy routing fragment handling 2018-06-28 11:08:58 +02:00
zebra_ptm_redistribute.c zebra: refactor zserv names, consolidate events 2018-05-29 19:06:16 +00:00
zebra_ptm_redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm.c zebra: refactor zserv names, consolidate events 2018-05-29 19:06:16 +00:00
zebra_ptm.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_pw.c zebra: refactor zserv names, consolidate events 2018-05-29 19:06:16 +00:00
zebra_pw.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_rib.c zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
zebra_rnh.c zebra: refactor zserv names, consolidate events 2018-05-29 19:06:16 +00:00
zebra_rnh.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_routemap.c zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
zebra_routemap.h zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
zebra_snmp.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_static.c zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
zebra_static.h zebra, libs: use const prefix ptrs in apis 2018-07-11 09:22:49 -04:00
zebra_vrf.c zebra: duplicate nexthops for cross-vrf static routes on vrf bounce 2018-07-02 14:01:33 +00:00
zebra_vrf.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_vty.c zebra: Hide default vrf instance of l3vni cmd 2018-06-15 15:42:20 -07:00
zebra_vxlan_null.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_vxlan_private.h zebra: Cleanup some nits from Review Comments 2018-05-21 07:18:18 -04:00
zebra_vxlan.c zebra: resource leak fix (Coverity 1453454) 2018-06-08 19:18:49 +02:00
zebra_vxlan.h bgpd, zebra: Handle EVPN router MAC per next hop 2018-05-08 19:24:15 -04:00
zebra.conf.sample *: Remove cvs control points 2017-12-05 17:28:12 -05:00
zserv.c zebra: Fix function call in fuzzing code 2018-07-12 12:39:13 -04:00
zserv.h zebra: fix race condition in i/o pthread shutdown 2018-05-29 19:06:46 +00:00