Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:59:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns error only if unable to parse addresses
Proto:static int selinux_parse_skb_ipv6(struct sk_buff *skb, struct common_audit_data *ad, u8 *proto)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct sk_buff * | skb | |
struct common_audit_data * | ad | |
u8 * | proto |
4289 | offset = skb_network_offset(skb) |
4296 | ret = 0 |
4308 | Case nexthdr == IPPROTO_TCP |
4312 | If (th == NULL) Then Break |
4317 | Break |
4320 | Case nexthdr == IPPROTO_UDP |
4324 | If (uh == NULL) Then Break |
4329 | Break |
4332 | Case nexthdr == IPPROTO_DCCP |
4345 | Case nexthdr == IPPROTO_SCTP |
4349 | If (sh == NULL) Then Break |
4354 | Break |
4358 | Default |
4359 | Break |
4361 | out : |
4362 | Return ret |
Name | Describe |
---|---|
selinux_parse_skb |
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 |