Searched refs:peeloff (Results 1 – 1 of 1) sorted by relevance
/net/sctp/ |
D | socket.c | 5554 static int sctp_getsockopt_peeloff_common(struct sock *sk, sctp_peeloff_arg_t *peeloff, in sctp_getsockopt_peeloff_common() argument 5560 retval = sctp_do_peeloff(sk, peeloff->associd, &newsock); in sctp_getsockopt_peeloff_common() 5582 peeloff->sd = retval; in sctp_getsockopt_peeloff_common() 5592 sctp_peeloff_arg_t peeloff; in sctp_getsockopt_peeloff() local 5599 if (copy_from_user(&peeloff, optval, len)) in sctp_getsockopt_peeloff() 5602 retval = sctp_getsockopt_peeloff_common(sk, &peeloff, &newfile, 0); in sctp_getsockopt_peeloff() 5613 if (copy_to_user(optval, &peeloff, len)) { in sctp_getsockopt_peeloff() 5626 sctp_peeloff_flags_arg_t peeloff; in sctp_getsockopt_peeloff_flags() local 5633 if (copy_from_user(&peeloff, optval, len)) in sctp_getsockopt_peeloff_flags() 5636 retval = sctp_getsockopt_peeloff_common(sk, &peeloff.p_arg, in sctp_getsockopt_peeloff_flags() [all …]
|