Lines Matching refs:ad
41 struct common_audit_data *ad, u8 *proto) in ipv4_skb_to_auditdata() argument
50 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata()
51 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata()
65 ad->u.net->sport = th->source; in ipv4_skb_to_auditdata()
66 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata()
74 ad->u.net->sport = uh->source; in ipv4_skb_to_auditdata()
75 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata()
83 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata()
84 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata()
91 ad->u.net->sport = sh->source; in ipv4_skb_to_auditdata()
92 ad->u.net->dport = sh->dest; in ipv4_skb_to_auditdata()
110 struct common_audit_data *ad, u8 *proto) in ipv6_skb_to_auditdata() argument
120 ad->u.net->v6info.saddr = ip6->saddr; in ipv6_skb_to_auditdata()
121 ad->u.net->v6info.daddr = ip6->daddr; in ipv6_skb_to_auditdata()
140 ad->u.net->sport = th->source; in ipv6_skb_to_auditdata()
141 ad->u.net->dport = th->dest; in ipv6_skb_to_auditdata()
151 ad->u.net->sport = uh->source; in ipv6_skb_to_auditdata()
152 ad->u.net->dport = uh->dest; in ipv6_skb_to_auditdata()
162 ad->u.net->sport = dh->dccph_sport; in ipv6_skb_to_auditdata()
163 ad->u.net->dport = dh->dccph_dport; in ipv6_skb_to_auditdata()
172 ad->u.net->sport = sh->source; in ipv6_skb_to_auditdata()
173 ad->u.net->dport = sh->dest; in ipv6_skb_to_auditdata()