Searched refs:onebyte (Results 1 – 4 of 4) sorted by relevance
/external/iptables/extensions/ |
D | libebt_ip.c | 93 long int onebyte; in undot_ip() local 104 onebyte = strtol(p, &end, 10); in undot_ip() 105 if (*end != '\0' || onebyte > 255 || onebyte < 0) in undot_ip() 107 ip2[i] = (unsigned char)onebyte; in undot_ip() 111 onebyte = strtol(p, &end, 10); in undot_ip() 112 if (*end != '\0' || onebyte > 255 || onebyte < 0) in undot_ip() 114 ip2[3] = (unsigned char)onebyte; in undot_ip()
|
D | libxt_mangle.c | 131 unsigned int onebyte; in dotted_to_addr() local 145 if (string_to_number(p, 0, 255, &onebyte) == -1) in dotted_to_addr() 148 addrp[i] = (unsigned char) onebyte; in dotted_to_addr() 153 if (string_to_number(p, 0, 255, &onebyte) == -1) in dotted_to_addr() 156 addrp[3] = (unsigned char) onebyte; in dotted_to_addr()
|
/external/iptables/iptables/ |
D | xtables-arp.c | 353 unsigned int onebyte; in dotted_to_addr() local 367 if (string_to_number(p, 0, 255, &onebyte) == -1) in dotted_to_addr() 370 addrp[i] = (unsigned char) onebyte; in dotted_to_addr() 375 if (string_to_number(p, 0, 255, &onebyte) == -1) in dotted_to_addr() 378 addrp[3] = (unsigned char) onebyte; in dotted_to_addr()
|
/external/iptables/libxtables/ |
D | xtables.c | 1294 unsigned int onebyte; in __numeric_to_ipaddr() local 1310 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr() 1313 addrp[i] = onebyte; in __numeric_to_ipaddr() 1321 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr() 1324 addrp[i] = onebyte; in __numeric_to_ipaddr() 1329 if (!xtables_strtoui(p, NULL, &onebyte, 0, UINT8_MAX)) in __numeric_to_ipaddr() 1332 addrp[3] = onebyte; in __numeric_to_ipaddr()
|