函数逻辑报告 |
Source Code:security\lsm_audit.c |
Create Date:2022-07-27 21:00:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pv4_skb_to_auditdata : fill auditdata from skb*@skb : the skb*@ad : the audit data to fill*@proto : the layer 4 protocol* return 0 on success
函数原型:int ipv4_skb_to_auditdata(struct sk_buff *skb, struct common_audit_data *ad, u8 *proto)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sk_buff * | skb | |
struct common_audit_data * | ad | |
u8 * | proto |
42 | ret等于0 |
55 | 如果ntohs(frag_off)按位与"Fragment Offset" part 则返回:0 |
59 | 当:protocol恒等于IPPROTO_TCP |
68 | 当:protocol恒等于IPPROTO_UDP |
77 | 当:protocol恒等于IPPROTO_DCCP |
86 | 当:protocol恒等于IPPROTO_SCTP |
94 | 默认 |
97 | 返回:ret |
名称 | 描述 |
---|---|
smack_inet_conn_request | smack_inet_conn_request - Smack access check on connect*@sk: socket involved*@skb: packet*@req: unused* Returns 0 if a task with the packet label could write to* the socket, otherwise an error code |
smack_socket_sock_rcv_skb | smack_socket_sock_rcv_skb - Smack packet delivery access check*@sk: socket*@skb: packet* Returns 0 if the packet should be delivered, an error code otherwise |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |