#include "common.h"
#include <linux/slab.h>
Go to the source code of this file.
tomoyo_parse_ipaddr_union - Parse an IP address.
- Parameters
-
| Pointer to "struct tomoyo_acl_param". : Pointer to "struct tomoyo_ipaddr_union". |
Returns true on success, false otherwise.
Definition at line 49 of file network.c.
tomoyo_print_ip - Print an IP address.
: Buffer to write to. : Size of . : Pointer to "struct ipaddr_union".
Returns nothing.
Definition at line 123 of file network.c.
tomoyo_socket_bind_permission - Check permission for setting the local address of a socket.
: Pointer to "struct socket". : Pointer to "struct sockaddr". : Size of .
Returns 0 on success, negative value otherwise.
Definition at line 717 of file network.c.
tomoyo_socket_connect_permission - Check permission for setting the remote address of a socket.
: Pointer to "struct socket". : Pointer to "struct sockaddr". : Size of .
Returns 0 on success, negative value otherwise.
Definition at line 680 of file network.c.
tomoyo_socket_listen_permission - Check permission for listening a socket.
: Pointer to "struct socket".
Returns 0 on success, negative value otherwise.
Definition at line 645 of file network.c.
tomoyo_socket_sendmsg_permission - Check permission for sending a datagram.
: Pointer to "struct socket". : Pointer to "struct msghdr". : Unused.
Returns 0 on success, negative value otherwise.
Definition at line 752 of file network.c.
tomoyo_write_inet_network - Write "struct tomoyo_inet_acl" list.
- Parameters
-
| Pointer to "struct tomoyo_acl_param". |
Returns 0 on success, negative value otherwise.
Caller holds tomoyo_read_lock().
Definition at line 281 of file network.c.
tomoyo_write_unix_network - Write "struct tomoyo_unix_acl" list.
- Parameters
-
| Pointer to "struct tomoyo_acl_param". |
Returns 0 on success, negative value otherwise.
Definition at line 326 of file network.c.
Initial value:= {
[0] = " ",
[4] = " ",
}
Definition at line 32 of file network.c.