diff options
| author | Amol Lad <amol.lad@4rf.com> | 2021-03-03 16:11:56 +0530 |
|---|---|---|
| committer | Reuben Dowle <reuben.dowle@4rf.com> | 2021-03-18 16:35:41 +1300 |
| commit | 85365e51f095db530a2dc0cc6521d3c9c5acb972 (patch) | |
| tree | b75c6935ab37ee547ef93d3faf1776cd2947b99d /nhrpd/nhrpd.h | |
| parent | 94eae49d017d461dfa6b78693c41476c423d5c14 (diff) | |
nhrpd: Add Claimed NBMA field in sh ip nhrp cache output
Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
Diffstat (limited to 'nhrpd/nhrpd.h')
| -rw-r--r-- | nhrpd/nhrpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nhrpd/nhrpd.h b/nhrpd/nhrpd.h index b566fd65ad..c8dd3daeff 100644 --- a/nhrpd/nhrpd.h +++ b/nhrpd/nhrpd.h @@ -226,6 +226,7 @@ struct nhrp_cache { struct { enum nhrp_cache_type type; union sockunion remote_nbma_natoa; + union sockunion remote_nbma_claimed; struct nhrp_peer *peer; time_t expires; uint32_t mtu; @@ -385,7 +386,8 @@ void nhrp_cache_config_foreach(struct interface *ifp, void nhrp_cache_set_used(struct nhrp_cache *, int); int nhrp_cache_update_binding(struct nhrp_cache *, enum nhrp_cache_type type, int holding_time, struct nhrp_peer *p, - uint32_t mtu, union sockunion *nbma_natoa); + uint32_t mtu, union sockunion *nbma_natoa, + union sockunion *claimed_nbma); void nhrp_cache_notify_add(struct nhrp_cache *c, struct notifier_block *, notifier_fn_t); void nhrp_cache_notify_del(struct nhrp_cache *c, struct notifier_block *); |
