Home
last modified time | relevance | path

Searched refs:treq (Results 1 – 15 of 15) sorted by relevance

/linux/net/handshake/
H A Dtlshd.c48 struct tls_handshake_req *treq = handshake_req_private(req); in tls_handshake_req_init() local
50 treq->th_timeout_ms = args->ta_timeout_ms; in tls_handshake_req_init()
51 treq->th_consumer_done = args->ta_done; in tls_handshake_req_init()
52 treq->th_consumer_data = args->ta_data; in tls_handshake_req_init()
53 treq->th_peername = args->ta_peername; in tls_handshake_req_init()
54 treq->th_keyring = args->ta_keyring; in tls_handshake_req_init()
55 treq->th_num_peerids = 0; in tls_handshake_req_init()
56 treq->th_certificate = TLS_NO_CERT; in tls_handshake_req_init()
57 treq->th_privkey = TLS_NO_PRIVKEY; in tls_handshake_req_init()
58 return treq; in tls_handshake_req_init()
[all …]
/linux/net/ipv4/
H A Dtcp_minisocks.c474 const struct tcp_request_sock *treq = tcp_rsk(req); in tcp_ecn_openreq_child() local
477 if (treq->accecn_ok) { in tcp_ecn_openreq_child()
479 tp->syn_ect_snt = treq->syn_ect_snt; in tcp_ecn_openreq_child()
480 tcp_accecn_third_ack(sk, skb, treq->syn_ect_snt); in tcp_ecn_openreq_child()
481 tp->saw_accecn_opt = treq->saw_accecn_opt; in tcp_ecn_openreq_child()
482 if (treq->accecn_fail_mode & TCP_ACCECN_ACE_FAIL_SEND) in tcp_ecn_openreq_child()
484 if (treq->accecn_fail_mode & TCP_ACCECN_ACE_FAIL_RECV) in tcp_ecn_openreq_child()
486 tp->prev_ecnfield = treq->syn_ect_rcv; in tcp_ecn_openreq_child()
552 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_create_openreq_child() local
570 seq = treq->rcv_isn + 1; in tcp_create_openreq_child()
[all …]
H A Dtcp_ao.c921 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_ao_syncookie() local
932 treq->af_specific = &tcp_request_sock_ipv6_ops; in tcp_ao_syncookie()
935 treq->af_specific = &tcp_request_sock_ipv4_ops; in tcp_ao_syncookie()
937 treq->used_tcp_ao = false; in tcp_ao_syncookie()
948 treq->ao_rcv_next = aoh->keyid; in tcp_ao_syncookie()
949 treq->ao_keyid = aoh->rnext_keyid; in tcp_ao_syncookie()
950 treq->used_tcp_ao = true; in tcp_ao_syncookie()
H A Dtcp_output.c1072 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_synack_options() local
1135 if (treq->accecn_ok && in tcp_synack_options()
/linux/drivers/nvme/target/
H A Dconfigfs.c168 return (port->disc_addr.treq & ~NVME_TREQ_SECURE_CHANNEL_MASK); in nvmet_port_disc_addr_treq_mask()
173 u8 treq = nvmet_port_disc_addr_treq_secure_channel(to_nvmet_port(item)); in nvmet_addr_treq_show() local
177 if (treq == nvmet_addr_treq[i].type) in nvmet_addr_treq_show()
189 u8 treq = nvmet_port_disc_addr_treq_mask(port); in nvmet_addr_treq_store() local
200 pr_err("Invalid value '%s' for treq\n", page); in nvmet_addr_treq_store()
208 pr_debug("treq '%s' not allowed for TLS1.3\n", in nvmet_addr_treq_store()
218 treq |= nvmet_addr_treq[i].type; in nvmet_addr_treq_store()
219 port->disc_addr.treq = treq; in nvmet_addr_treq_store()
471 u8 treq in nvmet_addr_tsas_store() local
[all...]
H A Dnvmet.h242 return (port->disc_addr.treq & NVME_TREQ_SECURE_CHANNEL_MASK);
/linux/net/wireless/
H A Dpmsr.c317 struct nlattr *treq; in pmsr_parse_peer() local
382 nla_for_each_nested(treq, req[NL80211_PMSR_REQ_ATTR_DATA], rem) { in pmsr_parse_peer()
384 NL_SET_ERR_MSG_ATTR(info->extack, treq, in pmsr_parse_peer()
391 switch (nla_type(treq)) { in pmsr_parse_peer()
393 err = pmsr_parse_ftm(rdev, treq, out, info); in pmsr_parse_peer()
396 NL_SET_ERR_MSG_ATTR(info->extack, treq, in pmsr_parse_peer()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c172 static int dump_req_sock(struct seq_file *seq, struct tcp_request_sock *treq, in dump_req_sock() argument
175 struct inet_request_sock *irsk = &treq->req; in dump_req_sock()
H A Dbpf_iter_tcp6.c181 static int dump_req_sock(struct seq_file *seq, struct tcp_request_sock *treq, in dump_req_sock() argument
184 struct inet_request_sock *irsk = &treq->req; in dump_req_sock()
/linux/drivers/rapidio/
H A Drio_cm.c703 struct tx_req *treq; in riocm_queue_req() local
705 treq = kzalloc_obj(*treq); in riocm_queue_req()
706 if (treq == NULL) in riocm_queue_req()
709 treq->rdev = rdev; in riocm_queue_req()
710 treq->buffer = buffer; in riocm_queue_req()
711 treq->len = len; in riocm_queue_req()
714 list_add_tail(&treq->node, &cm->tx_reqs); in riocm_queue_req()
/linux/drivers/ufs/core/
H A Dufshcd.c7515 struct utp_task_req_desc *treq, u8 tm_function) in ufshcd_clear_tm_cmd()
7538 treq->upiu_req.req_header.task_tag = task_tag; in __ufshcd_issue_tm_cmd()
7540 memcpy(hba->utmrdl_base_addr + task_tag, treq, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
7565 memcpy(treq, hba->utmrdl_base_addr + task_tag, sizeof(*treq)); in __ufshcd_issue_tm_cmd()
7594 struct utp_task_req_desc treq = { };
7599 treq.header.interrupt = 1; in ufshcd_issue_tm_cmd()
7600 treq.header.ocs = OCS_INVALID_COMMAND_STATUS; in ufshcd_issue_tm_cmd()
7603 treq in ufshcd_issue_tm_cmd()
7522 __ufshcd_issue_tm_cmd(struct ufs_hba * hba,struct utp_task_req_desc * treq,u8 tm_function) __ufshcd_issue_tm_cmd() argument
7601 struct utp_task_req_desc treq = { }; ufshcd_issue_tm_cmd() local
7751 struct utp_task_req_desc treq = { }; ufshcd_exec_raw_upiu_cmd() local
[all...]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_flows.c1191 struct npc_install_flow_req *req, treq = { 0 }; in otx2_add_flow_msg() local
1214 &treq); in otx2_add_flow_msg()
1218 err = otx2_get_kw_type(pfvf, &treq, &kw_type); in otx2_add_flow_msg()
1237 src = (u8 *)&treq + off; in otx2_add_flow_msg()
/linux/include/net/
H A Dtcp.h1051 static inline u32 tcp_rsk_tsval(const struct tcp_request_sock *treq) in tcp_rsk_tsval() argument
1053 return tcp_clock_ts(treq->req_usec_ts) + treq->ts_off; in tcp_rsk_tsval()
/linux/include/linux/
H A Dnvme.h1670 __u8 treq; member
/linux/net/core/
H A Dfilter.c12503 struct tcp_request_sock *treq; in bpf_sk_assign_tcp_reqsk() local
12566 treq = tcp_rsk(req); in bpf_sk_assign_tcp_reqsk()
12580 treq->req_usec_ts = !!attrs->usec_ts_ok; in bpf_sk_assign_tcp_reqsk()
12581 treq->ts_off = tsoff; in bpf_sk_assign_tcp_reqsk()