Searched refs:peeloff (Results 1 – 1 of 1) sorted by relevance
/net/sctp/ |
D | socket.c | 5686 static int sctp_getsockopt_peeloff_common(struct sock *sk, sctp_peeloff_arg_t *peeloff, in sctp_getsockopt_peeloff_common() argument 5692 retval = sctp_do_peeloff(sk, peeloff->associd, &newsock); in sctp_getsockopt_peeloff_common() 5714 peeloff->sd = retval; in sctp_getsockopt_peeloff_common() 5724 sctp_peeloff_arg_t peeloff; in sctp_getsockopt_peeloff() local 5731 if (copy_from_user(&peeloff, optval, len)) in sctp_getsockopt_peeloff() 5734 retval = sctp_getsockopt_peeloff_common(sk, &peeloff, &newfile, 0); in sctp_getsockopt_peeloff() 5745 if (copy_to_user(optval, &peeloff, len)) { in sctp_getsockopt_peeloff() 5758 sctp_peeloff_flags_arg_t peeloff; in sctp_getsockopt_peeloff_flags() local 5765 if (copy_from_user(&peeloff, optval, len)) in sctp_getsockopt_peeloff_flags() 5768 retval = sctp_getsockopt_peeloff_common(sk, &peeloff.p_arg, in sctp_getsockopt_peeloff_flags() [all …]
|