Home
last modified time | relevance | path

Searched refs:addr_len (Results 1 – 3 of 3) sorted by relevance

/security/tomoyo/
Dnetwork.c21 unsigned int addr_len; member
502 const unsigned int addr_len, in tomoyo_check_inet_address() argument
508 if (addr_len < offsetofend(struct sockaddr, sa_family)) in tomoyo_check_inet_address()
512 if (addr_len < SIN6_LEN_RFC2133) in tomoyo_check_inet_address()
520 if (addr_len < sizeof(struct sockaddr_in)) in tomoyo_check_inet_address()
554 int len = address->unix0.addr_len - sizeof(sa_family_t); in tomoyo_unix_entry()
594 const unsigned int addr_len, in tomoyo_check_unix_address() argument
599 if (addr_len < offsetofend(struct sockaddr, sa_family)) in tomoyo_check_unix_address()
604 u->addr_len = addr_len; in tomoyo_check_unix_address()
656 int addr_len; in tomoyo_socket_listen_permission() local
[all …]
Dtomoyo.c448 int addr_len) in tomoyo_socket_connect() argument
450 return tomoyo_socket_connect_permission(sock, addr, addr_len); in tomoyo_socket_connect()
463 int addr_len) in tomoyo_socket_bind() argument
465 return tomoyo_socket_bind_permission(sock, addr, addr_len); in tomoyo_socket_bind()
Dcommon.h997 int addr_len);
999 struct sockaddr *addr, int addr_len);