Go to the source code of this file.
typedef walk_rc_t(* pipe_cb_fn_t) (u32 parent_sw_if_index, u32 pipe_sw_if_index[2], u32 instance, void *ctx) |
Call back function when walking all the pipes.
Definition at line 55 of file pipe.h.
represenation of a pipe interface
Get the pipe instnace based on one end.
Definition at line 95 of file pipe.c.
Walk all the of pipe interfaces.
Definition at line 658 of file pipe.c.
int vnet_create_pipe_interface |
( |
u8 |
is_specified, |
|
|
u32 |
user_instance, |
|
|
u32 * |
parent_sw_if_index, |
|
|
u32 |
pipe_sw_if_index[2] |
|
) |
| |
Create a new pipe interface.
- Parameters
-
is_specified | Has the user speficied a desired instance number |
user_instance | The user's desired instnace |
parent_sw_index | OUT the created parent interface |
pipe_sw_if_index | OUT the ends of the pipe |
Definition at line 540 of file pipe.c.
int vnet_delete_pipe_interface |
( |
u32 |
parent_sw_if_index | ) |
|