source: src/router/quagga/nhrpd/netlink.h @ 31640

Last change on this file since 31640 was 31640, checked in by brainslayer, 4 months ago

update quagga

File size: 866 bytes
Line 
1/* NHRP netlink/neighbor table API
2 * Copyright (c) 2014-2015 Timo TerÀs
3 *
4 * This file is free software: you may copy, redistribute and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 */
9
10#include <stdint.h>
11
12union sockunion;
13struct interface;
14
15extern int netlink_nflog_group;
16extern int netlink_req_fd;
17
18int netlink_init(void);
19int netlink_configure_arp(unsigned int ifindex, int pf);
20void netlink_update_binding(struct interface *ifp, union sockunion *proto, union sockunion *nbma);
21void netlink_set_nflog_group(int nlgroup);
22
23void netlink_gre_get_info(unsigned int ifindex, uint32_t *gre_key, unsigned int *link_index, struct in_addr *saddr);
24void netlink_gre_set_link(unsigned int ifindex, unsigned int link_index);
Note: See TracBrowser for help on using the repository browser.