Searched refs:tcp_opt (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/net/ipv4/ |
D | syncookies.c | 248 bool cookie_timestamp_decode(struct tcp_options_received *tcp_opt) in cookie_timestamp_decode() argument 251 u32 options = tcp_opt->rcv_tsecr; in cookie_timestamp_decode() 253 if (!tcp_opt->saw_tstamp) { in cookie_timestamp_decode() 254 tcp_clear_options(tcp_opt); in cookie_timestamp_decode() 261 tcp_opt->sack_ok = (options & TS_OPT_SACK) ? TCP_SACK_SEEN : 0; in cookie_timestamp_decode() 263 if (tcp_opt->sack_ok && !sysctl_tcp_sack) in cookie_timestamp_decode() 269 tcp_opt->wscale_ok = 1; in cookie_timestamp_decode() 270 tcp_opt->snd_wscale = options & TS_OPT_WSCALE_MASK; in cookie_timestamp_decode() 276 bool cookie_ecn_ok(const struct tcp_options_received *tcp_opt, in cookie_ecn_ok() argument 279 bool ecn_ok = tcp_opt->rcv_tsecr & TS_OPT_ECN; in cookie_ecn_ok() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | syncookies.c | 158 struct tcp_options_received tcp_opt; in cookie_v6_check() local 186 memset(&tcp_opt, 0, sizeof(tcp_opt)); in cookie_v6_check() 187 tcp_parse_options(skb, &tcp_opt, 0, NULL); in cookie_v6_check() 189 if (!cookie_timestamp_decode(&tcp_opt)) in cookie_v6_check() 225 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check() 226 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v6_check() 227 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v6_check() 228 ireq->tstamp_ok = tcp_opt.saw_tstamp; in cookie_v6_check() 229 req->ts_recent = tcp_opt.saw_tstamp ? tcp_opt.rcv_tsval : 0; in cookie_v6_check() 230 treq->snt_synack = tcp_opt.saw_tstamp ? tcp_opt.rcv_tsecr : 0; in cookie_v6_check() [all …]
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 706 unsigned short tcp_opt = ntohs(req->tcp_opt); in do_act_establish() local 756 csk->advmss = lldi->mtus[TCPOPT_MSS_G(tcp_opt)] - 40; in do_act_establish() 757 if (TCPOPT_TSTAMP_G(tcp_opt)) in do_act_establish() 764 csk, TCPOPT_MSS_G(tcp_opt), csk->advmss); in do_act_establish() 766 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in do_act_establish()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_msg.h | 468 __be16 tcp_opt; member 512 __be16 tcp_opt; member
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_cpl.h | 509 __be16 tcp_opt; member 636 __be16 tcp_opt; member
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 650 set_emss(ep, ntohs(req->tcp_opt)); in act_establish() 1430 set_emss(ep, ntohs(req->tcp_opt)); in pass_establish()
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 509 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in do_act_establish()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 1080 set_emss(ep, ntohs(req->tcp_opt)); in act_establish() 2459 ntohs(req->tcp_opt)); in pass_establish() 2461 set_emss(ep, ntohs(req->tcp_opt)); in pass_establish()
|