diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-17 22:01:36 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-17 22:01:36 -0500 |
| commit | 1498c0593a75a6beabafbb8ed2b19a9c11bee250 (patch) | |
| tree | 6c2fc7f7726c22180b838c142cdf7826207162f6 /zebra/kernel_null.c | |
| parent | 8175a5464965cc942616bd0220f161aab62da3ed (diff) | |
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_null.c')
| -rw-r--r-- | zebra/kernel_null.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/kernel_null.c b/zebra/kernel_null.c index a20597882c..896ca96b48 100644 --- a/zebra/kernel_null.c +++ b/zebra/kernel_null.c @@ -60,3 +60,5 @@ int kernel_neigh_update (int a, int b, uint32_t c, char *d, int e) void kernel_init (struct zebra_ns *zns) { return; } void kernel_terminate (struct zebra_ns *zns) { return; } void route_read (struct zebra_ns *zns) { return; } + +int kernel_get_ipmr_sg_stats (void *m) { return 0; } |
