Lines Matching refs:ad
41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata() argument
47 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()
48 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()
60 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata()
61 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
67 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata()
68 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
74 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata()
75 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata()
81 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata()
82 ad->u.net->dport = sh->dest; in ipv4_skb_to_auditdata()
100 struct common_audit_data *ad, u8 *proto) in ipv6_skb_to_auditdata() argument
108 ad->u.net->v6info.saddr = ip6->saddr; in ipv6_skb_to_auditdata()
109 ad->u.net->v6info.daddr = ip6->daddr; in ipv6_skb_to_auditdata()
128 ad->u.net->sport = th->source; in ipv6_skb_to_auditdata()
129 ad->u.net->dport = th->dest; in ipv6_skb_to_auditdata()
139 ad->u.net->sport = uh->source; in ipv6_skb_to_auditdata()
140 ad->u.net->dport = uh->dest; in ipv6_skb_to_auditdata()
150 ad->u.net->sport = dh->dccph_sport; in ipv6_skb_to_auditdata()
151 ad->u.net->dport = dh->dccph_dport; in ipv6_skb_to_auditdata()
160 ad->u.net->sport = sh->source; in ipv6_skb_to_auditdata()
161 ad->u.net->dport = sh->dest; in ipv6_skb_to_auditdata()