Lines Matching refs:ip
71 const struct in_addr *ip;
133 ip = xtables_numeric_to_ipaddr(arg);
134 if (!ip)
137 range.min_ip = ip->s_addr;
139 ip = xtables_numeric_to_ipaddr(dash+1);
140 if (!ip)
143 range.max_ip = ip->s_addr;
157 if (entry->ip.proto == IPPROTO_TCP
158 || entry->ip.proto == IPPROTO_UDP
159 || entry->ip.proto == IPPROTO_SCTP
160 || entry->ip.proto == IPPROTO_DCCP
161 || entry->ip.proto == IPPROTO_ICMP)
212 static void DNAT_print(const void *ip, const struct xt_entry_target *target,
228 static void DNAT_save(const void *ip, const struct xt_entry_target *target)