![]() |
FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
Create or delete a GRE tunnel. More...
Data Fields | |
| u32 | client_index |
| u32 | context |
| u8 | is_add |
| u8 | is_ipv6 |
| u8 | tunnel_type |
| u32 | instance |
| u8 | src_address [16] |
| u8 | dst_address [16] |
| u32 | outer_fib_id |
| u16 | session_id |
Create or delete a GRE tunnel.
| client_index | - opaque cookie to identify the sender |
| context | - sender context, to match reply w/ request |
| is_add | - Use 1 to create the tunnel, 0 to remove it |
| is_ipv6 | - Use 0 for IPv4, 1 for IPv6 |
| tunnel_type | - 0: L3, 1: TEB, 2: ERSPAN |
| instance | - optional unique custom device instance, else ~0. |
| src_address | - Source IP address |
| dst_address | - Destination IP address, can be multicast |
| outer_fib_id | - Encap FIB table ID |
| session_id | - session for ERSPAN tunnel, range 0-1023 |