Lines Matching defs:ip
71 const struct in_addr *ip;
117 /* Starts with a colon? No IP info...*/
133 ip = xtables_numeric_to_ipaddr(arg);
134 if (!ip)
135 xtables_error(PARAMETER_PROBLEM, "Bad IP address \"%s\"\n",
137 range.min_ip = ip->s_addr;
139 ip = xtables_numeric_to_ipaddr(dash+1);
140 if (!ip)
141 xtables_error(PARAMETER_PROBLEM, "Bad IP address \"%s\"\n",
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 SNAT_print(const void *ip, const struct xt_entry_target *target,
228 static void SNAT_save(const void *ip, const struct xt_entry_target *target)