Searched refs:oldsk (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/net/sctp/ |
H A D | associola.c | 1066 struct sock *oldsk = assoc->base.sk; in sctp_assoc_migrate() local 1074 if (sctp_style(oldsk, TCP)) in sctp_assoc_migrate() 1075 sk_acceptq_removed(oldsk); in sctp_assoc_migrate()
|
H A D | socket.c | 90 static int sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, 4773 /* Populate the fields of the newsk from the oldsk and migrate the in sctp_accept() 5533 /* Populate the fields of the newsk from the oldsk and migrate the in sctp_do_peeloff() 9267 /* Populate the fields of the newsk from the oldsk and migrate the assoc 9270 static int sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, in sctp_sock_migrate() argument 9274 struct sctp_sock *oldsp = sctp_sk(oldsk); in sctp_sock_migrate() 9286 newsk->sk_sndbuf = oldsk->sk_sndbuf; in sctp_sock_migrate() 9287 newsk->sk_rcvbuf = oldsk->sk_rcvbuf; in sctp_sock_migrate() 9289 sctp_copy_descendant(newsk, oldsk); in sctp_sock_migrate() 9298 head = &sctp_port_hashtable[sctp_phashfn(sock_net(oldsk), in sctp_sock_migrate() [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | associola.c | 1074 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()
|
H A D | socket.c | 91 static int sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, 4890 /* Populate the fields of the newsk from the oldsk and migrate the in sctp_accept() 5657 /* Populate the fields of the newsk from the oldsk and migrate the in sctp_do_peeloff() 9511 /* Populate the fields of the newsk from the oldsk and migrate the assoc 9514 static int sctp_sock_migrate(struct sock *oldsk, struct sock *newsk, in sctp_sock_migrate() argument 9518 struct sctp_sock *oldsp = sctp_sk(oldsk); in sctp_sock_migrate() 9530 newsk->sk_sndbuf = oldsk->sk_sndbuf; in sctp_sock_migrate() 9531 newsk->sk_rcvbuf = oldsk->sk_rcvbuf; in sctp_sock_migrate() 9533 sctp_copy_descendant(newsk, oldsk); in sctp_sock_migrate() 9542 head = &sctp_port_hashtable[sctp_phashfn(sock_net(oldsk), in sctp_sock_migrate() [all...] |
/kernel/linux/linux-5.10/include/net/sctp/ |
H A D | sctp.h | 154 struct sock *oldsk, struct sock *newsk);
|
Completed in 26 milliseconds