summaryrefslogtreecommitdiffstats
path: root/nhrpd/netlink.h
blob: f1143a2b5ebbddbb71d74dcebf299f1241b0ea4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 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.
 */

#include <zebra.h>
#include <vrf.h>
#include <if.h>


extern int netlink_nflog_group;
extern int netlink_mcast_nflog_group;

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);