Documentation

Index

Constants

View Source
const (
	MapName    = "cilium_ipmasq_v4"
	MaxEntries = 16384
)

Variables

Functions

This section is empty.

Types

type IPMasqBPFMap

type IPMasqBPFMap struct{}

func (*IPMasqBPFMap) Delete

func (*IPMasqBPFMap) Delete(cidr net.IPNet) error

func (*IPMasqBPFMap) Dump

func (*IPMasqBPFMap) Dump() ([]net.IPNet, error)

func (*IPMasqBPFMap) Update

func (*IPMasqBPFMap) Update(cidr net.IPNet) error

type Key4

type Key4 struct {
	PrefixLen uint32
	Address   types.IPv4
}

    +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapKey

    func (*Key4) DeepCopy

    func (in *Key4) DeepCopy() *Key4

      DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key4.

      func (*Key4) DeepCopyInto

      func (in *Key4) DeepCopyInto(out *Key4)

        DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

        func (*Key4) DeepCopyMapKey

        func (in *Key4) DeepCopyMapKey() bpf.MapKey

          DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey.

          func (*Key4) GetKeyPtr

          func (k *Key4) GetKeyPtr() unsafe.Pointer

          func (*Key4) NewValue

          func (k *Key4) NewValue() bpf.MapValue

          func (*Key4) String

          func (k *Key4) String() string

          type Value

          type Value struct {
          	Pad uint8 // not used
          }

            +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/cilium/cilium/pkg/bpf.MapValue

            func (*Value) DeepCopy

            func (in *Value) DeepCopy() *Value

              DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Value.

              func (*Value) DeepCopyInto

              func (in *Value) DeepCopyInto(out *Value)

                DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

                func (*Value) DeepCopyMapValue

                func (in *Value) DeepCopyMapValue() bpf.MapValue

                  DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue.

                  func (*Value) GetValuePtr

                  func (v *Value) GetValuePtr() unsafe.Pointer

                  func (*Value) String

                  func (v *Value) String() string