Function report |
Source Code:security\tomoyo\network.c |
Create Date:2022-07-28 19:44:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_parse_ipaddr_union - Parse an IP address.*@param: Pointer to "struct tomoyo_acl_param".*@ptr: Pointer to "struct tomoyo_ipaddr_union".* Returns true on success, false otherwise.
Proto:bool tomoyo_parse_ipaddr_union(struct tomoyo_acl_param *param, struct tomoyo_ipaddr_union *ptr)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct tomoyo_acl_param * | param | |
| struct tomoyo_ipaddr_union * | ptr |
| 55 | address = tomoyo_read_token(param) |
| 58 | If Not strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for && in4_pton(address, - 1, min, '-', & end) > 0 Then |
| 60 | Valid only if @group == NULL. = false |
| 66 | Return true |
| 69 | Valid only if @group == NULL. = true |
| 75 | Return true |
| 77 | Return false |
| Name | Describe |
|---|---|
| tomoyo_write_inet_network | moyo_write_inet_network - Write "struct tomoyo_inet_acl" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |