code: func EncodeTSOption(tsVal, tsEcr uint32, b []byte) int {
  	if len(b) < 10 {
  		return 0
  	}
  	b[0], b[1] = TCPOptionTS, 10
  	binary.BigEndian.PutUint32(b[2:], tsVal)
  	binary.BigEndian.PutUint32(b[6:], tsEcr)
  	return int(b[1])
  }
docs: // EncodeTSOption encodes the provided tsVal and tsEcr values as a TCP timestamp
  // option into the provided buffer. If the buffer is smaller than expected it
  // just returns without encoding anything. It returns the number of bytes
  // written to the provided buffer.