Searched refs:peeloff (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/net/sctp/ |
D | socket.c | 5655 static int sctp_getsockopt_peeloff_common(struct sock *sk, sctp_peeloff_arg_t *peeloff, in sctp_getsockopt_peeloff_common() argument 5661 retval = sctp_do_peeloff(sk, peeloff->associd, &newsock); in sctp_getsockopt_peeloff_common() 5683 peeloff->sd = retval; in sctp_getsockopt_peeloff_common() 5693 sctp_peeloff_arg_t peeloff; in sctp_getsockopt_peeloff() local 5700 if (copy_from_user(&peeloff, optval, len)) in sctp_getsockopt_peeloff() 5703 retval = sctp_getsockopt_peeloff_common(sk, &peeloff, &newfile, 0); in sctp_getsockopt_peeloff() 5714 if (copy_to_user(optval, &peeloff, len)) { in sctp_getsockopt_peeloff() 5727 sctp_peeloff_flags_arg_t peeloff; in sctp_getsockopt_peeloff_flags() local 5734 if (copy_from_user(&peeloff, optval, len)) in sctp_getsockopt_peeloff_flags() 5737 retval = sctp_getsockopt_peeloff_common(sk, &peeloff.p_arg, in sctp_getsockopt_peeloff_flags() [all …]
|