summaryrefslogtreecommitdiffstats
path: root/src/plugins/linux-cp/lcp_interface.h
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-05-21 09:47:08 +0000
committerMatthew Smith <mgsmith@netgate.com>2021-05-25 14:34:57 +0000
commit6bb77dec7074e6b7b27d6bc94238bcddda375a66 (patch)
tree44316c04ad5870fa64acd595a074ed02de539613 /src/plugins/linux-cp/lcp_interface.h
parent01930f568a2472a3352ab80ea1d3b4cccf4ae0c7 (diff)
linux-cp: A V2 variant of pair create API that returns the host
interface created Type: improvement Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: I31a83cd50513078895078bae3ae11372d351ddcd
Diffstat (limited to 'src/plugins/linux-cp/lcp_interface.h')
-rw-r--r--src/plugins/linux-cp/lcp_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/linux-cp/lcp_interface.h b/src/plugins/linux-cp/lcp_interface.h
index d2f19e8481b..be566a07cb6 100644
--- a/src/plugins/linux-cp/lcp_interface.h
+++ b/src/plugins/linux-cp/lcp_interface.h
@@ -98,7 +98,8 @@ extern int lcp_itf_pair_del (u32 phy_sw_if_index);
* @return error code
*/
extern int lcp_itf_pair_create (u32 phy_sw_if_index, u8 *host_if_name,
- lip_host_type_t host_if_type, u8 *ns);
+ lip_host_type_t host_if_type, u8 *ns,
+ u32 *host_sw_if_indexp);
/**
* Delete a LCP_ITF_PAIR