Home
last modified time | relevance | path

Searched refs:FMT_NUMERIC (Results 1 – 13 of 13) sorted by relevance

/external/iptables/iptables/
Dnft-arp.c454 if (format & FMT_NUMERIC) strcat(iface, "*"); in print_fw_details()
470 if (format & FMT_NUMERIC) strcat(iface, "*"); in print_fw_details()
480 if (format & FMT_NUMERIC) in print_fw_details()
505 if (format & FMT_NUMERIC) in print_fw_details()
542 if (tmp <= NUMOPCODES && !(format & FMT_NUMERIC)) in print_fw_details()
556 if (tmp == 1 && !(format & FMT_NUMERIC)) in print_fw_details()
570 if (tmp == 0x0800 && !(format & FMT_NUMERIC)) in print_fw_details()
597 cs.target->print(&cs.fw, cs.target->t, format & FMT_NUMERIC); in nft_arp_print_firewall()
Dnft-ipv6.c200 && !(format & FMT_NUMERIC)) in print_ipv6_addr()
203 if (format & FMT_NUMERIC) in print_ipv6_addr()
216 && !(format & FMT_NUMERIC)) in print_ipv6_addr()
219 if (format & FMT_NUMERIC) in print_ipv6_addr()
Diptables.c558 const char *pname = proto_to_name(fw->ip.proto, format&FMT_NUMERIC); in print_firewall()
585 else if (format & FMT_NUMERIC) strcat(iface, "*"); in print_firewall()
598 else if (format & FMT_NUMERIC) strcat(iface, "*"); in print_firewall()
604 if (fw->ip.smsk.s_addr == 0L && !(format & FMT_NUMERIC)) in print_firewall()
607 if (format & FMT_NUMERIC) in print_firewall()
616 if (fw->ip.dmsk.s_addr == 0L && !(format & FMT_NUMERIC)) in print_firewall()
619 if (format & FMT_NUMERIC) in print_firewall()
635 IPT_MATCH_ITERATE(fw, print_match, &fw->ip, format & FMT_NUMERIC); in print_firewall()
640 target->print(&fw->ip, t, format & FMT_NUMERIC); in print_firewall()
927 format |= FMT_NUMERIC; in list_entries()
Dip6tables.c572 const char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC); in print_firewall()
599 else if (format & FMT_NUMERIC) strcat(iface, "*"); in print_firewall()
612 else if (format & FMT_NUMERIC) strcat(iface, "*"); in print_firewall()
619 && !(format & FMT_NUMERIC)) in print_firewall()
622 if (format & FMT_NUMERIC) in print_firewall()
632 && !(format & FMT_NUMERIC)) in print_firewall()
635 if (format & FMT_NUMERIC) in print_firewall()
651 IP6T_MATCH_ITERATE(fw, print_match, &fw->ipv6, format & FMT_NUMERIC); in print_firewall()
656 target->print(&fw->ipv6, t, format & FMT_NUMERIC); in print_firewall()
943 format |= FMT_NUMERIC; in list_entries()
Dnft-shared.c625 proto_to_name(proto, format&FMT_NUMERIC); in print_firewall_details()
649 else if (format & FMT_NUMERIC) in print_ifaces()
664 else if (format & FMT_NUMERIC) in print_ifaces()
770 format & FMT_NUMERIC); in print_matches_and_target()
777 format & FMT_NUMERIC); in print_matches_and_target()
Dnft-ipv4.c259 if (cs->fw.ip.smsk.s_addr == 0L && !(format & FMT_NUMERIC)) in print_ipv4_addr()
262 if (format & FMT_NUMERIC) in print_ipv4_addr()
271 if (cs->fw.ip.dmsk.s_addr == 0L && !(format & FMT_NUMERIC)) in print_ipv4_addr()
274 if (format & FMT_NUMERIC) in print_ipv4_addr()
Dnft-shared.h25 #define FMT_NUMERIC 0x0001 macro
36 | FMT_NUMERIC | FMT_NOTABLE)
Dnft-bridge.c521 format & FMT_NUMERIC); in nft_bridge_print_firewall()
527 format & FMT_NUMERIC); in nft_bridge_print_firewall()
537 cs.target->print(&cs.fw, cs.target->t, format & FMT_NUMERIC); in nft_bridge_print_firewall()
Dxtables-eb.c484 format |= FMT_NUMERIC; in list_rules()
Dxtables-arp.c816 format |= FMT_NUMERIC; in list_entries()
Dxtables.c584 format |= FMT_NUMERIC; in list_entries()
/external/iproute2/include/
Dxtables.h491 #define FMT_NUMERIC 0x0001 macro
502 | FMT_NUMERIC | FMT_NOTABLE)
/external/iptables/include/
Dxtables.h524 #define FMT_NUMERIC 0x0001 macro
535 | FMT_NUMERIC | FMT_NOTABLE)