Lines Matching refs:ip1
174 const struct iphdr *ip1, *ip2; in choke_match_flow() local
176 ip1 = (const struct iphdr *) (skb1->data + off1); in choke_match_flow()
179 ip_proto = ip1->protocol; in choke_match_flow()
181 ip1->saddr != ip2->saddr || ip1->daddr != ip2->daddr) in choke_match_flow()
184 if ((ip1->frag_off | ip2->frag_off) & htons(IP_MF | IP_OFFSET)) in choke_match_flow()
186 off1 += ip1->ihl * 4; in choke_match_flow()
192 const struct ipv6hdr *ip1, *ip2; in choke_match_flow() local
194 ip1 = (const struct ipv6hdr *) (skb1->data + off1); in choke_match_flow()
197 ip_proto = ip1->nexthdr; in choke_match_flow()
199 ipv6_addr_cmp(&ip1->saddr, &ip2->saddr) || in choke_match_flow()
200 ipv6_addr_cmp(&ip1->daddr, &ip2->daddr)) in choke_match_flow()