api: af_packet - Mark old message versions as deprecated

List of changed messages:
- af_packet_create
- af_packet_create_reply
- af_packet_create_v2
- af_packet_create_v2_reply

This change is part of VPP API cleanup initiative.

Type: fix
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Change-Id: Ia065c3bbc2c7923de64f47417099aea1aa1216b1
This commit is contained in:
Ondrej Fabry
2023-04-26 23:59:55 +02:00
committed by Dave Wallace
parent 74d9f0ae3b
commit fe965a3a17

View File

@ -27,6 +27,8 @@ import "vnet/ethernet/ethernet_types.api";
*/
define af_packet_create
{
option deprecated;
u32 client_index;
u32 context;
@ -41,6 +43,8 @@ define af_packet_create
*/
define af_packet_create_reply
{
option deprecated;
u32 context;
i32 retval;
vl_api_interface_index_t sw_if_index;
@ -61,6 +65,8 @@ define af_packet_create_reply
*/
define af_packet_create_v2
{
option deprecated;
u32 client_index;
u32 context;
@ -81,6 +87,8 @@ define af_packet_create_v2
*/
define af_packet_create_v2_reply
{
option deprecated;
u32 context;
i32 retval;
vl_api_interface_index_t sw_if_index;