Lines Matching refs:walk_size
1002 int walk_size = 0; in sctp_setsockopt_bindx() local
1014 while (walk_size < addrs_size) { in sctp_setsockopt_bindx()
1015 if (walk_size + sizeof(sa_family_t) > addrs_size) in sctp_setsockopt_bindx()
1024 if (!af || (walk_size + af->sockaddr_len) > addrs_size) in sctp_setsockopt_bindx()
1028 walk_size += af->sockaddr_len; in sctp_setsockopt_bindx()
1174 int walk_size, err; in __sctp_connect() local
1201 walk_size = af->sockaddr_len; in __sctp_connect()
1202 while (walk_size < addrs_size) { in __sctp_connect()
1204 if (walk_size + sizeof(sa_family_t) > addrs_size) in __sctp_connect()
1209 if (!af || af->sockaddr_len + walk_size > addrs_size) in __sctp_connect()
1220 walk_size += af->sockaddr_len; in __sctp_connect()