github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/tcp/option-stack-permited.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package tcp 4 5 type optionSACKPermitted []byte 6 7 func (o optionSACKPermitted) Length() byte { return o[0] } 8 9 // func (o optionSACKPermitted) SACKPermitted() uint16 { return binary.BigEndian.Uint16(o[1:]) } 10 func (o optionSACKPermitted) NextOption() []byte { return o[1:] } 11 12 func (o optionSACKPermitted) Process(s *Socket) error { 13 return nil 14 }