Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 5 of 5) sorted by relevance

/security/selinux/include/
Dxfrm.h42 struct common_audit_data *ad, u8 proto);
69 u8 proto) in selinux_xfrm_postroute_last() argument
/security/
Dlsm_audit.c41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata() argument
53 if (proto) in ipv4_skb_to_auditdata()
54 *proto = ih->protocol; in ipv4_skb_to_auditdata()
110 struct common_audit_data *ad, u8 *proto) in ipv6_skb_to_auditdata() argument
130 if (proto) in ipv6_skb_to_auditdata()
131 *proto = nexthdr; in ipv6_skb_to_auditdata()
/security/selinux/
Dxfrm.c440 struct common_audit_data *ad, u8 proto) in selinux_xfrm_postroute_last() argument
444 switch (proto) { in selinux_xfrm_postroute_last()
Dhooks.c4373 struct common_audit_data *ad, u8 *proto) in selinux_parse_skb_ipv4() argument
4391 if (proto) in selinux_parse_skb_ipv4()
4392 *proto = ih->protocol; in selinux_parse_skb_ipv4()
4471 struct common_audit_data *ad, u8 *proto) in selinux_parse_skb_ipv6() argument
4493 if (proto) in selinux_parse_skb_ipv6()
4494 *proto = nexthdr; in selinux_parse_skb_ipv6()
4557 char **_addrp, int src, u8 *proto) in selinux_parse_skb() argument
4564 ret = selinux_parse_skb_ipv4(skb, ad, proto); in selinux_parse_skb()
4573 ret = selinux_parse_skb_ipv6(skb, ad, proto); in selinux_parse_skb()
5869 u8 proto = 0; in selinux_ip_postroute_compat() local
[all …]
/security/smack/
Dsmack_lsm.c3818 int proto = -EINVAL; in smk_skb_to_addr_ipv6() local
3840 proto = nexthdr; in smk_skb_to_addr_ipv6()
3841 switch (proto) { in smk_skb_to_addr_ipv6()
3859 return proto; in smk_skb_to_addr_ipv6()
3937 int proto; in smack_socket_sock_rcv_skb() local
3977 proto = smk_skb_to_addr_ipv6(skb, &sadd); in smack_socket_sock_rcv_skb()
3978 if (proto != IPPROTO_UDP && proto != IPPROTO_UDPLITE && in smack_socket_sock_rcv_skb()
3979 proto != IPPROTO_TCP && proto != IPPROTO_DCCP) in smack_socket_sock_rcv_skb()