Searched refs:ethermac (Results 1 - 2 of 2) sorted by relevance

/external/iptables/iptables/
H A Dxtoptions.c758 for (i = 0; i < ARRAY_SIZE(cb->val.ethermac) - 1; ++i) {
759 cb->val.ethermac[i] = strtoul(arg, &end, 16);
760 if (cb->val.ethermac[i] > UINT8_MAX || *end != ':')
764 i = ARRAY_SIZE(cb->val.ethermac) - 1;
765 cb->val.ethermac[i] = strtoul(arg, &end, 16);
766 if (cb->val.ethermac[i] > UINT8_MAX || *end != '\0')
769 memcpy(XTOPT_MKPTR(cb), cb->val.ethermac,
770 sizeof(cb->val.ethermac));
/external/iptables/include/
H A Dxtables.h169 uint8_t ethermac[6]; member in union:xt_option_call::__anon6516

Completed in 35 milliseconds