Searched defs:packetQueueState (Results 1 – 1 of 1) sorted by relevance
405 type packetQueueState struct { struct406 head, tail *packet // unqueued packets407 nBytes int // number of bytes enqueued in the packet buffers starting from head408 …erBytes int // soft limit on nbytes; no more packets may be enqueued when the limit is exceeded409 readClosed bool // true if the reader of the queue has stopped reading410 …iting; the reader sees either io.EOF or syscall.ECONNRESET when they have read all buffered packets411 noLinger bool // if true, the reader sees ECONNRESET instead of EOF