Lines Matching refs:u
52 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()
122 ad->u.net->v6info.saddr = ip6->saddr; in ipv6_skb_to_auditdata()
123 ad->u.net->v6info.daddr = ip6->daddr; in ipv6_skb_to_auditdata()
143 ad->u.net->sport = th->source; in ipv6_skb_to_auditdata()
144 ad->u.net->dport = th->dest; in ipv6_skb_to_auditdata()
154 ad->u.net->sport = uh->source; in ipv6_skb_to_auditdata()
155 ad->u.net->dport = uh->dest; in ipv6_skb_to_auditdata()
165 ad->u.net->sport = dh->dccph_sport; in ipv6_skb_to_auditdata()
166 ad->u.net->dport = dh->dccph_dport; in ipv6_skb_to_auditdata()
175 ad->u.net->sport = sh->source; in ipv6_skb_to_auditdata()
176 ad->u.net->dport = sh->dest; in ipv6_skb_to_auditdata()
227 audit_log_format(ab, " key=%d ", a->u.ipc_id); in dump_common_audit_data()
230 audit_log_format(ab, " capability=%d ", a->u.cap); in dump_common_audit_data()
235 audit_log_d_path(ab, " path=", &a->u.path); in dump_common_audit_data()
237 inode = a->u.path.dentry->d_inode; in dump_common_audit_data()
249 audit_log_untrustedstring(ab, a->u.dentry->d_name.name); in dump_common_audit_data()
251 inode = a->u.dentry->d_inode; in dump_common_audit_data()
263 inode = a->u.inode; in dump_common_audit_data()
277 tsk = a->u.tsk; in dump_common_audit_data()
284 if (a->u.net->sk) { in dump_common_audit_data()
285 struct sock *sk = a->u.net->sk; in dump_common_audit_data()
286 struct unix_sock *u; in dump_common_audit_data() local
315 u = unix_sk(sk); in dump_common_audit_data()
316 if (u->path.dentry) { in dump_common_audit_data()
317 audit_log_d_path(ab, " path=", &u->path); in dump_common_audit_data()
320 if (!u->addr) in dump_common_audit_data()
322 len = u->addr->len-sizeof(short); in dump_common_audit_data()
323 p = &u->addr->name->sun_path[0]; in dump_common_audit_data()
333 switch (a->u.net->family) { in dump_common_audit_data()
335 print_ipv4_addr(ab, a->u.net->v4info.saddr, in dump_common_audit_data()
336 a->u.net->sport, in dump_common_audit_data()
338 print_ipv4_addr(ab, a->u.net->v4info.daddr, in dump_common_audit_data()
339 a->u.net->dport, in dump_common_audit_data()
343 print_ipv6_addr(ab, &a->u.net->v6info.saddr, in dump_common_audit_data()
344 a->u.net->sport, in dump_common_audit_data()
346 print_ipv6_addr(ab, &a->u.net->v6info.daddr, in dump_common_audit_data()
347 a->u.net->dport, in dump_common_audit_data()
351 if (a->u.net->netif > 0) { in dump_common_audit_data()
355 dev = dev_get_by_index(&init_net, a->u.net->netif); in dump_common_audit_data()
364 audit_log_format(ab, " key_serial=%u", a->u.key_struct.key); in dump_common_audit_data()
365 if (a->u.key_struct.key_desc) { in dump_common_audit_data()
367 audit_log_untrustedstring(ab, a->u.key_struct.key_desc); in dump_common_audit_data()
373 audit_log_untrustedstring(ab, a->u.kmod_name); in dump_common_audit_data()