函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\network.c Create Date:2022-07-27 21:13:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:moyo_print_ip - Print an IP address.*@buf: Buffer to write to.*@size: Size of @buf.*@ptr: Pointer to "struct ipaddr_union".* Returns nothing.

函数原型:void tomoyo_print_ip(char *buf, const unsigned int size, const struct tomoyo_ipaddr_union *ptr)

返回类型:void

参数:

类型参数名称
char *buf
const unsigned intsize
const struct tomoyo_ipaddr_union *ptr
127  如果Valid only if @group == NULL. moyo_print_ipv6 - Print an IPv6 address.*@buffer: Buffer to write to.*@buffer_len: Size of @buffer.*@min_ip: Pointer to "struct in6_addr".*@max_ip: Pointer to "struct in6_addr".* Returns nothing.
129  否则moyo_print_ipv4 - Print an IPv4 address.*@buffer: Buffer to write to.*@buffer_len: Size of @buffer.*@min_ip: Pointer to __be32.*@max_ip: Pointer to __be32.* Returns nothing.
调用者
名称描述
tomoyo_read_groupmoyo_read_group - Read "struct tomoyo_path_group"/"struct tomoyo_number_group"/"struct tomoyo_address_group" list.*@head: Pointer to "struct tomoyo_io_buffer".*@idx: Index number.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock().