Home
last modified time | relevance | path

Searched refs:onebyte (Results 1 – 5 of 5) sorted by relevance

/external/iptables/extensions/
Dlibebt_ip.c93 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()
Dlibxt_mangle.c131 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/iproute2/tc/
Dm_ipt.c319 unsigned int onebyte; in dotted_to_addr() local
333 if (string_to_number(p, 0, 255, &onebyte) == -1) in dotted_to_addr()
336 addrp[i] = (unsigned char) onebyte; in dotted_to_addr()
341 if (string_to_number(p, 0, 255, &onebyte) == -1) in dotted_to_addr()
344 addrp[3] = (unsigned char) onebyte; in dotted_to_addr()
/external/iptables/iptables/
Dxtables-arp.c353 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/
Dxtables.c1294 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()