FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
netmap.api
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015-2016 Cisco and/or its affiliates.
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at:
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
option
version
=
"1.0.0"
;
17
18
/** \brief Create netmap
19
@param client_index - opaque cookie to identify the sender
20
@param context - sender context, to match reply w/ request
21
@param netmap_if_name - interface name
22
@param hw_addr - interface MAC
23
@param use_random_hw_addr - use random generated MAC
24
@param is_pipe - is pipe
25
@param is_master - 0=slave, 1=master
26
*/
27
autoreply define netmap_create
28
{
29
u32
client_index
;
30
u32
context
;
31
32
u8
netmap_if_name[64];
33
u8
hw_addr[6];
34
u8
use_random_hw_addr
;
35
u8
is_pipe
;
36
u8
is_master
;
37
};
38
39
/** \brief Delete netmap
40
@param client_index - opaque cookie to identify the sender
41
@param context - sender context, to match reply w/ request
42
@param netmap_if_name - interface name
43
*/
44
autoreply define netmap_delete
45
{
46
u32
client_index
;
47
u32
context
;
48
49
u8
netmap_if_name[64];
50
};
51
52
/*
53
* Local Variables:
54
* eval: (c-set-style "gnu")
55
* End:
56
*/
vl_api_netmap_create_t::is_master
u8 is_master
Definition:
netmap.api:36
vl_api_netmap_create_t::use_random_hw_addr
u8 use_random_hw_addr
Definition:
netmap.api:34
u8
unsigned char u8
Definition:
types.h:56
u32
unsigned int u32
Definition:
types.h:88
vl_api_netmap_delete_t::client_index
u32 client_index
Definition:
netmap.api:46
vl_api_netmap_create_t::is_pipe
u8 is_pipe
Definition:
netmap.api:35
vl_api_netmap_create_t::context
u32 context
Definition:
netmap.api:30
vl_api_netmap_create_t::client_index
u32 client_index
Definition:
netmap.api:29
version
option version
Definition:
netmap.api:16
vl_api_netmap_delete_t::context
u32 context
Definition:
netmap.api:47
src
vnet
devices
netmap
netmap.api
Generated on Mon Jun 29 2020 12:02:53 for FD.io VPP by
1.8.13