Versions in this module Expand all Collapse all v0 v0.5.0 Jul 29, 2022 Changes in this version + type AfXdpCreateV2 struct + Flags AfXdpFlag + HostIf string + Mode AfXdpMode + Name string + Namespace string + Prog string + RxqNum uint16 + RxqSize uint16 + TxqSize uint16 + func (*AfXdpCreateV2) GetCrcString() string + func (*AfXdpCreateV2) GetMessageName() string + func (*AfXdpCreateV2) GetMessageType() api.MessageType + func (m *AfXdpCreateV2) Marshal(b []byte) ([]byte, error) + func (m *AfXdpCreateV2) Reset() + func (m *AfXdpCreateV2) Size() (size int) + func (m *AfXdpCreateV2) Unmarshal(b []byte) error + type AfXdpCreateV2Reply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*AfXdpCreateV2Reply) GetCrcString() string + func (*AfXdpCreateV2Reply) GetMessageName() string + func (*AfXdpCreateV2Reply) GetMessageType() api.MessageType + func (m *AfXdpCreateV2Reply) Marshal(b []byte) ([]byte, error) + func (m *AfXdpCreateV2Reply) Reset() + func (m *AfXdpCreateV2Reply) Size() (size int) + func (m *AfXdpCreateV2Reply) Unmarshal(b []byte) error type RPCService + AfXdpCreateV2 func(ctx context.Context, in *AfXdpCreateV2) (*AfXdpCreateV2Reply, error) v0.4.0 Jan 17, 2022 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var AfXdpFlag_name = map[uint8]string + var AfXdpFlag_value = map[string]uint8 + var AfXdpMode_name = map[uint32]string + var AfXdpMode_value = map[string]uint32 + func AllMessages() []api.Message + type AfXdpCreate struct + Flags AfXdpFlag + HostIf string + Mode AfXdpMode + Name string + Prog string + RxqNum uint16 + RxqSize uint16 + TxqSize uint16 + func (*AfXdpCreate) GetCrcString() string + func (*AfXdpCreate) GetMessageName() string + func (*AfXdpCreate) GetMessageType() api.MessageType + func (m *AfXdpCreate) Marshal(b []byte) ([]byte, error) + func (m *AfXdpCreate) Reset() + func (m *AfXdpCreate) Size() (size int) + func (m *AfXdpCreate) Unmarshal(b []byte) error + type AfXdpCreateReply struct + Retval int32 + SwIfIndex interface_types.InterfaceIndex + func (*AfXdpCreateReply) GetCrcString() string + func (*AfXdpCreateReply) GetMessageName() string + func (*AfXdpCreateReply) GetMessageType() api.MessageType + func (m *AfXdpCreateReply) Marshal(b []byte) ([]byte, error) + func (m *AfXdpCreateReply) Reset() + func (m *AfXdpCreateReply) Size() (size int) + func (m *AfXdpCreateReply) Unmarshal(b []byte) error + type AfXdpDelete struct + SwIfIndex interface_types.InterfaceIndex + func (*AfXdpDelete) GetCrcString() string + func (*AfXdpDelete) GetMessageName() string + func (*AfXdpDelete) GetMessageType() api.MessageType + func (m *AfXdpDelete) Marshal(b []byte) ([]byte, error) + func (m *AfXdpDelete) Reset() + func (m *AfXdpDelete) Size() (size int) + func (m *AfXdpDelete) Unmarshal(b []byte) error + type AfXdpDeleteReply struct + Retval int32 + func (*AfXdpDeleteReply) GetCrcString() string + func (*AfXdpDeleteReply) GetMessageName() string + func (*AfXdpDeleteReply) GetMessageType() api.MessageType + func (m *AfXdpDeleteReply) Marshal(b []byte) ([]byte, error) + func (m *AfXdpDeleteReply) Reset() + func (m *AfXdpDeleteReply) Size() (size int) + func (m *AfXdpDeleteReply) Unmarshal(b []byte) error + type AfXdpFlag uint8 + const AF_XDP_API_FLAGS_NO_SYSCALL_LOCK + func (x AfXdpFlag) String() string + type AfXdpMode uint32 + const AF_XDP_API_MODE_AUTO + const AF_XDP_API_MODE_COPY + const AF_XDP_API_MODE_ZERO_COPY + func (x AfXdpMode) String() string + type RPCService interface + AfXdpCreate func(ctx context.Context, in *AfXdpCreate) (*AfXdpCreateReply, error) + AfXdpDelete func(ctx context.Context, in *AfXdpDelete) (*AfXdpDeleteReply, error) + func NewServiceClient(conn api.Connection) RPCService