summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.api
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-08-15 12:29:48 -0700
committerDave Barach <openvpp@barachs.net>2017-08-16 13:32:39 +0000
commitd292ab1e0f600c20d380a93180cccb6226c220e3 (patch)
treefe008662a7b26ec3bdab404d9e6c0a13b61d8890 /src/vnet/interface.api
parent0e9c33bb5fef22be4db350a33bef1f7534123b04 (diff)
No context in SW interface event
At this pointin the game, events do not have an associated context. they have the client_index and pid instead. Change-Id: I5052cab78f710bba630a61d2390acbaa1b3813ab Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/interface.api')
-rw-r--r--src/vnet/interface.api6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api
index a18907065a5..7a3743dda6c 100644
--- a/src/vnet/interface.api
+++ b/src/vnet/interface.api
@@ -29,7 +29,8 @@ autoreply define sw_interface_set_mtu
};
/** \brief Interface Event generated by want_interface_events
- @param context - sender context, to match reply w/ request
+ @param client_index - opaque cookie to identify the sender
+ @param pid - client pid registered to receive notification
@param sw_if_index - index of the interface of the event
@param admin_up_down - The administrative state; 1 = up, 0 = down
@param link_up_down - The operational state; 1 = up, 0 = down
@@ -37,7 +38,8 @@ autoreply define sw_interface_set_mtu
*/
define sw_interface_event
{
- u32 context;
+ u32 client_index;
+ u32 pid;
u32 sw_if_index;
u8 admin_up_down;
u8 link_up_down;