type XfrmStateAlgo …
func (a XfrmStateAlgo) String() string { … }
type EncapType …
const XFRM_ENCAP_ESPINUDP_NONIKE …
const XFRM_ENCAP_ESPINUDP …
func (e EncapType) String() string { … }
type XfrmStateEncap …
func (e XfrmStateEncap) String() string { … }
type XfrmStateLimits …
type XfrmStateStats …
type XfrmReplayState …
func (r XfrmReplayState) String() string { … }
type XfrmState …
func (sa XfrmState) String() string { … }
func (sa XfrmState) Print(stats bool) string { … }
func printLimit(lmt uint64) string { … }
func writeStateAlgo(a *XfrmStateAlgo) []byte { … }
func writeStateAlgoAuth(a *XfrmStateAlgo) []byte { … }
func writeStateAlgoAead(a *XfrmStateAlgo) []byte { … }
func writeMark(m *XfrmMark) []byte { … }
func writeReplayEsn(replayWindow int) []byte { … }
func writeReplay(r *XfrmReplayState) []byte { … }
func XfrmStateAdd(state *XfrmState) error { … }
func (h *Handle) XfrmStateAdd(state *XfrmState) error { … }
func XfrmStateAllocSpi(state *XfrmState) (*XfrmState, error) { … }
func XfrmStateUpdate(state *XfrmState) error { … }
func (h *Handle) XfrmStateUpdate(state *XfrmState) error { … }
func (h *Handle) xfrmStateAddOrUpdate(state *XfrmState, nlProto int) error { … }
func (h *Handle) xfrmStateAllocSpi(state *XfrmState) (*XfrmState, error) { … }
func XfrmStateDel(state *XfrmState) error { … }
func (h *Handle) XfrmStateDel(state *XfrmState) error { … }
func XfrmStateList(family int) ([]XfrmState, error) { … }
func (h *Handle) XfrmStateList(family int) ([]XfrmState, error) { … }
func XfrmStateGet(state *XfrmState) (*XfrmState, error) { … }
func (h *Handle) XfrmStateGet(state *XfrmState) (*XfrmState, error) { … }
func (h *Handle) xfrmStateGetOrDelete(state *XfrmState, nlProto int) (*XfrmState, error) { … }
var familyError …
func xfrmStateFromXfrmUsersaInfo(msg *nl.XfrmUsersaInfo) *XfrmState { … }
func parseXfrmState(m []byte, family int) (*XfrmState, error) { … }
func XfrmStateFlush(proto Proto) error { … }
func (h *Handle) XfrmStateFlush(proto Proto) error { … }
func limitsToLft(lmts XfrmStateLimits, lft *nl.XfrmLifetimeCfg) { … }
func lftToLimits(lft *nl.XfrmLifetimeCfg, lmts *XfrmStateLimits) { … }
func curToStats(cur *nl.XfrmLifetimeCur, wstats *nl.XfrmStats, stats *XfrmStateStats) { … }
func xfrmUsersaInfoFromXfrmState(state *XfrmState) *nl.XfrmUsersaInfo { … }