Lines Matching refs:addrcnt
63 sctp_bindx(int sock, void *addrs, int addrcnt, int flags)
67 if (addrs == NULL || addrcnt == 0) {
88 sz * addrcnt));
91 sz * addrcnt));
374 sctp_connectx(int sd, struct sockaddr *addrs, int addrcnt, sctp_assoc_t *aid)
379 if (addrs == NULL || addrcnt <= 0) {
397 ctx.sctx_addr_cnt = addrcnt;
398 ctx.sctx_addr_len = addrcnt * sz;
538 int addrcnt, void *info, socklen_t infolen, unsigned int infotype,
548 if ((addrcnt > 0 && addrs == NULL) || (iovcnt > 0 && iov == NULL) ||
555 if (addrcnt > 1 || (addrcnt == 1 && info == NULL)) {
557 } else if (addrcnt == 1) {
582 if (sctp_connectx(sd, addrs, addrcnt, &aid) != 0)