Documentation ¶
Index ¶
- func IPToAddress(ipstr string) (addr vpp_ipsec.Address, err error)
- type IPSecVppHandler
- func (h *IPSecVppHandler) AddSA(sa *ipsec.SecurityAssociation) error
- func (h *IPSecVppHandler) AddSPD(spdID uint32) error
- func (h *IPSecVppHandler) AddSPDEntry(spdID, saID uint32, spd *ipsec.SecurityPolicyDatabase_PolicyEntry) error
- func (h *IPSecVppHandler) AddSPDInterface(spdID uint32, ifaceCfg *ipsec.SecurityPolicyDatabase_Interface) error
- func (h *IPSecVppHandler) DeleteSA(sa *ipsec.SecurityAssociation) error
- func (h *IPSecVppHandler) DeleteSPD(spdID uint32) error
- func (h *IPSecVppHandler) DeleteSPDEntry(spdID, saID uint32, spd *ipsec.SecurityPolicyDatabase_PolicyEntry) error
- func (h *IPSecVppHandler) DeleteSPDInterface(spdID uint32, ifaceCfg *ipsec.SecurityPolicyDatabase_Interface) error
- func (h *IPSecVppHandler) DumpIPSecSA() (saList []*vppcalls.IPSecSaDetails, err error)
- func (h *IPSecVppHandler) DumpIPSecSAWithIndex(saID uint32) (saList []*vppcalls.IPSecSaDetails, err error)
- func (h *IPSecVppHandler) DumpIPSecSPD() (spdList []*vppcalls.IPSecSpdDetails, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPSecVppHandler ¶
type IPSecVppHandler struct {
// contains filtered or unexported fields
}
IPSecVppHandler is accessor for IPSec-related vppcalls methods
func NewIPSecVppHandler ¶
func NewIPSecVppHandler(ch govppapi.Channel, ifIdx ifaceidx.IfaceMetadataIndex, log logging.Logger) *IPSecVppHandler
func (*IPSecVppHandler) AddSA ¶
func (h *IPSecVppHandler) AddSA(sa *ipsec.SecurityAssociation) error
AddSA implements IPSec handler.
func (*IPSecVppHandler) AddSPD ¶
func (h *IPSecVppHandler) AddSPD(spdID uint32) error
AddSPD implements IPSec handler.
func (*IPSecVppHandler) AddSPDEntry ¶
func (h *IPSecVppHandler) AddSPDEntry(spdID, saID uint32, spd *ipsec.SecurityPolicyDatabase_PolicyEntry) error
AddSPDEntry implements IPSec handler.
func (*IPSecVppHandler) AddSPDInterface ¶
func (h *IPSecVppHandler) AddSPDInterface(spdID uint32, ifaceCfg *ipsec.SecurityPolicyDatabase_Interface) error
AddSPDInterface implements IPSec handler.
func (*IPSecVppHandler) DeleteSA ¶
func (h *IPSecVppHandler) DeleteSA(sa *ipsec.SecurityAssociation) error
DeleteSA implements IPSec handler.
func (*IPSecVppHandler) DeleteSPD ¶
func (h *IPSecVppHandler) DeleteSPD(spdID uint32) error
DeleteSPD implements IPSec handler.
func (*IPSecVppHandler) DeleteSPDEntry ¶
func (h *IPSecVppHandler) DeleteSPDEntry(spdID, saID uint32, spd *ipsec.SecurityPolicyDatabase_PolicyEntry) error
DeleteSPDEntry implements IPSec handler.
func (*IPSecVppHandler) DeleteSPDInterface ¶
func (h *IPSecVppHandler) DeleteSPDInterface(spdID uint32, ifaceCfg *ipsec.SecurityPolicyDatabase_Interface) error
DeleteSPDInterface implements IPSec handler.
func (*IPSecVppHandler) DumpIPSecSA ¶
func (h *IPSecVppHandler) DumpIPSecSA() (saList []*vppcalls.IPSecSaDetails, err error)
DumpIPSecSA implements IPSec handler.
func (*IPSecVppHandler) DumpIPSecSAWithIndex ¶
func (h *IPSecVppHandler) DumpIPSecSAWithIndex(saID uint32) (saList []*vppcalls.IPSecSaDetails, err error)
DumpIPSecSAWithIndex implements IPSec handler.
func (*IPSecVppHandler) DumpIPSecSPD ¶
func (h *IPSecVppHandler) DumpIPSecSPD() (spdList []*vppcalls.IPSecSpdDetails, err error)
DumpIPSecSPD implements IPSec handler.
Click to show internal directories.
Click to hide internal directories.