Home
last modified time | relevance | path

Searched refs:oldsk (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/sctp/
Dassociola.c1076 struct sock *oldsk = assoc->base.sk; in sctp_assoc_migrate() local
1084 if (sctp_style(oldsk, TCP)) in sctp_assoc_migrate()
1085 sk_acceptq_removed(oldsk); in sctp_assoc_migrate()
Dsocket.c90 static int sctp_sock_migrate(struct sock *oldsk, struct sock *newsk,
9481 static int sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, in sctp_sock_migrate() argument
9485 struct sctp_sock *oldsp = sctp_sk(oldsk); in sctp_sock_migrate()
9497 newsk->sk_sndbuf = oldsk->sk_sndbuf; in sctp_sock_migrate()
9498 newsk->sk_rcvbuf = oldsk->sk_rcvbuf; in sctp_sock_migrate()
9500 sctp_copy_descendant(newsk, oldsk); in sctp_sock_migrate()
9509 head = &sctp_port_hashtable[sctp_phashfn(sock_net(oldsk), in sctp_sock_migrate()
9510 inet_sk(oldsk)->inet_num)]; in sctp_sock_migrate()
9512 pp = sctp_sk(oldsk)->bind_hash; in sctp_sock_migrate()
9515 inet_sk(newsk)->inet_num = inet_sk(oldsk)->inet_num; in sctp_sock_migrate()
[all …]
/linux-6.1.9/include/net/sctp/
Dsctp.h157 struct sock *oldsk, struct sock *newsk);