Home
last modified time | relevance | path

Searched defs:newsk (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dlsm_cgroup_nonvoid.c10 int BPF_PROG(nonvoid_socket_clone, struct sock *newsk, const struct request_sock *req) in BPF_PROG()
H A Dlsm_cgroup.c167 int BPF_PROG(socket_clone, struct sock *newsk, const struct request_sock *req) in BPF_PROG()
/linux-6.15/include/net/
H A Dbpf_sk_storage.h42 struct sock *newsk) in bpf_sk_storage_clone()
/linux-6.15/net/ipv4/
H A Dinet_connection_sock.c667 struct sock *newsk; in inet_csk_accept() local
837 struct sock *newsk, in inet_csk_route_child_sock()
1214 static void inet_clone_ulp(const struct request_sock *req, struct sock *newsk, in inet_clone_ulp()
1237 struct sock *newsk = sk_clone_lock(sk, priority); in inet_csk_clone_lock() local
H A Dtcp_minisocks.c523 struct sock *newsk = inet_csk_clone_lock(sk, req, GFP_ATOMIC); in tcp_create_openreq_child() local
H A Dtcp_bpf.c729 void tcp_bpf_clone(const struct sock *sk, struct sock *newsk) in tcp_bpf_clone()
/linux-6.15/net/dccp/
H A Dminisocks.c82 struct sock *newsk = inet_csk_clone_lock(sk, req, GFP_ATOMIC); in dccp_create_openreq_child() local
H A Dipv6.c433 struct sock *newsk; in dccp_v6_request_recv_sock() local
H A Dipv4.c418 struct sock *newsk; in dccp_v4_request_recv_sock() local
/linux-6.15/security/selinux/include/
H A Dnetlabel.h106 struct sock *newsk) in selinux_netlbl_sctp_sk_clone()
/linux-6.15/net/llc/
H A Dllc_conn.c764 struct sock *newsk = llc_sk_alloc(sock_net(sk), sk->sk_family, GFP_ATOMIC, in llc_create_incoming_sock() local
805 struct sock *newsk = llc_create_incoming_sock(sk, skb->dev, in llc_conn_handler() local
H A Daf_llc.c699 struct sock *sk = sock->sk, *newsk; in llc_ui_accept() local
/linux-6.15/security/landlock/
H A Dtask.c267 struct sock *const newsk) in hook_unix_stream_connect()
/linux-6.15/net/sctp/
H A Dipv6.c489 static void sctp_v6_copy_ip_options(struct sock *sk, struct sock *newsk) in sctp_v6_copy_ip_options()
782 struct sock *newsk; in sctp_v6_create_accept_sk() local
H A Dprotocol.c178 static void sctp_v4_copy_ip_options(struct sock *sk, struct sock *newsk) in sctp_v4_copy_ip_options()
587 struct sock *newsk = sk_alloc(sock_net(sk), PF_INET, GFP_KERNEL, in sctp_v4_create_accept_sk() local
H A Dassociola.c1072 void sctp_assoc_migrate(struct sctp_association *assoc, struct sock *newsk) in sctp_assoc_migrate()
/linux-6.15/net/core/
H A Dbpf_sk_storage.c135 bpf_sk_storage_clone_elem(struct sock *newsk, in bpf_sk_storage_clone_elem()
155 int bpf_sk_storage_clone(const struct sock *sk, struct sock *newsk) in bpf_sk_storage_clone()
/linux-6.15/security/selinux/
H A Dnetlabel.c377 void selinux_netlbl_sctp_sk_clone(struct sock *sk, struct sock *newsk) in selinux_netlbl_sctp_sk_clone()
/linux-6.15/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1072 static void inet_inherit_port(struct sock *lsk, struct sock *newsk) in inet_inherit_port()
1123 struct sock *newsk; in chtls_recv_sock() local
1300 struct sock *newsk; in chtls_pass_accept_request() local
/linux-6.15/net/tipc/
H A Dtopsrv.c460 struct sock *newsk; in tipc_topsrv_accept() local
/linux-6.15/net/phonet/
H A Dsocket.c298 struct sock *newsk; in pn_socket_accept() local
/linux-6.15/include/linux/
H A Dsecurity.h1689 struct sock *newsk) in security_unix_stream_connect()
1812 static inline void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone()
1836 static inline void security_inet_csk_clone(struct sock *newsk, in security_inet_csk_clone()
1903 struct sock *newsk) in security_sctp_sk_clone()
/linux-6.15/net/netrom/
H A Daf_netrom.c779 struct sock *newsk; in nr_accept() local
/linux-6.15/security/
H A Dsecurity.c4508 struct sock *newsk) in security_unix_stream_connect()
4885 void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone()
4956 void security_inet_csk_clone(struct sock *newsk, in security_inet_csk_clone()
5156 struct sock *newsk) in security_sctp_sk_clone()
/linux-6.15/net/mptcp/
H A Dprotocol.c3150 static void mptcp_copy_ip6_options(struct sock *newsk, const struct sock *sk) in mptcp_copy_ip6_options()
3170 static void mptcp_copy_ip_options(struct sock *newsk, const struct sock *sk) in mptcp_copy_ip_options()
3811 struct sock *ssk, *newsk; in mptcp_stream_accept() local

12