Change-Id: I69fee1dcf07a4d2eed69a59f0a36e63e3741ed4e
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
u64 lpc;
u64 polynomial_public;
u8 list_name_len;
- u8 list_name[0];
+ u8 list_name[list_name_len];
};
/** \brief Proof of Transit(POT): Activate POT profile in the list
u32 context;
u8 id;
u8 list_name_len;
- u8 list_name[0];
+ u8 list_name[list_name_len];
};
/** \brief Delete POT Profile
u32 client_index;
u32 context;
u8 list_name_len;
- u8 list_name[0];
+ u8 list_name[list_name_len];
};
/** \brief Show POT Profiles
u8 auth_method;
u8 is_hex;
u32 data_len;
- u8 data[0];
+ u8 data[data_len];
};
/** \brief IKEv2: Set IKEv2 profile local/remote identification
u8 is_local;
u8 id_type;
u32 data_len;
- u8 data[0];
+ u8 data[data_len];
};
/** \brief IKEv2: Set IKEv2 profile traffic selector parameters
u8 nh_addr[16];
};
+typeonly define sr_ip6_address
+{
+ u8 data[16];
+};
+
/** \brief IPv6 SR policy add
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
u8 type;
u32 fib_table;
u8 n_segments;
- u8 segments[0];
+ vl_api_sr_ip6_address_t segments[n_segments];
};
/** \brief IPv6 SR policy modification
u32 sl_index;
u32 weight;
u8 n_segments;
- u8 segments[0];
+ vl_api_sr_ip6_address_t segments[n_segments];
};
/** \brief IPv6 SR policy deletion