Searched refs:th (Results 1 – 4 of 4) sorted by relevance
| /security/apparmor/ |
| A D | match.c | 36 struct table_header th; in unpack_table() local 46 if (th.td_id > YYTD_ID_MAX) in unpack_table() 52 if (!(th.td_flags == YYTD_DATA16 || th.td_flags == YYTD_DATA32 || in unpack_table() 53 th.td_flags == YYTD_DATA8)) in unpack_table() 57 if (th.td_lolen == 0) in unpack_table() 59 tsize = table_size(th.td_lolen, th.td_flags); in unpack_table() 65 table->td_id = th.td_id; in unpack_table() 66 table->td_flags = th.td_flags; in unpack_table() 67 table->td_lolen = th.td_lolen; in unpack_table() 68 if (th.td_flags == YYTD_DATA8) in unpack_table() [all …]
|
| /security/ |
| A D | lsm_audit.c | 57 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata() local 59 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata() 60 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata() 114 struct tcphdr _tcph, *th; in ipv6_skb_to_auditdata() local 116 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in ipv6_skb_to_auditdata() 117 if (th == NULL) in ipv6_skb_to_auditdata() 120 ad->u.net->sport = th->source; in ipv6_skb_to_auditdata() 121 ad->u.net->dport = th->dest; in ipv6_skb_to_auditdata()
|
| /security/selinux/ |
| A D | hooks.c | 4502 struct tcphdr _tcph, *th; in selinux_parse_skb_ipv4() local 4508 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in selinux_parse_skb_ipv4() 4509 if (th == NULL) in selinux_parse_skb_ipv4() 4512 ad->u.net->sport = th->source; in selinux_parse_skb_ipv4() 4513 ad->u.net->dport = th->dest; in selinux_parse_skb_ipv4() 4588 struct tcphdr _tcph, *th; in selinux_parse_skb_ipv6() local 4590 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in selinux_parse_skb_ipv6() 4591 if (th == NULL) in selinux_parse_skb_ipv6() 4594 ad->u.net->sport = th->source; in selinux_parse_skb_ipv6() 4595 ad->u.net->dport = th->dest; in selinux_parse_skb_ipv6()
|
| /security/smack/ |
| A D | smack_lsm.c | 4061 struct tcphdr _tcph, *th; in smk_skb_to_addr_ipv6() local 4081 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in smk_skb_to_addr_ipv6() 4082 if (th != NULL) in smk_skb_to_addr_ipv6() 4083 sip->sin6_port = th->source; in smk_skb_to_addr_ipv6()
|
Completed in 27 milliseconds