Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_btf_skc_cls_ingress.c96 struct request_sock *req_sk; in handle_ip6_tcp() local
98 req_sk = (struct request_sock *)bpf_skc_to_tcp_request_sock(bpf_skc); in handle_ip6_tcp()
99 if (!req_sk) { in handle_ip6_tcp()
104 if (bpf_sk_assign(skb, req_sk, 0)) { in handle_ip6_tcp()
109 req_sk_sport = req_sk->__req_common.skc_num; in handle_ip6_tcp()
111 bpf_sk_release(req_sk); in handle_ip6_tcp()
/linux/net/ipv4/
H A Dinet_connection_sock.c976 struct sock *req_sk, *nreq_sk; in inet_reqsk_clone() local
988 req_sk = req_to_sk(req); in inet_reqsk_clone()
991 memcpy(nreq_sk, req_sk, in inet_reqsk_clone()
993 unsafe_memcpy(&nreq_sk->sk_dontcopy_end, &req_sk->sk_dontcopy_end, in inet_reqsk_clone()
998 nreq_sk->sk_tx_queue_mapping = req_sk->sk_tx_queue_mapping; in inet_reqsk_clone()
1000 nreq_sk->sk_rx_queue_mapping = req_sk->sk_rx_queue_mapping; in inet_reqsk_clone()
1002 nreq_sk->sk_incoming_cpu = req_sk->sk_incoming_cpu; in inet_reqsk_clone()