Home
last modified time | relevance | path

Searched refs:req_sk (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
A Dtest_btf_skc_cls_ingress.c102 struct request_sock *req_sk; in handle_ip6_tcp() local
104 req_sk = (struct request_sock *)bpf_skc_to_tcp_request_sock(bpf_skc); in handle_ip6_tcp()
105 if (!req_sk) { in handle_ip6_tcp()
110 if (bpf_sk_assign(skb, req_sk, 0)) { in handle_ip6_tcp()
115 req_sk_sport = req_sk->__req_common.skc_num; in handle_ip6_tcp()
117 bpf_sk_release(req_sk); in handle_ip6_tcp()
/linux/net/ipv4/
A Dinet_connection_sock.c702 struct sock *req_sk, *nreq_sk; in inet_reqsk_clone() local
714 req_sk = req_to_sk(req); in inet_reqsk_clone()
717 memcpy(nreq_sk, req_sk, in inet_reqsk_clone()
719 memcpy(&nreq_sk->sk_dontcopy_end, &req_sk->sk_dontcopy_end, in inet_reqsk_clone()
723 nreq_sk->sk_tx_queue_mapping = req_sk->sk_tx_queue_mapping; in inet_reqsk_clone()
725 nreq_sk->sk_rx_queue_mapping = req_sk->sk_rx_queue_mapping; in inet_reqsk_clone()
727 nreq_sk->sk_incoming_cpu = req_sk->sk_incoming_cpu; in inet_reqsk_clone()

Completed in 5 milliseconds