diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-12-25 10:32:11 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-30 16:59:22 +0300 |
commit | 068e64859913c6844bbe6703815a633175650547 (patch) | |
tree | 3efc0440477560ac6211f9da3bea3f812bb05270 /nhrpd/netlink.h | |
parent | 76aaa0456a3804a0a1d2948d9a391383b62cbe37 (diff) | |
download | quagga-nhrp.tar.bz2 quagga-nhrp.tar.xz |
initial implementation of nhrpnhrp
this is nhrp changes from commit c321432aef01e13116980983f0a50ba486505804
rebased on quagga master and updated for vrf changes
Diffstat (limited to 'nhrpd/netlink.h')
-rw-r--r-- | nhrpd/netlink.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nhrpd/netlink.h b/nhrpd/netlink.h new file mode 100644 index 00000000..22850935 --- /dev/null +++ b/nhrpd/netlink.h @@ -0,0 +1,21 @@ +/* NHRP netlink/neighbor table API + * Copyright (c) 2014-2015 Timo Teräs + * + * This file is free software: you may copy, redistribute and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + */ + +union sockunion; +struct interface; + +extern int netlink_nflog_group; + +int netlink_init(void); +int netlink_configure_arp(unsigned int ifindex, int pf); +void netlink_update_binding(struct interface *ifp, union sockunion *proto, union sockunion *nbma); +void netlink_set_nflog_group(int nlgroup); + +void netlink_gre_get_info(unsigned int ifindex, uint32_t *gre_key, unsigned int *link_index, struct in_addr *saddr); +void netlink_gre_set_link(unsigned int ifindex, unsigned int link_index); |