kubernetes/vendor/github.com/vishvananda/netlink/nl/seg6_linux.go

type IPv6SrHdr

func (s1 *IPv6SrHdr) Equal(s2 IPv6SrHdr) bool {}

const SEG6_IPTUN_MODE_INLINE

const SEG6_IPTUN_MODE_ENCAP

const SEG6_IPTUNNEL_UNSPEC

const SEG6_IPTUNNEL_SRH

const __SEG6_IPTUNNEL_MAX

const SEG6_IPTUNNEL_MAX

func EncodeSEG6Encap(mode int, segments []net.IP) ([]byte, error) {}

func DecodeSEG6Encap(buf []byte) (int, []net.IP, error) {}

func DecodeSEG6Srh(buf []byte) ([]net.IP, error) {}

func EncodeSEG6Srh(segments []net.IP) ([]byte, error) {}

// Helper functions
func SEG6EncapModeString(mode int) string {}