Searched refs:th (Results 1 - 4 of 4) sorted by relevance

/security/apparmor/
H A Dmatch.c40 struct table_header th; local
49 th.td_id = be16_to_cpu(*(u16 *) (blob)) - 1;
50 th.td_flags = be16_to_cpu(*(u16 *) (blob + 2));
51 th.td_lolen = be32_to_cpu(*(u32 *) (blob + 8));
54 if (!(th.td_flags == YYTD_DATA16 || th.td_flags == YYTD_DATA32 ||
55 th.td_flags == YYTD_DATA8))
58 tsize = table_size(th.td_lolen, th.td_flags);
64 *table = th;
[all...]
/security/
H A Dlsm_audit.c63 struct tcphdr *th = tcp_hdr(skb); local
64 if (th == NULL)
67 ad->u.net->sport = th->source;
68 ad->u.net->dport = th->dest;
137 struct tcphdr _tcph, *th; local
139 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph);
140 if (th == NULL)
143 ad->u.net->sport = th->source;
144 ad->u.net->dport = th->dest;
/security/selinux/
H A Dhooks.c3805 struct tcphdr _tcph, *th; local
3811 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph);
3812 if (th == NULL)
3815 ad->u.net->sport = th->source;
3816 ad->u.net->dport = th->dest;
3890 struct tcphdr _tcph, *th; local
3892 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph);
3893 if (th == NULL)
3896 ad->u.net->sport = th->source;
3897 ad->u.net->dport = th
[all...]
/security/smack/
H A Dsmack_lsm.c3481 struct tcphdr _tcph, *th; local
3502 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph);
3503 if (th != NULL)
3504 sip->sin6_port = th->source;

Completed in 44 milliseconds