]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_ns.h
Merge pull request #13386 from donaldsharp/bgp_received_routes
[mirror_frr.git] / zebra / zebra_ns.h
index 0519e1d5b33d02de07c0a23d9e83c57943ffdd10..e759d522fa2de5e11a8a1f580143be24ee7582e0 100644 (file)
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Zebra NS header
  * Copyright (C) 2016 Cumulus Networks, Inc.
  *                    Donald Sharp
- *
- * This file is part of Quagga.
- *
- * Quagga is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2, or (at your option) any
- * later version.
- *
- * Quagga is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 #if !defined(__ZEBRA_NS_H__)
 #define __ZEBRA_NS_H__
@@ -39,6 +24,9 @@ struct nlsock {
        int seq;
        struct sockaddr_nl snl;
        char name[64];
+
+       uint8_t *buf;
+       size_t buflen;
 };
 #endif
 
@@ -58,7 +46,7 @@ struct zebra_ns {
         */
        struct nlsock netlink_dplane_out;
        struct nlsock netlink_dplane_in;
-       struct thread *t_netlink;
+       struct event *t_netlink;
 #endif
 
        struct route_table *if_table;