Home
last modified time | relevance | path

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

/Linux-v6.6/net/sctp/
Dassociola.c1074 struct sock *oldsk = assoc->base.sk; in sctp_assoc_migrate() local
1082 if (sctp_style(oldsk, TCP)) in sctp_assoc_migrate()
1083 sk_acceptq_removed(oldsk); in sctp_assoc_migrate()
Dsocket.c91 static int sctp_sock_migrate(struct sock *oldsk, struct sock *newsk,
9513 static int sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, in sctp_sock_migrate() argument
9517 struct sctp_sock *oldsp = sctp_sk(oldsk); in sctp_sock_migrate()
9529 newsk->sk_sndbuf = oldsk->sk_sndbuf; in sctp_sock_migrate()
9530 newsk->sk_rcvbuf = oldsk->sk_rcvbuf; in sctp_sock_migrate()
9532 sctp_copy_descendant(newsk, oldsk); in sctp_sock_migrate()
9541 head = &sctp_port_hashtable[sctp_phashfn(sock_net(oldsk), in sctp_sock_migrate()
9542 inet_sk(oldsk)->inet_num)]; in sctp_sock_migrate()
9544 pp = sctp_sk(oldsk)->bind_hash; in sctp_sock_migrate()
9547 inet_sk(newsk)->inet_num = inet_sk(oldsk)->inet_num; in sctp_sock_migrate()
[all …]