diff options
author | 2015-12-17 20:54:54 -0500 | |
---|---|---|
committer | 2015-12-17 21:47:54 -0500 | |
commit | bf8c15e04273b6d49b4ef5409beb7cfb99b78d0d (patch) | |
tree | 426483a5200ee7954782954a5450b08bbceaf8c0 /vpp-japi/japi/vppjni.h | |
parent | 60231f35fa860228f31f40753d94e129e8432988 (diff) |
Add ODL honeycomb VPP agent extensions to vppjapi jni java library.
Change-Id: I084ffcf36fbac55c2862035d10b028e35e1e648d
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'vpp-japi/japi/vppjni.h')
-rw-r--r-- | vpp-japi/japi/vppjni.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/vpp-japi/japi/vppjni.h b/vpp-japi/japi/vppjni.h index c065016c..4973c0a6 100644 --- a/vpp-japi/japi/vppjni.h +++ b/vpp-japi/japi/vppjni.h @@ -84,6 +84,20 @@ typedef struct { } sw_interface_subif_t; typedef struct { + u8 *desc; +} sw_if_config_t; + +typedef struct { + u32 ip; + u8 prefix_length; +} ipv4_address_t; + +typedef struct { + u8 ip[16]; + u8 prefix_length; +} ipv6_address_t; + +typedef struct { u64 ip4; u64 ip6; u64 unicast; @@ -108,6 +122,14 @@ typedef struct { if_counters_t tx; } sw_interface_stats_t; +typedef struct { + u32 src_address; + u32 dst_address; + u32 encap_vrf_id; + u32 vni; + u32 decap_next_index; +} vxlan_tunnel_details_t; + typedef struct { /* Context IDs */ @@ -152,6 +174,8 @@ typedef struct { /* interface table */ sw_interface_details_t * sw_if_table; + uword * sw_if_config_by_sw_if_index; + /* interface indices of responses to one sw_if_dump request */ u8 collect_indices; u32 * sw_if_dump_if_indices; @@ -165,6 +189,14 @@ typedef struct { /* subinterface table */ sw_interface_subif_t * sw_if_subif_table; + /* used in ip_address_dump request and response handling */ + ipv4_address_t *ipv4_addresses; + ipv6_address_t *ipv6_addresses; + u8 is_ipv6; + + /* used in vxlan_tunnel_dump request and response handling */ + vxlan_tunnel_details_t *vxlan_tunnel_details; + /* main heap */ u8 * heap; |