Home
last modified time | relevance | path

Searched refs:net (Results 1 – 11 of 11) sorted by relevance

/security/
Dlsm_audit.c52 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()
53 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()
67 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata()
68 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
76 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata()
77 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
85 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata()
86 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata()
93 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata()
94 ad->u.net->dport = sh->dest; in ipv4_skb_to_auditdata()
[all …]
DKconfig132 See <http://tboot.sourceforge.net> for more information about tboot.
/security/smack/
Dsmack_netfilter.c78 static int __net_init smack_nf_register(struct net *net) in smack_nf_register() argument
80 return nf_register_net_hooks(net, smack_nf_ops, in smack_nf_register()
84 static void __net_exit smack_nf_unregister(struct net *net) in smack_nf_unregister() argument
86 nf_unregister_net_hooks(net, smack_nf_ops, ARRAY_SIZE(smack_nf_ops)); in smack_nf_unregister()
Dsmack.h438 char type, struct lsm_network_audit *net) in smk_ad_init_net() argument
441 memset(net, 0, sizeof(*net)); in smk_ad_init_net()
442 a->a.u.net = net; in smk_ad_init_net()
468 a->a.u.net->sk = sk; in smk_ad_setfield_u_net_sk()
Dsmack_lsm.c2521 struct lsm_network_audit net; in smack_netlabel_send() local
2523 smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); in smack_netlabel_send()
2524 ad.a.u.net->family = sap->sin_family; in smack_netlabel_send()
2525 ad.a.u.net->dport = sap->sin_port; in smack_netlabel_send()
2526 ad.a.u.net->v4info.daddr = sap->sin_addr.s_addr; in smack_netlabel_send()
2558 struct lsm_network_audit net; in smk_ipv6_check() local
2564 smk_ad_init_net(&ad, __func__, LSM_AUDIT_DATA_NET, &net); in smk_ipv6_check()
2565 ad.a.u.net->family = PF_INET6; in smk_ipv6_check()
2566 ad.a.u.net->dport = ntohs(address->sin6_port); in smk_ipv6_check()
2568 ad.a.u.net->v6info.saddr = address->sin6_addr; in smk_ipv6_check()
[all …]
/security/selinux/include/
Dxfrm.h48 struct net *net; in selinux_xfrm_notify_policyload() local
51 for_each_net(net) in selinux_xfrm_notify_policyload()
52 rt_genid_bump_all(net); in selinux_xfrm_notify_policyload()
Dnetif.h24 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid);
Dobjsec.h99 struct net *ns; /* network namespace */
/security/selinux/
Dnetif.c56 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) in sel_netif_hashfn()
71 static inline struct sel_netif *sel_netif_find(const struct net *ns, in sel_netif_find()
136 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow()
203 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid()
229 static void sel_netif_kill(const struct net *ns, int ifindex) in sel_netif_kill()
Dhooks.c4119 ad->u.net->v4info.saddr = ih->saddr; in selinux_parse_skb_ipv4()
4120 ad->u.net->v4info.daddr = ih->daddr; in selinux_parse_skb_ipv4()
4138 ad->u.net->sport = th->source; in selinux_parse_skb_ipv4()
4139 ad->u.net->dport = th->dest; in selinux_parse_skb_ipv4()
4154 ad->u.net->sport = uh->source; in selinux_parse_skb_ipv4()
4155 ad->u.net->dport = uh->dest; in selinux_parse_skb_ipv4()
4170 ad->u.net->sport = dh->dccph_sport; in selinux_parse_skb_ipv4()
4171 ad->u.net->dport = dh->dccph_dport; in selinux_parse_skb_ipv4()
4198 ad->u.net->v6info.saddr = ip6->saddr; in selinux_parse_skb_ipv6()
4199 ad->u.net->v6info.daddr = ip6->daddr; in selinux_parse_skb_ipv6()
[all …]
/security/integrity/ima/
DKconfig156 <http://linux-ima.sourceforge.net>