Home
last modified time | relevance | path

Searched refs:tcp_opt (Results 1 – 12 of 12) sorted by relevance

/linux/net/ipv4/
A Dsyncookies.c243 u32 options = tcp_opt->rcv_tsecr; in cookie_timestamp_decode()
245 if (!tcp_opt->saw_tstamp) { in cookie_timestamp_decode()
246 tcp_clear_options(tcp_opt); in cookie_timestamp_decode()
261 tcp_opt->wscale_ok = 1; in cookie_timestamp_decode()
324 struct tcp_options_received tcp_opt; in cookie_v4_check() local
353 memset(&tcp_opt, 0, sizeof(tcp_opt)); in cookie_v4_check()
356 if (tcp_opt.saw_tstamp && tcp_opt.rcv_tsecr) { in cookie_v4_check()
360 tcp_opt.rcv_tsecr -= tsoff; in cookie_v4_check()
384 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v4_check()
385 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v4_check()
[all …]
/linux/net/ipv6/
A Dsyncookies.c130 struct tcp_options_received tcp_opt; in cookie_v6_check() local
159 memset(&tcp_opt, 0, sizeof(tcp_opt)); in cookie_v6_check()
160 tcp_parse_options(sock_net(sk), skb, &tcp_opt, 0, NULL); in cookie_v6_check()
162 if (tcp_opt.saw_tstamp && tcp_opt.rcv_tsecr) { in cookie_v6_check()
166 tcp_opt.rcv_tsecr -= tsoff; in cookie_v6_check()
169 if (!cookie_timestamp_decode(sock_net(sk), &tcp_opt)) in cookie_v6_check()
205 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check()
206 ireq->sack_ok = tcp_opt.sack_ok; in cookie_v6_check()
207 ireq->wscale_ok = tcp_opt.wscale_ok; in cookie_v6_check()
208 ireq->tstamp_ok = tcp_opt.saw_tstamp; in cookie_v6_check()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtest_misc_tcp_hdr_options.c38 struct tcp_opt reg_opt; in __check_active_hdr_in()
169 struct tcp_opt win_scale_opt = {}; in write_active_opt()
170 struct tcp_opt reg_opt = {}; in write_active_opt()
A Dtest_tcp_hdr_options.c90 struct tcp_opt regular; in store_option()
135 struct tcp_opt regular; in load_option()
/linux/tools/testing/selftests/bpf/
A Dtest_tcp_hdr_options.h79 struct tcp_opt { struct
/linux/drivers/scsi/cxgbi/cxgb4i/
A Dcxgb4i.c894 unsigned short tcp_opt = ntohs(req->tcp_opt); in do_act_establish() local
944 csk->advmss = lldi->mtus[TCPOPT_MSS_G(tcp_opt)] - 40; in do_act_establish()
945 if (TCPOPT_TSTAMP_G(tcp_opt)) in do_act_establish()
952 csk, TCPOPT_MSS_G(tcp_opt), csk->advmss); in do_act_establish()
954 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in do_act_establish()
/linux/drivers/infiniband/hw/cxgb4/
A Dcm.c1218 unsigned short tcp_opt = ntohs(req->tcp_opt); in act_establish() local
1239 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in act_establish()
1241 set_emss(ep, tcp_opt); in act_establish()
2682 u16 tcp_opt = ntohs(req->tcp_opt); in pass_establish() local
2688 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in pass_establish()
2690 pr_debug("ep %p hwtid %u tcp_opt 0x%02x\n", ep, tid, tcp_opt); in pass_establish()
2692 set_emss(ep, tcp_opt); in pass_establish()
/linux/drivers/target/iscsi/cxgbit/
A Dcxgbit_cm.c1630 u16 tcp_opt = be16_to_cpu(req->tcp_opt); in cxgbit_pass_establish() local
1650 csk->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in cxgbit_pass_establish()
1651 cxgbit_set_emss(csk, tcp_opt); in cxgbit_pass_establish()
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dt3_cpl.h509 __be16 tcp_opt; member
636 __be16 tcp_opt; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dt4_msg.h612 __be16 tcp_opt; member
669 __be16 tcp_opt; member
/linux/drivers/scsi/cxgbi/cxgb3i/
A Dcxgb3i.c509 cxgbi_sock_established(csk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in do_act_establish()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_cm.c1595 make_established(sk, ntohl(req->snd_isn), ntohs(req->tcp_opt)); in chtls_pass_establish()

Completed in 47 milliseconds