Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smack_netfilter.c Create Date:2022-07-28 19:29:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smack_ipv4_output

Proto:static unsigned int smack_ipv4_output(void *priv, struct sk_buff *skb, const struct nf_hook_state *state)

Type:unsigned int

Parameter:

TypeParameterName
void *priv
struct sk_buff *skb
const struct nf_hook_state *state
45  sk = skb_to_full_sk(skb)
49  If sk && sk_security Then
50  ssp = sk_security
51  skp = outbound label
52  secmark = smk_secid
55  Return NF_ACCEPT