函数逻辑报告 |
Source Code:security\lsm_audit.c |
Create Date:2022-07-27 21:00:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pv6_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 ipv6_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 |
| 111 | ret等于0 |
| 121 | ret等于0 |
| 124 | offset等于skb_network_offset(skb) |
| 128 | 如果offset小于0则返回:0 |
| 133 | 当:nexthdr恒等于IPPROTO_TCP |
| 142 | 退出 |
| 144 | 当:nexthdr恒等于IPPROTO_UDP |
| 153 | 退出 |
| 155 | 当:nexthdr恒等于IPPROTO_DCCP |
| 166 | 当:nexthdr恒等于IPPROTO_SCTP |
| 174 | 退出 |
| 176 | 默认 |
| 179 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |