FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
src/vnet/devices/tap

create tap

Summary/usage

create tap {id <if-id>} [hw-addr <mac-address>] [rx-ring-size <size>] [tx-ring-size <size>] [host-ns <netns>] [host-bridge <bridge-name>] [host-ip4-addr <ip4addr/mask>] [host-ip6-addr <ip6-addr>] [host-ip4-gw <ip4-addr>] [host-ip6-gw <ip6-addr>] [host-if-name <name>].

Declaration and implementation

Declaration: tap_create_command (src/vnet/devices/tap/cli.c line 106)

Implementation: tap_create_command_fn.

delete tap

Summary/usage

delete tap {<interface> | sw_if_index <sw_idx>}.

Declaration and implementation

Declaration: tap_delete__command (src/vnet/devices/tap/cli.c line 157)

Implementation: tap_delete_command_fn.