Lines Matching refs:tcpopt

16 		uint32_t cur_ts, uint8_t *tcpopt, int len)  in ParseTCPOptions()  argument
22 opt = *(tcpopt + i++); in ParseTCPOptions()
30 optlen = *(tcpopt + i++); in ParseTCPOptions()
36 cur_stream->sndvar->mss = *(tcpopt + i++) << 8; in ParseTCPOptions()
37 cur_stream->sndvar->mss += *(tcpopt + i++); in ParseTCPOptions()
43 cur_stream->sndvar->wscale_peer = *(tcpopt + i++); in ParseTCPOptions()
50 cur_stream->rcvvar->ts_recent = ntohl(*(uint32_t *)(tcpopt + i)); in ParseTCPOptions()
63 struct tcp_timestamp *ts, uint8_t *tcpopt, int len) in ParseTCPTimestamp() argument
69 opt = *(tcpopt + i++); in ParseTCPTimestamp()
76 optlen = *(tcpopt + i++); in ParseTCPTimestamp()
82 ts->ts_val = ntohl(*(uint32_t *)(tcpopt + i)); in ParseTCPTimestamp()
83 ts->ts_ref = ntohl(*(uint32_t *)(tcpopt + i + 4)); in ParseTCPTimestamp()
97 uint32_t ack_seq, uint8_t *tcpopt, int len) in ParseSACKOption() argument
104 opt = *(tcpopt + i++); in ParseSACKOption()
111 optlen = *(tcpopt + i++); in ParseSACKOption()
119 left_edge = ntohl(*(uint32_t *)(tcpopt + i + j)); in ParseSACKOption()
120 right_edge = ntohl(*(uint32_t *)(tcpopt + i + j + 4)); in ParseSACKOption()
193 PrintTCPOptions(uint8_t *tcpopt, int len) in PrintTCPOptions() argument
199 printf("%u ", tcpopt[i]); in PrintTCPOptions()
204 opt = *(tcpopt + i++); in PrintTCPOptions()
212 optlen = *(tcpopt + i++); in PrintTCPOptions()
219 mss = *(tcpopt + i++) << 8; in PrintTCPOptions()
220 mss += *(tcpopt + i++); in PrintTCPOptions()
226 ts_val = *(uint32_t *)(tcpopt + i); in PrintTCPOptions()
228 ts_ref = *(uint32_t *)(tcpopt + i); in PrintTCPOptions()
233 wscale = *(tcpopt + i++); in PrintTCPOptions()