/external/iptables/extensions/ |
libebt_ip.c | 93 long int onebyte; local 104 onebyte = strtol(p, &end, 10); 105 if (*end != '\0' || onebyte > 255 || onebyte < 0) 107 ip2[i] = (unsigned char)onebyte; 111 onebyte = strtol(p, &end, 10); 112 if (*end != '\0' || onebyte > 255 || onebyte < 0) 114 ip2[3] = (unsigned char)onebyte;
|
libxt_mangle.c | 131 unsigned int onebyte; local 145 if (string_to_number(p, 0, 255, &onebyte) == -1) 148 addrp[i] = (unsigned char) onebyte; 153 if (string_to_number(p, 0, 255, &onebyte) == -1) 156 addrp[3] = (unsigned char) onebyte;
|
/external/iproute2/tc/ |
m_ipt.c | 319 unsigned int onebyte; local 333 if (string_to_number(p, 0, 255, &onebyte) == -1) 336 addrp[i] = (unsigned char) onebyte; 341 if (string_to_number(p, 0, 255, &onebyte) == -1) 344 addrp[3] = (unsigned char) onebyte;
|
/external/iptables/libxtables/ |
xtables.c | 1294 unsigned int onebyte; local 1310 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) 1313 addrp[i] = onebyte; 1321 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) 1324 addrp[i] = onebyte; 1329 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) 1332 addrp[3] = onebyte; [all...] |
/external/iptables/iptables/ |
xtables-arp.c | 353 unsigned int onebyte; local 367 if (string_to_number(p, 0, 255, &onebyte) == -1) 370 addrp[i] = (unsigned char) onebyte; 375 if (string_to_number(p, 0, 255, &onebyte) == -1) 378 addrp[3] = (unsigned char) onebyte; [all...] |