| /linux/net/handshake/ |
| H A D | tlshd.c | 48 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 D | syncookies.c | 267 struct tcp_request_sock *treq = tcp_rsk(req); in cookie_tcp_reqsk_init() local 280 treq->snt_synack = 0; in cookie_tcp_reqsk_init() 281 treq->snt_tsval_first = 0; in cookie_tcp_reqsk_init() 282 treq->tfo_listener = false; in cookie_tcp_reqsk_init() 283 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_tcp_reqsk_init() 284 treq->snt_isn = ntohl(th->ack_seq) - 1; in cookie_tcp_reqsk_init() 289 treq->txhash = treq->snt_isn; in cookie_tcp_reqsk_init() 290 treq->syn_tos = TCP_SKB_CB(skb)->ip_dsfield; in cookie_tcp_reqsk_init() 293 treq in cookie_tcp_reqsk_init() 320 struct tcp_request_sock *treq; cookie_tcp_reqsk_alloc() local 408 struct tcp_request_sock *treq; cookie_v4_check() local [all...] |
| H A D | tcp_minisocks.c | 474 const struct tcp_request_sock *treq = tcp_rsk(req); in tcp_ecn_openreq_child() 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() 570 seq = treq in tcp_create_openreq_child() 475 const struct tcp_request_sock *treq = tcp_rsk(req); tcp_ecn_openreq_child() local 553 struct tcp_request_sock *treq = tcp_rsk(req); tcp_create_openreq_child() local [all...] |
| H A D | tcp_ao.c | 920 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_ao_verify_hash() 926 /* treq->af_specific is used to perform TCP_AO lookup in tcp_ao_verify_hash() 931 treq->af_specific = &tcp_request_sock_ipv6_ops; in tcp_ao_verify_hash() 934 treq->af_specific = &tcp_request_sock_ipv4_ops; in tcp_ao_verify_hash() 936 treq->used_tcp_ao = false; in tcp_ao_verify_hash() 947 treq->ao_rcv_next = aoh->keyid; in tcp_inbound_ao_hash() 948 treq->ao_keyid = aoh->rnext_keyid; in tcp_inbound_ao_hash() 949 treq->used_tcp_ao = true; in tcp_inbound_ao_hash() 869 struct tcp_request_sock *treq = tcp_rsk(req); tcp_ao_syncookie() local
|
| H A D | tcp_output.c | 1072 struct tcp_request_sock *treq = tcp_rsk(req); in tcp_synack_options() 1135 if (treq->accecn_ok && in tcp_synack_options() 1076 struct tcp_request_sock *treq = tcp_rsk(req); tcp_synack_options() local
|
| /linux/drivers/nvme/target/ |
| H A D | configfs.c | 168 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 218 treq |= nvmet_addr_treq[i].type; in nvmet_addr_treq_store() 219 port->disc_addr.treq = treq; in nvmet_addr_treq_store() 469 u8 treq = nvmet_port_disc_addr_treq_mask(port); in nvmet_addr_tsas_store() local 508 treq |= NVMF_TREQ_REQUIRED; in nvmet_addr_tsas_store() 510 treq |= sc; in nvmet_addr_tsas_store() 512 treq |= NVMF_TREQ_NOT_SPECIFIED; in nvmet_addr_tsas_store() [all …]
|
| H A D | discovery.c | 113 e->treq = port->disc_addr.treq; in nvmet_format_discovery_entry()
|
| H A D | nvmet.h | 237 return (port->disc_addr.treq & NVME_TREQ_SECURE_CHANNEL_MASK); in nvmet_port_disc_addr_treq_secure_channel()
|
| /linux/net/wireless/ |
| H A D | pmsr.c | 313 struct nlattr *treq; in nl80211_pmsr_start() 378 nla_for_each_nested(treq, req[NL80211_PMSR_REQ_ATTR_DATA], rem) { in cfg80211_pmsr_complete() 379 switch (nla_type(treq)) { in cfg80211_pmsr_complete() 381 err = pmsr_parse_ftm(rdev, treq, out, info); in cfg80211_pmsr_complete() 384 NL_SET_ERR_MSG_ATTR(info->extack, treq, in cfg80211_pmsr_complete() 215 struct nlattr *treq; pmsr_parse_peer() local
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_iter_tcp4.c | 172 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 D | bpf_iter_tcp6.c | 181 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 D | rio_cm.c | 703 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/net/ethernet/chelsio/inline_crypto/chtls/ |
| H A D | chtls_cm.c | |
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | pci.c | 2118 void *treq, *tresp = NULL; in ath10k_pci_hif_exchange_bmi_msg() 2129 treq = kmemdup(req, req_len, GFP_KERNEL); in ath10k_pci_hif_exchange_bmi_msg() 2130 if (!treq) in ath10k_pci_hif_exchange_bmi_msg() 2133 req_paddr = dma_map_single(ar->dev, treq, req_len, DMA_TO_DEVICE); in ath10k_pci_hif_exchange_bmi_msg() 2194 kfree(treq); in ath10k_pci_hif_exchange_bmi_msg() 2119 void *treq, *tresp = NULL; ath10k_pci_hif_exchange_bmi_msg() local
|
| /linux/include/net/ |
| H A D | tcp.h | 1052 static inline u32 tcp_rsk_tsval(const struct tcp_request_sock *treq) 1054 return tcp_clock_ts(treq->req_usec_ts) + treq->ts_off; 1043 tcp_rsk_tsval(const struct tcp_request_sock * treq) tcp_rsk_tsval() argument
|
| /linux/drivers/usb/dwc2/ |
| H A D | gadget.c | 983 struct dwc2_hsotg_req *hs_req, *treq; in dwc2_gadget_start_isoc_ddma() local 1007 list_for_each_entry_safe(hs_req, treq, &hs_ep->queue, queue) { in dwc2_gadget_start_isoc_ddma() 4315 struct dwc2_hsotg_req *req, *treq; in on_list() local 4317 list_for_each_entry_safe(req, treq, &ep->queue, queue) { in on_list()
|
| /linux/net/core/ |
| H A D | filter.c | 12348 struct tcp_request_sock *treq; in bpf_sk_assign_tcp_reqsk() 12411 treq = tcp_rsk(req); in bpf_xdp_pull_data() 12425 treq->req_usec_ts = !!attrs->usec_ts_ok; in bpf_xdp_pull_data() 12426 treq->ts_off = tsoff; in bpf_xdp_pull_data() 12266 struct tcp_request_sock *treq; bpf_sk_assign_tcp_reqsk() local
|