Documentation ¶
Index ¶
- Variables
- func AddSAEntry(saID uint32, sa *ipsec.SecurityAssociations_SA, vppChan govppapi.Channel, ...) error
- func AddSPD(spdID uint32, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
- func AddSPDEntry(spdID, saID uint32, spd *ipsec.SecurityPolicyDatabases_SPD_PolicyEntry, ...) error
- func AddTunnelInterface(tunnel *ipsec.TunnelInterfaces_Tunnel, vppChan govppapi.Channel, ...) (uint32, error)
- func DelSAEntry(saID uint32, sa *ipsec.SecurityAssociations_SA, vppChan govppapi.Channel, ...) error
- func DelSPD(spdID uint32, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
- func DelSPDEntry(spdID, saID uint32, spd *ipsec.SecurityPolicyDatabases_SPD_PolicyEntry, ...) error
- func DelTunnelInterface(ifIdx uint32, tunnel *ipsec.TunnelInterfaces_Tunnel, vppChan govppapi.Channel, ...) error
- func InterfaceAddSPD(spdID, swIfIdx uint32, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
- func InterfaceDelSPD(spdID, swIfIdx uint32, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
Constants ¶
This section is empty.
Variables ¶
View Source
var IPSecMessages = []govppapi.Message{ &ipsec_api.IpsecSpdAddDel{}, &ipsec_api.IpsecSpdAddDelReply{}, &ipsec_api.IpsecInterfaceAddDelSpd{}, &ipsec_api.IpsecInterfaceAddDelSpdReply{}, &ipsec_api.IpsecSpdAddDelEntry{}, &ipsec_api.IpsecSpdAddDelEntryReply{}, &ipsec_api.IpsecSadAddDelEntry{}, &ipsec_api.IpsecSadAddDelEntryReply{}, &ipsec_api.IpsecSpdDump{}, &ipsec_api.IpsecSpdDetails{}, &ipsec_api.IpsecTunnelIfAddDel{}, &ipsec_api.IpsecTunnelIfAddDelReply{}, &ipsec_api.IpsecSaDump{}, &ipsec_api.IpsecSaDetails{}, &ipsec_api.IpsecTunnelIfSetKey{}, &ipsec_api.IpsecTunnelIfSetKeyReply{}, &ipsec_api.IpsecTunnelIfSetSa{}, &ipsec_api.IpsecTunnelIfSetSaReply{}, }
IPSecMessages is list of used VPP messages for compatibility check
Functions ¶
func AddSAEntry ¶
func AddSAEntry(saID uint32, sa *ipsec.SecurityAssociations_SA, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
AddSAEntry adds SA to VPP via binary API
func AddSPDEntry ¶
func AddSPDEntry(spdID, saID uint32, spd *ipsec.SecurityPolicyDatabases_SPD_PolicyEntry, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
AddSPDEntry adds SPD policy entry to VPP via binary API
func AddTunnelInterface ¶
func AddTunnelInterface(tunnel *ipsec.TunnelInterfaces_Tunnel, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) (uint32, error)
AddSPD adds SPD to VPP via binary API
func DelSAEntry ¶
func DelSAEntry(saID uint32, sa *ipsec.SecurityAssociations_SA, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
DelSAEntry deletes SA from VPP via binary API
func DelSPDEntry ¶
func DelSPDEntry(spdID, saID uint32, spd *ipsec.SecurityPolicyDatabases_SPD_PolicyEntry, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
DelSPDEntry deletes SPD policy entry from VPP via binary API
func DelTunnelInterface ¶
func DelTunnelInterface(ifIdx uint32, tunnel *ipsec.TunnelInterfaces_Tunnel, vppChan govppapi.Channel, stopwatch *measure.Stopwatch) error
DelSPD deletes SPD from VPP via binary API
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.