Lines Matching defs:ip
10 #include <net/ip.h>
27 u64 last_time_ns, tokens, ip;
93 u64 ip;
96 ip = (u64 __force)ip_hdr(skb)->saddr;
97 bucket = &table_v4[hsiphash_2u32(net_word, ip, &key) &
103 memcpy(&ip, &ipv6_hdr(skb)->saddr, sizeof(ip));
104 bucket = &table_v6[hsiphash_3u32(net_word, ip >> 32, ip, &key) &
112 if (entry->net == net && entry->ip == ip) {
143 entry->ip = ip;