Home
last modified time | relevance | path

Searched refs:walk_size (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/sctp/
Dsocket.c1002 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()
[all …]
/linux-6.1.9/security/selinux/
Dhooks.c5368 int len, err = 0, walk_size = 0; in selinux_sctp_bind_connect() local
5380 while (walk_size < addrlen) { in selinux_sctp_bind_connect()
5381 if (walk_size + sizeof(sa_family_t) > addrlen) in selinux_sctp_bind_connect()
5397 if (walk_size + len > addrlen) in selinux_sctp_bind_connect()
5436 walk_size += len; in selinux_sctp_bind_connect()