Lines Matching refs:kaddrs
1166 static int __sctp_connect(struct sock *sk, struct sockaddr *kaddrs, in __sctp_connect() argument
1173 void *addr_buf = kaddrs; in __sctp_connect()
1251 __func__, asoc, kaddrs, err); in __sctp_connect()
1311 static int __sctp_setsockopt_connectx(struct sock *sk, struct sockaddr *kaddrs, in __sctp_setsockopt_connectx() argument
1317 __func__, sk, kaddrs, addrs_size); in __sctp_setsockopt_connectx()
1325 (struct sockaddr *)kaddrs, in __sctp_setsockopt_connectx()
1336 return __sctp_connect(sk, kaddrs, addrs_size, flags, assoc_id); in __sctp_setsockopt_connectx()
1344 struct sockaddr *kaddrs, in sctp_setsockopt_connectx_old() argument
1347 return __sctp_setsockopt_connectx(sk, kaddrs, addrs_size, NULL); in sctp_setsockopt_connectx_old()
1357 struct sockaddr *kaddrs, in sctp_setsockopt_connectx() argument
1363 err = __sctp_setsockopt_connectx(sk, kaddrs, addrs_size, &assoc_id); in sctp_setsockopt_connectx()
1393 struct sockaddr *kaddrs; in sctp_getsockopt_connectx3() local
1417 kaddrs = memdup_user(param.addrs, param.addr_num); in sctp_getsockopt_connectx3()
1418 if (IS_ERR(kaddrs)) in sctp_getsockopt_connectx3()
1419 return PTR_ERR(kaddrs); in sctp_getsockopt_connectx3()
1421 err = __sctp_setsockopt_connectx(sk, kaddrs, param.addr_num, &assoc_id); in sctp_getsockopt_connectx3()
1422 kfree(kaddrs); in sctp_getsockopt_connectx3()