Searched refs:ih (Results 1 - 2 of 2) sorted by relevance

/security/
H A Dlsm_audit.c46 struct iphdr *ih; local
48 ih = ip_hdr(skb);
49 if (ih == NULL)
52 ad->u.net->v4info.saddr = ih->saddr;
53 ad->u.net->v4info.daddr = ih->daddr;
56 *proto = ih->protocol;
58 if (ntohs(ih->frag_off) & IP_OFFSET)
61 switch (ih->protocol) {
/security/selinux/
H A Dhooks.c3785 struct iphdr _iph, *ih; local
3788 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph);
3789 if (ih == NULL)
3792 ihlen = ih->ihl * 4;
3796 ad->u.net->v4info.saddr = ih->saddr;
3797 ad->u.net->v4info.daddr = ih->daddr;
3801 *proto = ih->protocol;
3803 switch (ih->protocol) {
3807 if (ntohs(ih->frag_off) & IP_OFFSET)
3823 if (ntohs(ih
[all...]

Completed in 146 milliseconds