Documentation
¶
Index ¶
- Variables
- func RegisterPacketCaptureServer(s grpc.ServiceRegistrar, srv PacketCaptureServer)
- type AccessCaptureType
- func (*AccessCaptureType) Descriptor() ([]byte, []int)deprecated
- func (m *AccessCaptureType) GetFilterType() isAccessCaptureType_FilterType
- func (x *AccessCaptureType) GetMac() string
- func (x *AccessCaptureType) GetOperatingBand() []OperatingBand
- func (x *AccessCaptureType) GetPromiscuousMode() bool
- func (x *AccessCaptureType) GetSsid() string
- func (*AccessCaptureType) ProtoMessage()
- func (x *AccessCaptureType) ProtoReflect() protoreflect.Message
- func (x *AccessCaptureType) Reset()
- func (x *AccessCaptureType) String() string
- type AccessCaptureType_Mac
- type AccessCaptureType_Ssid
- type BandChannelCombo
- func (*BandChannelCombo) Descriptor() ([]byte, []int)deprecated
- func (x *BandChannelCombo) GetChannelInfo() []*ChannelInfo
- func (x *BandChannelCombo) GetOperatingBand() OperatingBand
- func (*BandChannelCombo) ProtoMessage()
- func (x *BandChannelCombo) ProtoReflect() protoreflect.Message
- func (x *BandChannelCombo) Reset()
- func (x *BandChannelCombo) String() string
- type ChannelInfo
- func (*ChannelInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelInfo) GetChannel() string
- func (x *ChannelInfo) GetChannelWidth() ChannelWidth
- func (*ChannelInfo) ProtoMessage()
- func (x *ChannelInfo) ProtoReflect() protoreflect.Message
- func (x *ChannelInfo) Reset()
- func (x *ChannelInfo) String() string
- type ChannelWidth
- func (ChannelWidth) Descriptor() protoreflect.EnumDescriptor
- func (x ChannelWidth) Enum() *ChannelWidth
- func (ChannelWidth) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChannelWidth) Number() protoreflect.EnumNumber
- func (x ChannelWidth) String() string
- func (ChannelWidth) Type() protoreflect.EnumType
- type Direction
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetDestNet() string
- func (x *Filter) GetFilterName() string
- func (x *Filter) GetPort() []uint32
- func (x *Filter) GetProtocol() []Protocol
- func (x *Filter) GetSrcNet() string
- func (x *Filter) GetVlan() []uint32
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type OperatingBand
- func (OperatingBand) Descriptor() protoreflect.EnumDescriptor
- func (x OperatingBand) Enum() *OperatingBand
- func (OperatingBand) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperatingBand) Number() protoreflect.EnumNumber
- func (x OperatingBand) String() string
- func (OperatingBand) Type() protoreflect.EnumType
- type Packet
- type PacketCaptureClient
- type PacketCaptureServer
- type PacketCapture_PcapClient
- type PacketCapture_PcapServer
- type PcapRequest
- func (*PcapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PcapRequest) GetDuration() uint64
- func (x *PcapRequest) GetPacketCount() uint32
- func (m *PcapRequest) GetRequestType() isPcapRequest_RequestType
- func (x *PcapRequest) GetTrimPayload() uint32
- func (x *PcapRequest) GetWiredRequest() *WiredRequest
- func (x *PcapRequest) GetWirelessRequest() *WirelessRequest
- func (*PcapRequest) ProtoMessage()
- func (x *PcapRequest) ProtoReflect() protoreflect.Message
- func (x *PcapRequest) Reset()
- func (x *PcapRequest) String() string
- type PcapRequest_WiredRequest
- type PcapRequest_WirelessRequest
- type PcapResponse
- type Protocol
- type ScanCaptureType
- func (*ScanCaptureType) Descriptor() ([]byte, []int)deprecated
- func (x *ScanCaptureType) GetCombo() []*BandChannelCombo
- func (x *ScanCaptureType) GetDwellTime() uint64
- func (*ScanCaptureType) ProtoMessage()
- func (x *ScanCaptureType) ProtoReflect() protoreflect.Message
- func (x *ScanCaptureType) Reset()
- func (x *ScanCaptureType) String() string
- type UnimplementedPacketCaptureServer
- type UnsafePacketCaptureServer
- type WiredRequest
- func (*WiredRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WiredRequest) GetDirection() Direction
- func (x *WiredRequest) GetFilter() *Filter
- func (m *WiredRequest) GetFilterType() isWiredRequest_FilterType
- func (x *WiredRequest) GetIfname() string
- func (x *WiredRequest) GetTcpdumpExpression() string
- func (*WiredRequest) ProtoMessage()
- func (x *WiredRequest) ProtoReflect() protoreflect.Message
- func (x *WiredRequest) Reset()
- func (x *WiredRequest) String() string
- type WiredRequest_Filter
- type WiredRequest_TcpdumpExpression
- type WirelessRequest
- func (*WirelessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WirelessRequest) GetAccessType() *AccessCaptureType
- func (m *WirelessRequest) GetCaptureType() isWirelessRequest_CaptureType
- func (x *WirelessRequest) GetScanType() *ScanCaptureType
- func (*WirelessRequest) ProtoMessage()
- func (x *WirelessRequest) ProtoReflect() protoreflect.Message
- func (x *WirelessRequest) Reset()
- func (x *WirelessRequest) String() string
- type WirelessRequest_AccessType
- type WirelessRequest_ScanType
Constants ¶
This section is empty.
Variables ¶
var ( OperatingBand_name = map[int32]string{ 0: "BAND_2G", 1: "BAND_5G", 2: "BAND_6G", 3: "BAND_ALL", } OperatingBand_value = map[string]int32{ "BAND_2G": 0, "BAND_5G": 1, "BAND_6G": 2, "BAND_ALL": 3, } )
Enum value maps for OperatingBand.
var ( Protocol_name = map[int32]string{ 0: "TCP", 1: "UDP", } Protocol_value = map[string]int32{ "TCP": 0, "UDP": 1, } )
Enum value maps for Protocol.
var ( Direction_name = map[int32]string{ 0: "RX", 1: "TX", 2: "BOTH", } Direction_value = map[string]int32{ "RX": 0, "TX": 1, "BOTH": 2, } )
Enum value maps for Direction.
var ( ChannelWidth_name = map[int32]string{ 0: "WIDTH_20MHZ", 1: "WIDTH_40MHZ", 2: "WIDTH_80MHZ", 3: "WIDTH_160MHZ", } ChannelWidth_value = map[string]int32{ "WIDTH_20MHZ": 0, "WIDTH_40MHZ": 1, "WIDTH_80MHZ": 2, "WIDTH_160MHZ": 3, } )
Enum value maps for ChannelWidth.
var File_packet_capture_packet_capture_proto protoreflect.FileDescriptor
var PacketCapture_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gnoi.pcap.PacketCapture", HandlerType: (*PacketCaptureServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Pcap", Handler: _PacketCapture_Pcap_Handler, ServerStreams: true, }, }, Metadata: "packet_capture/packet_capture.proto", }
PacketCapture_ServiceDesc is the grpc.ServiceDesc for PacketCapture service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPacketCaptureServer ¶
func RegisterPacketCaptureServer(s grpc.ServiceRegistrar, srv PacketCaptureServer)
Types ¶
type AccessCaptureType ¶
type AccessCaptureType struct { OperatingBand []OperatingBand `` /* 137-byte string literal not displayed */ // Types that are assignable to FilterType: // // *AccessCaptureType_Ssid // *AccessCaptureType_Mac FilterType isAccessCaptureType_FilterType `protobuf_oneof:"filter_type"` PromiscuousMode bool `protobuf:"varint,4,opt,name=promiscuous_mode,json=promiscuousMode,proto3" json:"promiscuous_mode,omitempty"` // contains filtered or unexported fields }
func (*AccessCaptureType) Descriptor
deprecated
func (*AccessCaptureType) Descriptor() ([]byte, []int)
Deprecated: Use AccessCaptureType.ProtoReflect.Descriptor instead.
func (*AccessCaptureType) GetFilterType ¶
func (m *AccessCaptureType) GetFilterType() isAccessCaptureType_FilterType
func (*AccessCaptureType) GetMac ¶
func (x *AccessCaptureType) GetMac() string
func (*AccessCaptureType) GetOperatingBand ¶
func (x *AccessCaptureType) GetOperatingBand() []OperatingBand
func (*AccessCaptureType) GetPromiscuousMode ¶
func (x *AccessCaptureType) GetPromiscuousMode() bool
func (*AccessCaptureType) GetSsid ¶
func (x *AccessCaptureType) GetSsid() string
func (*AccessCaptureType) ProtoMessage ¶
func (*AccessCaptureType) ProtoMessage()
func (*AccessCaptureType) ProtoReflect ¶
func (x *AccessCaptureType) ProtoReflect() protoreflect.Message
func (*AccessCaptureType) Reset ¶
func (x *AccessCaptureType) Reset()
func (*AccessCaptureType) String ¶
func (x *AccessCaptureType) String() string
type AccessCaptureType_Mac ¶
type AccessCaptureType_Mac struct {
Mac string `protobuf:"bytes,3,opt,name=mac,proto3,oneof"`
}
type AccessCaptureType_Ssid ¶
type AccessCaptureType_Ssid struct {
Ssid string `protobuf:"bytes,2,opt,name=ssid,proto3,oneof"`
}
type BandChannelCombo ¶
type BandChannelCombo struct { OperatingBand OperatingBand `` /* 130-byte string literal not displayed */ ChannelInfo []*ChannelInfo `protobuf:"bytes,2,rep,name=channel_info,json=channelInfo,proto3" json:"channel_info,omitempty"` // contains filtered or unexported fields }
func (*BandChannelCombo) Descriptor
deprecated
func (*BandChannelCombo) Descriptor() ([]byte, []int)
Deprecated: Use BandChannelCombo.ProtoReflect.Descriptor instead.
func (*BandChannelCombo) GetChannelInfo ¶
func (x *BandChannelCombo) GetChannelInfo() []*ChannelInfo
func (*BandChannelCombo) GetOperatingBand ¶
func (x *BandChannelCombo) GetOperatingBand() OperatingBand
func (*BandChannelCombo) ProtoMessage ¶
func (*BandChannelCombo) ProtoMessage()
func (*BandChannelCombo) ProtoReflect ¶
func (x *BandChannelCombo) ProtoReflect() protoreflect.Message
func (*BandChannelCombo) Reset ¶
func (x *BandChannelCombo) Reset()
func (*BandChannelCombo) String ¶
func (x *BandChannelCombo) String() string
type ChannelInfo ¶
type ChannelInfo struct { Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` ChannelWidth ChannelWidth `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChannelInfo) Descriptor
deprecated
func (*ChannelInfo) Descriptor() ([]byte, []int)
Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead.
func (*ChannelInfo) GetChannel ¶
func (x *ChannelInfo) GetChannel() string
func (*ChannelInfo) GetChannelWidth ¶
func (x *ChannelInfo) GetChannelWidth() ChannelWidth
func (*ChannelInfo) ProtoMessage ¶
func (*ChannelInfo) ProtoMessage()
func (*ChannelInfo) ProtoReflect ¶
func (x *ChannelInfo) ProtoReflect() protoreflect.Message
func (*ChannelInfo) Reset ¶
func (x *ChannelInfo) Reset()
func (*ChannelInfo) String ¶
func (x *ChannelInfo) String() string
type ChannelWidth ¶
type ChannelWidth int32
const ( ChannelWidth_WIDTH_20MHZ ChannelWidth = 0 ChannelWidth_WIDTH_40MHZ ChannelWidth = 1 ChannelWidth_WIDTH_80MHZ ChannelWidth = 2 ChannelWidth_WIDTH_160MHZ ChannelWidth = 3 )
func (ChannelWidth) Descriptor ¶
func (ChannelWidth) Descriptor() protoreflect.EnumDescriptor
func (ChannelWidth) Enum ¶
func (x ChannelWidth) Enum() *ChannelWidth
func (ChannelWidth) EnumDescriptor
deprecated
func (ChannelWidth) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChannelWidth.Descriptor instead.
func (ChannelWidth) Number ¶
func (x ChannelWidth) Number() protoreflect.EnumNumber
func (ChannelWidth) String ¶
func (x ChannelWidth) String() string
func (ChannelWidth) Type ¶
func (ChannelWidth) Type() protoreflect.EnumType
type Direction ¶
type Direction int32
func (Direction) Descriptor ¶
func (Direction) Descriptor() protoreflect.EnumDescriptor
func (Direction) EnumDescriptor
deprecated
func (Direction) Number ¶
func (x Direction) Number() protoreflect.EnumNumber
func (Direction) Type ¶
func (Direction) Type() protoreflect.EnumType
type Filter ¶
type Filter struct { FilterName string `protobuf:"bytes,1,opt,name=filter_name,json=filterName,proto3" json:"filter_name,omitempty"` SrcNet string `protobuf:"bytes,2,opt,name=src_net,json=srcNet,proto3" json:"src_net,omitempty"` DestNet string `protobuf:"bytes,3,opt,name=dest_net,json=destNet,proto3" json:"dest_net,omitempty"` Protocol []Protocol `protobuf:"varint,4,rep,packed,name=protocol,proto3,enum=gnoi.pcap.Protocol" json:"protocol,omitempty"` Port []uint32 `protobuf:"varint,5,rep,packed,name=port,proto3" json:"port,omitempty"` Vlan []uint32 `protobuf:"varint,6,rep,packed,name=vlan,proto3" json:"vlan,omitempty"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetDestNet ¶
func (*Filter) GetFilterName ¶
func (*Filter) GetProtocol ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type OperatingBand ¶
type OperatingBand int32
const ( OperatingBand_BAND_2G OperatingBand = 0 OperatingBand_BAND_5G OperatingBand = 1 OperatingBand_BAND_6G OperatingBand = 2 OperatingBand_BAND_ALL OperatingBand = 3 )
func (OperatingBand) Descriptor ¶
func (OperatingBand) Descriptor() protoreflect.EnumDescriptor
func (OperatingBand) Enum ¶
func (x OperatingBand) Enum() *OperatingBand
func (OperatingBand) EnumDescriptor
deprecated
func (OperatingBand) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperatingBand.Descriptor instead.
func (OperatingBand) Number ¶
func (x OperatingBand) Number() protoreflect.EnumNumber
func (OperatingBand) String ¶
func (x OperatingBand) String() string
func (OperatingBand) Type ¶
func (OperatingBand) Type() protoreflect.EnumType
type Packet ¶
type Packet struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Packet) Descriptor
deprecated
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
func (*Packet) ProtoReflect ¶
func (x *Packet) ProtoReflect() protoreflect.Message
type PacketCaptureClient ¶
type PacketCaptureClient interface {
Pcap(ctx context.Context, in *PcapRequest, opts ...grpc.CallOption) (PacketCapture_PcapClient, error)
}
PacketCaptureClient is the client API for PacketCapture service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPacketCaptureClient ¶
func NewPacketCaptureClient(cc grpc.ClientConnInterface) PacketCaptureClient
type PacketCaptureServer ¶
type PacketCaptureServer interface { Pcap(*PcapRequest, PacketCapture_PcapServer) error // contains filtered or unexported methods }
PacketCaptureServer is the server API for PacketCapture service. All implementations must embed UnimplementedPacketCaptureServer for forward compatibility
type PacketCapture_PcapClient ¶
type PacketCapture_PcapClient interface { Recv() (*PcapResponse, error) grpc.ClientStream }
type PacketCapture_PcapServer ¶
type PacketCapture_PcapServer interface { Send(*PcapResponse) error grpc.ServerStream }
type PcapRequest ¶
type PcapRequest struct { // Types that are assignable to RequestType: // // *PcapRequest_WiredRequest // *PcapRequest_WirelessRequest RequestType isPcapRequest_RequestType `protobuf_oneof:"request_type"` TrimPayload uint32 `protobuf:"varint,3,opt,name=trim_payload,json=trimPayload,proto3" json:"trim_payload,omitempty"` PacketCount uint32 `protobuf:"varint,4,opt,name=packet_count,json=packetCount,proto3" json:"packet_count,omitempty"` Duration uint64 `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*PcapRequest) Descriptor
deprecated
func (*PcapRequest) Descriptor() ([]byte, []int)
Deprecated: Use PcapRequest.ProtoReflect.Descriptor instead.
func (*PcapRequest) GetDuration ¶
func (x *PcapRequest) GetDuration() uint64
func (*PcapRequest) GetPacketCount ¶
func (x *PcapRequest) GetPacketCount() uint32
func (*PcapRequest) GetRequestType ¶
func (m *PcapRequest) GetRequestType() isPcapRequest_RequestType
func (*PcapRequest) GetTrimPayload ¶
func (x *PcapRequest) GetTrimPayload() uint32
func (*PcapRequest) GetWiredRequest ¶
func (x *PcapRequest) GetWiredRequest() *WiredRequest
func (*PcapRequest) GetWirelessRequest ¶
func (x *PcapRequest) GetWirelessRequest() *WirelessRequest
func (*PcapRequest) ProtoMessage ¶
func (*PcapRequest) ProtoMessage()
func (*PcapRequest) ProtoReflect ¶
func (x *PcapRequest) ProtoReflect() protoreflect.Message
func (*PcapRequest) Reset ¶
func (x *PcapRequest) Reset()
func (*PcapRequest) String ¶
func (x *PcapRequest) String() string
type PcapRequest_WiredRequest ¶
type PcapRequest_WiredRequest struct {
WiredRequest *WiredRequest `protobuf:"bytes,1,opt,name=wired_request,json=wiredRequest,proto3,oneof"`
}
type PcapRequest_WirelessRequest ¶
type PcapRequest_WirelessRequest struct {
WirelessRequest *WirelessRequest `protobuf:"bytes,2,opt,name=wireless_request,json=wirelessRequest,proto3,oneof"`
}
type PcapResponse ¶
type PcapResponse struct { Packets []*Packet `protobuf:"bytes,1,rep,name=packets,proto3" json:"packets,omitempty"` // contains filtered or unexported fields }
func (*PcapResponse) Descriptor
deprecated
func (*PcapResponse) Descriptor() ([]byte, []int)
Deprecated: Use PcapResponse.ProtoReflect.Descriptor instead.
func (*PcapResponse) GetPackets ¶
func (x *PcapResponse) GetPackets() []*Packet
func (*PcapResponse) ProtoMessage ¶
func (*PcapResponse) ProtoMessage()
func (*PcapResponse) ProtoReflect ¶
func (x *PcapResponse) ProtoReflect() protoreflect.Message
func (*PcapResponse) Reset ¶
func (x *PcapResponse) Reset()
func (*PcapResponse) String ¶
func (x *PcapResponse) String() string
type Protocol ¶
type Protocol int32
func (Protocol) Descriptor ¶
func (Protocol) Descriptor() protoreflect.EnumDescriptor
func (Protocol) EnumDescriptor
deprecated
func (Protocol) Number ¶
func (x Protocol) Number() protoreflect.EnumNumber
func (Protocol) Type ¶
func (Protocol) Type() protoreflect.EnumType
type ScanCaptureType ¶
type ScanCaptureType struct { Combo []*BandChannelCombo `protobuf:"bytes,1,rep,name=combo,proto3" json:"combo,omitempty"` DwellTime uint64 `protobuf:"varint,2,opt,name=dwell_time,json=dwellTime,proto3" json:"dwell_time,omitempty"` // contains filtered or unexported fields }
func (*ScanCaptureType) Descriptor
deprecated
func (*ScanCaptureType) Descriptor() ([]byte, []int)
Deprecated: Use ScanCaptureType.ProtoReflect.Descriptor instead.
func (*ScanCaptureType) GetCombo ¶
func (x *ScanCaptureType) GetCombo() []*BandChannelCombo
func (*ScanCaptureType) GetDwellTime ¶
func (x *ScanCaptureType) GetDwellTime() uint64
func (*ScanCaptureType) ProtoMessage ¶
func (*ScanCaptureType) ProtoMessage()
func (*ScanCaptureType) ProtoReflect ¶
func (x *ScanCaptureType) ProtoReflect() protoreflect.Message
func (*ScanCaptureType) Reset ¶
func (x *ScanCaptureType) Reset()
func (*ScanCaptureType) String ¶
func (x *ScanCaptureType) String() string
type UnimplementedPacketCaptureServer ¶
type UnimplementedPacketCaptureServer struct { }
UnimplementedPacketCaptureServer must be embedded to have forward compatible implementations.
func (UnimplementedPacketCaptureServer) Pcap ¶
func (UnimplementedPacketCaptureServer) Pcap(*PcapRequest, PacketCapture_PcapServer) error
type UnsafePacketCaptureServer ¶
type UnsafePacketCaptureServer interface {
// contains filtered or unexported methods
}
UnsafePacketCaptureServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PacketCaptureServer will result in compilation errors.
type WiredRequest ¶
type WiredRequest struct { Ifname string `protobuf:"bytes,1,opt,name=ifname,proto3" json:"ifname,omitempty"` Direction Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=gnoi.pcap.Direction" json:"direction,omitempty"` // Types that are assignable to FilterType: // // *WiredRequest_TcpdumpExpression // *WiredRequest_Filter FilterType isWiredRequest_FilterType `protobuf_oneof:"filter_type"` // contains filtered or unexported fields }
func (*WiredRequest) Descriptor
deprecated
func (*WiredRequest) Descriptor() ([]byte, []int)
Deprecated: Use WiredRequest.ProtoReflect.Descriptor instead.
func (*WiredRequest) GetDirection ¶
func (x *WiredRequest) GetDirection() Direction
func (*WiredRequest) GetFilter ¶
func (x *WiredRequest) GetFilter() *Filter
func (*WiredRequest) GetFilterType ¶
func (m *WiredRequest) GetFilterType() isWiredRequest_FilterType
func (*WiredRequest) GetIfname ¶
func (x *WiredRequest) GetIfname() string
func (*WiredRequest) GetTcpdumpExpression ¶
func (x *WiredRequest) GetTcpdumpExpression() string
func (*WiredRequest) ProtoMessage ¶
func (*WiredRequest) ProtoMessage()
func (*WiredRequest) ProtoReflect ¶
func (x *WiredRequest) ProtoReflect() protoreflect.Message
func (*WiredRequest) Reset ¶
func (x *WiredRequest) Reset()
func (*WiredRequest) String ¶
func (x *WiredRequest) String() string
type WiredRequest_Filter ¶
type WiredRequest_Filter struct {
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3,oneof"`
}
type WiredRequest_TcpdumpExpression ¶
type WiredRequest_TcpdumpExpression struct {
TcpdumpExpression string `protobuf:"bytes,3,opt,name=tcpdump_expression,json=tcpdumpExpression,proto3,oneof"`
}
type WirelessRequest ¶
type WirelessRequest struct { // Types that are assignable to CaptureType: // // *WirelessRequest_AccessType // *WirelessRequest_ScanType CaptureType isWirelessRequest_CaptureType `protobuf_oneof:"capture_type"` // contains filtered or unexported fields }
func (*WirelessRequest) Descriptor
deprecated
func (*WirelessRequest) Descriptor() ([]byte, []int)
Deprecated: Use WirelessRequest.ProtoReflect.Descriptor instead.
func (*WirelessRequest) GetAccessType ¶
func (x *WirelessRequest) GetAccessType() *AccessCaptureType
func (*WirelessRequest) GetCaptureType ¶
func (m *WirelessRequest) GetCaptureType() isWirelessRequest_CaptureType
func (*WirelessRequest) GetScanType ¶
func (x *WirelessRequest) GetScanType() *ScanCaptureType
func (*WirelessRequest) ProtoMessage ¶
func (*WirelessRequest) ProtoMessage()
func (*WirelessRequest) ProtoReflect ¶
func (x *WirelessRequest) ProtoReflect() protoreflect.Message
func (*WirelessRequest) Reset ¶
func (x *WirelessRequest) Reset()
func (*WirelessRequest) String ¶
func (x *WirelessRequest) String() string
type WirelessRequest_AccessType ¶
type WirelessRequest_AccessType struct {
AccessType *AccessCaptureType `protobuf:"bytes,1,opt,name=access_type,json=accessType,proto3,oneof"`
}
type WirelessRequest_ScanType ¶
type WirelessRequest_ScanType struct {
ScanType *ScanCaptureType `protobuf:"bytes,2,opt,name=scan_type,json=scanType,proto3,oneof"`
}