summaryrefslogtreecommitdiff
path: root/nest/locks.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-09-12 15:49:36 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-09-12 15:49:36 +0200
commit9f4908fe78cb3e5191bca721588ee1acb10876e3 (patch)
tree93a6d5858e941ebec3b7acc99e6225b5011176bc /nest/locks.h
parent943478b00f585725c3e7406909ee867dcfac5f87 (diff)
Nest: VRF support for neighbor cache and olock code
Actually much simpler than expected.
Diffstat (limited to 'nest/locks.h')
-rw-r--r--nest/locks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/locks.h b/nest/locks.h
index 3d58c8ed..37026c68 100644
--- a/nest/locks.h
+++ b/nest/locks.h
@@ -30,6 +30,7 @@ struct object_lock {
uint port; /* ... port number */
uint inst; /* ... instance ID */
struct iface *iface; /* ... interface */
+ struct iface *vrf; /* ... or VRF (if iface is unknown) */
void (*hook)(struct object_lock *); /* Called when the lock succeeds */
void *data; /* User data */
/* ... internal to lock manager, don't touch ... */