From 1498c0593a75a6beabafbb8ed2b19a9c11bee250 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 17 Jan 2017 22:01:36 -0500 Subject: zebra: Allow the collection of sg stats on more platforms. The code to collect the sg stats was written for linux. Abstract the call to allow it to work on all platforms. I have not implemented the call for non-linux systems. Signed-off-by: Donald Sharp --- zebra/rt_socket.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'zebra/rt_socket.c') diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index b2c99d9813..404bdef57d 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -416,3 +416,9 @@ kernel_neigh_update (int add, int ifindex, uint32_t addr, char *lla, int llalen) /* TODO */ return 0; } + +extern void +kernel_get_ipmr_sg_stats (void *mroute) +{ + return; +} -- cgit v1.2.3