package
0.8.0
Repository: https://github.com/alkiranet/govpp.git
Documentation: pkg.go.dev

# Functions

Messages returns list of all messages in this module.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Enable or disable detailed interface stats - sw_if_index - The interface to collect detail stats on.
CollectDetailedInterfaceStatsReply defines message 'collect_detailed_interface_stats_reply'.
Create loopback interface request - mac_address - mac addr to assign to the interface if none-zero CreateLoopback defines message 'create_loopback'.
Create loopback interface instance request - mac_address - mac addr to assign to the interface if none-zero - is_specified - if non-0, a specific user_instance is being requested - user_instance - requested instance, ~0 => dynamically allocate CreateLoopbackInstance defines message 'create_loopback_instance'.
Create loopback interface instance response - sw_if_index - sw index of the interface that was created - retval - return code for the request CreateLoopbackInstanceReply defines message 'create_loopback_instance_reply'.
Create loopback interface response - sw_if_index - sw index of the interface that was created - retval - return code for the request CreateLoopbackReply defines message 'create_loopback_reply'.
CreateSubif defines message 'create_subif'.
CreateSubifReply defines message 'create_subif_reply'.
Create a new subinterface with the given vlan id - sw_if_index - software index of the new vlan's parent interface - vlan_id - vlan tag of the new interface CreateVlanSubif defines message 'create_vlan_subif'.
Reply for the vlan subinterface create request - retval - return code - sw_if_index - software index allocated for the new subinterface CreateVlanSubifReply defines message 'create_vlan_subif_reply'.
Delete loopback interface request - sw_if_index - sw index of the interface that was created DeleteLoopback defines message 'delete_loopback'.
DeleteLoopbackReply defines message 'delete_loopback_reply'.
Delete sub interface request - sw_if_index - sw index of the interface that was created by create_subif DeleteSubif defines message 'delete_subif'.
DeleteSubifReply defines message 'delete_subif_reply'.
Set interface physical MTU - sw_if_index - index of the interface to set MTU on - mtu - MTU HwInterfaceSetMtu defines message 'hw_interface_set_mtu'.
HwInterfaceSetMtuReply defines message 'hw_interface_set_mtu_reply'.
/* Gross kludge, DGMS InterfaceNameRenumber defines message 'interface_name_renumber'.
InterfaceNameRenumberReply defines message 'interface_name_renumber_reply'.
PcapTraceOff defines message 'pcap_trace_off'.
PcapTraceOffReply defines message 'pcap_trace_off_reply'.
pcap_trace_on - capture_rx - capture received packets - capture_tx - capture transmitted packets - capture_drop - capture dropped packets - filter - is a filter is being used on this capture - preallocate_data - preallocate the data buffer - free_data - free the data buffer - max_packets - depth of local buffer - max_bytes_per_packet - maximum number of bytes to capture for each packet - sw_if_index - specify a given interface, or 0 for any - error - filter packets based on a specific error.
PcapTraceOnReply defines message 'pcap_trace_on_reply'.
Set or delete one or all ip addresses on a specified interface - sw_if_index - index of the interface to add/del addresses - is_add - add address if non-zero, else delete - del_all - if non-zero delete all addresses on the interface - prefix - address + a prefix length for the implied connected route SwInterfaceAddDelAddress defines message 'sw_interface_add_del_address'.
SwInterfaceAddDelAddressReply defines message 'sw_interface_add_del_address_reply'.
Add or delete a secondary MAC address on an interface - sw_if_index - the interface whose MAC will be set - mac_addr - the new MAC address - is_add - 0 to delete, != 0 to add SwInterfaceAddDelMacAddress defines message 'sw_interface_add_del_mac_address'.
SwInterfaceAddDelMacAddressReply defines message 'sw_interface_add_del_mac_address_reply'.
IP interface address replace begin The use-case is that, for some unspecified reason, the control plane has a different set of interface addresses than VPP currently has.
SwInterfaceAddressReplaceBeginReply defines message 'sw_interface_address_replace_begin_reply'.
IP interface address replace end see ip_interface_address_replace_begin description.
SwInterfaceAddressReplaceEndReply defines message 'sw_interface_address_replace_end_reply'.
Clear interface statistics - sw_if_index - index of the interface to clear statistics SwInterfaceClearStats defines message 'sw_interface_clear_stats'.
SwInterfaceClearStatsReply defines message 'sw_interface_clear_stats_reply'.
Interface details structure (fix this) - sw_if_index - index of the interface - sup_sw_if_index - index of parent interface if any, else same as sw_if_index - l2_address - the interface's l2 address - flags - interface_status flags - type - interface type - link_duplex - 1 if half duplex, 2 if full duplex - link_speed - value in kbps - link_MTU - max.
Request all or filtered subset of sw_interface_details - sw_if_index - index of the interface to dump info on, 0 or ~0 if on all TODO: Support selecting only index==0 when CSIT is ready.
Interface Event generated by want_interface_events - pid - client pid registered to receive notification - sw_if_index - index of the interface of the event - flags - interface_status flags - deleted - interface was deleted SwInterfaceEvent defines message 'sw_interface_event'.
Get interface's MAC address - sw_if_index - the interface whose MAC will be returned SwInterfaceGetMacAddress defines message 'sw_interface_get_mac_address'.
Reply for get interface's MAC address request - retval - return code - mac_addr - returned interface's MAC address SwInterfaceGetMacAddressReply defines message 'sw_interface_get_mac_address_reply'.
Get VRF id assigned to interface - sw_if_index - index of the interface SwInterfaceGetTable defines message 'sw_interface_get_table'.
Reply to get_sw_interface_vrf - vrf_id - VRF id assigned to the interface SwInterfaceGetTableReply defines message 'sw_interface_get_table_reply'.
show the interface's queue - thread placement This api is used to display the interface and queue worker thread placement.
dump the rx queue placement of interface(s) - sw_if_index - optional interface index for which queue placement to be requested.
Set flags on the interface - sw_if_index - index of the interface to set flags on - flags - interface_status flags (only IF_STATUS_API_FLAG_ADMIN_UP used in config) SwInterfaceSetFlags defines message 'sw_interface_set_flags'.
SwInterfaceSetFlagsReply defines message 'sw_interface_set_flags_reply'.
Set custom interface name Set custom interface name for the interface.
SwInterfaceSetInterfaceNameReply defines message 'sw_interface_set_interface_name_reply'.
Set IP4 directed broadcast The directed broadcast enabled a packet sent to the interface's subnet address will be broadcast on the interface - sw_if_index - enable SwInterfaceSetIPDirectedBroadcast defines message 'sw_interface_set_ip_directed_broadcast'.
SwInterfaceSetIPDirectedBroadcastReply defines message 'sw_interface_set_ip_directed_broadcast_reply'.
Set an interface's MAC address - sw_if_index - the interface whose MAC will be set - mac_addr - the new MAC address SwInterfaceSetMacAddress defines message 'sw_interface_set_mac_address'.
SwInterfaceSetMacAddressReply defines message 'sw_interface_set_mac_address_reply'.
Set interface L3 MTU SwInterfaceSetMtu defines message 'sw_interface_set_mtu'.
SwInterfaceSetMtuReply defines message 'sw_interface_set_mtu_reply'.
Set interface promiscuous mode - sw_if_index - index of the interface to set flags on - promisc_on - promiscuous mode is on ? SwInterfaceSetPromisc defines message 'sw_interface_set_promisc'.
SwInterfaceSetPromiscReply defines message 'sw_interface_set_promisc_reply'.
Set an interface's rx-mode - sw_if_index - the interface whose rx-mode will be set - queue_id_valid - 1 = the queue_id field is valid.
SwInterfaceSetRxModeReply defines message 'sw_interface_set_rx_mode_reply'.
Set an interface's rx-placement Rx-Queue placement on specific thread is operational for only hardware interface.
SwInterfaceSetRxPlacementReply defines message 'sw_interface_set_rx_placement_reply'.
Associate the specified interface with a fib table - sw_if_index - index of the interface - is_ipv6 - if non-zero ipv6, else ipv4 - vrf_id - fib table/vrf id to associate the interface with SwInterfaceSetTable defines message 'sw_interface_set_table'.
SwInterfaceSetTableReply defines message 'sw_interface_set_table_reply'.
Set an interface's tx-placement Tx-Queue placement on specific thread is operational for only hardware interface.
SwInterfaceSetTxPlacementReply defines message 'sw_interface_set_tx_placement_reply'.
Set unnumbered interface add / del request - sw_if_index - interface with an IP address - unnumbered_sw_if_index - interface which will use the address - is_add - if non-zero set the association, else unset it SwInterfaceSetUnnumbered defines message 'sw_interface_set_unnumbered'.
SwInterfaceSetUnnumberedReply defines message 'sw_interface_set_unnumbered_reply'.
Set / clear software interface tag - sw_if_index - the interface - add_del - 1 = add, 0 = delete - tag - an ascii tag SwInterfaceTagAddDel defines message 'sw_interface_tag_add_del'.
SwInterfaceTagAddDelReply defines message 'sw_interface_tag_add_del_reply'.
show the interface's queue - thread placement This api is used to display the interface and queue worker thread placement.
get the tx queue placement of interface(s) - cursor - optional, it allows client to continue a dump - sw_if_index - optional interface index for which queue placement to be requested.
SwInterfaceTxPlacementGetReply defines message 'sw_interface_tx_placement_get_reply'.
Register for interface events - enable_disable - 1 => register for events, 0 => cancel registration - pid - sender's pid WantInterfaceEvents defines message 'want_interface_events'.
WantInterfaceEventsReply defines message 'want_interface_events_reply'.

# Interfaces

RPCService defines RPC service interface.
No description provided by the author
No description provided by the author
No description provided by the author