tcpdog

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tcpdog_proto protoreflect.FileDescriptor

Functions

func RegisterTCPDogServer

func RegisterTCPDogServer(s *grpc.Server, srv TCPDogServer)

Types

type Fields

type Fields struct {
	Task          *string `protobuf:"bytes,1,opt,name=Task,proto3,oneof" json:"Task,omitempty"`
	PID           *uint32 `protobuf:"varint,2,opt,name=PID,proto3,oneof" json:"PID,omitempty"`
	TCPHeaderLen  *uint32 `protobuf:"varint,3,opt,name=TCPHeaderLen,proto3,oneof" json:"TCPHeaderLen,omitempty"`
	TotalRetrans  *uint32 `protobuf:"varint,4,opt,name=TotalRetrans,proto3,oneof" json:"TotalRetrans,omitempty"`
	SAddr         *string `protobuf:"bytes,5,opt,name=SAddr,proto3,oneof" json:"SAddr,omitempty"`
	DAddr         *string `protobuf:"bytes,6,opt,name=DAddr,proto3,oneof" json:"DAddr,omitempty"`
	DPort         *uint32 `protobuf:"varint,7,opt,name=DPort,proto3,oneof" json:"DPort,omitempty"`
	LPort         *uint32 `protobuf:"varint,8,opt,name=LPort,proto3,oneof" json:"LPort,omitempty"`
	BytesReceived *uint64 `protobuf:"varint,9,opt,name=BytesReceived,proto3,oneof" json:"BytesReceived,omitempty"`
	BytesSent     *uint64 `protobuf:"varint,10,opt,name=BytesSent,proto3,oneof" json:"BytesSent,omitempty"`
	BytesAcked    *uint64 `protobuf:"varint,11,opt,name=BytesAcked,proto3,oneof" json:"BytesAcked,omitempty"`
	NumSAcks      *uint32 `protobuf:"varint,12,opt,name=NumSAcks,proto3,oneof" json:"NumSAcks,omitempty"`
	UserMSS       *uint32 `protobuf:"varint,13,opt,name=UserMSS,proto3,oneof" json:"UserMSS,omitempty"`
	MSSClamp      *uint32 `protobuf:"varint,14,opt,name=MSSClamp,proto3,oneof" json:"MSSClamp,omitempty"`
	AdvMSS        *uint32 `protobuf:"varint,15,opt,name=AdvMSS,proto3,oneof" json:"AdvMSS,omitempty"`
	RTT           *uint32 `protobuf:"varint,16,opt,name=RTT,proto3,oneof" json:"RTT,omitempty"`
	SRTT          *uint32 `protobuf:"varint,17,opt,name=SRTT,proto3,oneof" json:"SRTT,omitempty"`
	RTTVar        *uint32 `protobuf:"varint,18,opt,name=RTTVar,proto3,oneof" json:"RTTVar,omitempty"`
	RcvRTT        *uint32 `protobuf:"varint,19,opt,name=RcvRTT,proto3,oneof" json:"RcvRTT,omitempty"`
	RACKRTT       *uint32 `protobuf:"varint,20,opt,name=RACKRTT,proto3,oneof" json:"RACKRTT,omitempty"`
	MDev          *uint32 `protobuf:"varint,21,opt,name=MDev,proto3,oneof" json:"MDev,omitempty"`
	MDevMax       *uint32 `protobuf:"varint,22,opt,name=MDevMax,proto3,oneof" json:"MDevMax,omitempty"`
	SegsIn        *uint32 `protobuf:"varint,23,opt,name=SegsIn,proto3,oneof" json:"SegsIn,omitempty"`
	SegsOut       *uint32 `protobuf:"varint,24,opt,name=SegsOut,proto3,oneof" json:"SegsOut,omitempty"`
	GSOSegs       *uint32 `protobuf:"varint,25,opt,name=GSOSegs,proto3,oneof" json:"GSOSegs,omitempty"`
	DataSegsIn    *uint32 `protobuf:"varint,26,opt,name=DataSegsIn,proto3,oneof" json:"DataSegsIn,omitempty"`
	MaxWindow     *uint32 `protobuf:"varint,27,opt,name=MaxWindow,proto3,oneof" json:"MaxWindow,omitempty"`
	SndWnd        *uint32 `protobuf:"varint,28,opt,name=SndWnd,proto3,oneof" json:"SndWnd,omitempty"`
	WindowClamp   *uint32 `protobuf:"varint,29,opt,name=WindowClamp,proto3,oneof" json:"WindowClamp,omitempty"`
	RcvSSThresh   *uint32 `protobuf:"varint,30,opt,name=RcvSSThresh,proto3,oneof" json:"RcvSSThresh,omitempty"`
	ECNFlags      *uint32 `protobuf:"varint,31,opt,name=ECNFlags,proto3,oneof" json:"ECNFlags,omitempty"`
	SndCwnd       *uint32 `protobuf:"varint,32,opt,name=SndCwnd,proto3,oneof" json:"SndCwnd,omitempty"`
	PrrOut        *uint32 `protobuf:"varint,33,opt,name=PrrOut,proto3,oneof" json:"PrrOut,omitempty"`
	Delivered     *uint32 `protobuf:"varint,34,opt,name=Delivered,proto3,oneof" json:"Delivered,omitempty"`
	DeliveredCe   *uint32 `protobuf:"varint,35,opt,name=DeliveredCe,proto3,oneof" json:"DeliveredCe,omitempty"`
	Lost          *uint32 `protobuf:"varint,36,opt,name=Lost,proto3,oneof" json:"Lost,omitempty"`
	LostOut       *uint32 `protobuf:"varint,37,opt,name=LostOut,proto3,oneof" json:"LostOut,omitempty"`
	PriorSSThresh *uint32 `protobuf:"varint,38,opt,name=PriorSSThresh,proto3,oneof" json:"PriorSSThresh,omitempty"`
	DataSegsOut   *uint32 `protobuf:"varint,39,opt,name=DataSegsOut,proto3,oneof" json:"DataSegsOut,omitempty"`
	RcvSpace      *uint32 `protobuf:"varint,40,opt,name=RcvSpace,proto3,oneof" json:"RcvSpace,omitempty"`
	UnAcked       *uint32 `protobuf:"varint,41,opt,name=UnAcked,proto3,oneof" json:"UnAcked,omitempty"`
	SAcked        *uint32 `protobuf:"varint,42,opt,name=SAcked,proto3,oneof" json:"SAcked,omitempty"`
	RTO           *uint32 `protobuf:"varint,43,opt,name=RTO,proto3,oneof" json:"RTO,omitempty"`
	DsackDups     *uint32 `protobuf:"varint,44,opt,name=DsackDups,proto3,oneof" json:"DsackDups,omitempty"`
	RateDelivered *uint32 `protobuf:"varint,45,opt,name=RateDelivered,proto3,oneof" json:"RateDelivered,omitempty"`
	RateInterval  *uint32 `protobuf:"varint,46,opt,name=RateInterval,proto3,oneof" json:"RateInterval,omitempty"`
	SndSSThresh   *uint32 `protobuf:"varint,47,opt,name=SndSSThresh,proto3,oneof" json:"SndSSThresh,omitempty"`
	GeoLocation   *string `protobuf:"bytes,48,opt,name=GeoLocation,proto3,oneof" json:"GeoLocation,omitempty"`
	CCode         *string `protobuf:"bytes,49,opt,name=CCode,proto3,oneof" json:"CCode,omitempty"`
	CSCode        *string `protobuf:"bytes,50,opt,name=CSCode,proto3,oneof" json:"CSCode,omitempty"`
	Country       *string `protobuf:"bytes,51,opt,name=Country,proto3,oneof" json:"Country,omitempty"`
	City          *string `protobuf:"bytes,52,opt,name=City,proto3,oneof" json:"City,omitempty"`
	Region        *string `protobuf:"bytes,53,opt,name=Region,proto3,oneof" json:"Region,omitempty"`
	ASN           *string `protobuf:"bytes,54,opt,name=ASN,proto3,oneof" json:"ASN,omitempty"`
	ASNOrg        *string `protobuf:"bytes,55,opt,name=ASNOrg,proto3,oneof" json:"ASNOrg,omitempty"`
	Hostname      *string `protobuf:"bytes,56,opt,name=Hostname,proto3,oneof" json:"Hostname,omitempty"`
	Timestamp     *uint64 `protobuf:"varint,57,opt,name=Timestamp,proto3,oneof" json:"Timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Fields) Descriptor deprecated

func (*Fields) Descriptor() ([]byte, []int)

Deprecated: Use Fields.ProtoReflect.Descriptor instead.

func (*Fields) GetASN

func (x *Fields) GetASN() string

func (*Fields) GetASNOrg

func (x *Fields) GetASNOrg() string

func (*Fields) GetAdvMSS

func (x *Fields) GetAdvMSS() uint32

func (*Fields) GetBytesAcked

func (x *Fields) GetBytesAcked() uint64

func (*Fields) GetBytesReceived

func (x *Fields) GetBytesReceived() uint64

func (*Fields) GetBytesSent

func (x *Fields) GetBytesSent() uint64

func (*Fields) GetCCode

func (x *Fields) GetCCode() string

func (*Fields) GetCSCode

func (x *Fields) GetCSCode() string

func (*Fields) GetCity

func (x *Fields) GetCity() string

func (*Fields) GetCountry

func (x *Fields) GetCountry() string

func (*Fields) GetDAddr

func (x *Fields) GetDAddr() string

func (*Fields) GetDPort

func (x *Fields) GetDPort() uint32

func (*Fields) GetDataSegsIn

func (x *Fields) GetDataSegsIn() uint32

func (*Fields) GetDataSegsOut

func (x *Fields) GetDataSegsOut() uint32

func (*Fields) GetDelivered

func (x *Fields) GetDelivered() uint32

func (*Fields) GetDeliveredCe

func (x *Fields) GetDeliveredCe() uint32

func (*Fields) GetDsackDups

func (x *Fields) GetDsackDups() uint32

func (*Fields) GetECNFlags

func (x *Fields) GetECNFlags() uint32

func (*Fields) GetGSOSegs

func (x *Fields) GetGSOSegs() uint32

func (*Fields) GetGeoLocation

func (x *Fields) GetGeoLocation() string

func (*Fields) GetHostname

func (x *Fields) GetHostname() string

func (*Fields) GetLPort

func (x *Fields) GetLPort() uint32

func (*Fields) GetLost

func (x *Fields) GetLost() uint32

func (*Fields) GetLostOut

func (x *Fields) GetLostOut() uint32

func (*Fields) GetMDev

func (x *Fields) GetMDev() uint32

func (*Fields) GetMDevMax

func (x *Fields) GetMDevMax() uint32

func (*Fields) GetMSSClamp

func (x *Fields) GetMSSClamp() uint32

func (*Fields) GetMaxWindow

func (x *Fields) GetMaxWindow() uint32

func (*Fields) GetNumSAcks

func (x *Fields) GetNumSAcks() uint32

func (*Fields) GetPID

func (x *Fields) GetPID() uint32

func (*Fields) GetPriorSSThresh

func (x *Fields) GetPriorSSThresh() uint32

func (*Fields) GetPrrOut

func (x *Fields) GetPrrOut() uint32

func (*Fields) GetRACKRTT

func (x *Fields) GetRACKRTT() uint32

func (*Fields) GetRTO

func (x *Fields) GetRTO() uint32

func (*Fields) GetRTT

func (x *Fields) GetRTT() uint32

func (*Fields) GetRTTVar

func (x *Fields) GetRTTVar() uint32

func (*Fields) GetRateDelivered

func (x *Fields) GetRateDelivered() uint32

func (*Fields) GetRateInterval

func (x *Fields) GetRateInterval() uint32

func (*Fields) GetRcvRTT

func (x *Fields) GetRcvRTT() uint32

func (*Fields) GetRcvSSThresh

func (x *Fields) GetRcvSSThresh() uint32

func (*Fields) GetRcvSpace

func (x *Fields) GetRcvSpace() uint32

func (*Fields) GetRegion

func (x *Fields) GetRegion() string

func (*Fields) GetSAcked

func (x *Fields) GetSAcked() uint32

func (*Fields) GetSAddr

func (x *Fields) GetSAddr() string

func (*Fields) GetSRTT

func (x *Fields) GetSRTT() uint32

func (*Fields) GetSegsIn

func (x *Fields) GetSegsIn() uint32

func (*Fields) GetSegsOut

func (x *Fields) GetSegsOut() uint32

func (*Fields) GetSndCwnd

func (x *Fields) GetSndCwnd() uint32

func (*Fields) GetSndSSThresh

func (x *Fields) GetSndSSThresh() uint32

func (*Fields) GetSndWnd

func (x *Fields) GetSndWnd() uint32

func (*Fields) GetTCPHeaderLen

func (x *Fields) GetTCPHeaderLen() uint32

func (*Fields) GetTask

func (x *Fields) GetTask() string

func (*Fields) GetTimestamp

func (x *Fields) GetTimestamp() uint64

func (*Fields) GetTotalRetrans

func (x *Fields) GetTotalRetrans() uint32

func (*Fields) GetUnAcked

func (x *Fields) GetUnAcked() uint32

func (*Fields) GetUserMSS

func (x *Fields) GetUserMSS() uint32

func (*Fields) GetWindowClamp

func (x *Fields) GetWindowClamp() uint32

func (*Fields) ProtoMessage

func (*Fields) ProtoMessage()

func (*Fields) ProtoReflect

func (x *Fields) ProtoReflect() protoreflect.Message

func (*Fields) Reset

func (x *Fields) Reset()

func (*Fields) String

func (x *Fields) String() string

type FieldsSPB

type FieldsSPB struct {
	Fields *_struct.Struct `protobuf:"bytes,1,opt,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldsSPB) Descriptor deprecated

func (*FieldsSPB) Descriptor() ([]byte, []int)

Deprecated: Use FieldsSPB.ProtoReflect.Descriptor instead.

func (*FieldsSPB) GetFields

func (x *FieldsSPB) GetFields() *_struct.Struct

func (*FieldsSPB) ProtoMessage

func (*FieldsSPB) ProtoMessage()

func (*FieldsSPB) ProtoReflect

func (x *FieldsSPB) ProtoReflect() protoreflect.Message

func (*FieldsSPB) Reset

func (x *FieldsSPB) Reset()

func (*FieldsSPB) String

func (x *FieldsSPB) String() string

type Response

type Response struct {
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() int32

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type TCPDogClient

type TCPDogClient interface {
	Tracepoint(ctx context.Context, opts ...grpc.CallOption) (TCPDog_TracepointClient, error)
	TracepointSPB(ctx context.Context, opts ...grpc.CallOption) (TCPDog_TracepointSPBClient, error)
}

TCPDogClient is the client API for TCPDog service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTCPDogClient

func NewTCPDogClient(cc grpc.ClientConnInterface) TCPDogClient

type TCPDogServer

type TCPDogServer interface {
	Tracepoint(TCPDog_TracepointServer) error
	TracepointSPB(TCPDog_TracepointSPBServer) error
}

TCPDogServer is the server API for TCPDog service.

type TCPDog_TracepointClient

type TCPDog_TracepointClient interface {
	Send(*Fields) error
	CloseAndRecv() (*Response, error)
	grpc.ClientStream
}

type TCPDog_TracepointSPBClient

type TCPDog_TracepointSPBClient interface {
	Send(*FieldsSPB) error
	CloseAndRecv() (*Response, error)
	grpc.ClientStream
}

type TCPDog_TracepointSPBServer

type TCPDog_TracepointSPBServer interface {
	SendAndClose(*Response) error
	Recv() (*FieldsSPB, error)
	grpc.ServerStream
}

type TCPDog_TracepointServer

type TCPDog_TracepointServer interface {
	SendAndClose(*Response) error
	Recv() (*Fields, error)
	grpc.ServerStream
}

type UnimplementedTCPDogServer

type UnimplementedTCPDogServer struct {
}

UnimplementedTCPDogServer can be embedded to have forward compatible implementations.

func (*UnimplementedTCPDogServer) Tracepoint

func (*UnimplementedTCPDogServer) TracepointSPB

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL