Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dnft-arp.c425 if (format & FMT_NUMERIC) strcat(iface, "*"); in nft_arp_print_rule_details()
443 if (format & FMT_NUMERIC) strcat(iface, "*"); in nft_arp_print_rule_details()
455 if (format & FMT_NUMERIC) in nft_arp_print_rule_details()
481 if (format & FMT_NUMERIC) in nft_arp_print_rule_details()
519 if (tmp <= NUMOPCODES && !(format & FMT_NUMERIC)) in nft_arp_print_rule_details()
534 if (tmp == 1 && !(format & FMT_NUMERIC)) in nft_arp_print_rule_details()
548 if (tmp == 0x0800 && !(format & FMT_NUMERIC)) in nft_arp_print_rule_details()
563 format |= FMT_NUMERIC; in nft_arp_save_rule()
Dxshared.c559 if (!mask->s_addr && !(format & FMT_NUMERIC)) in ipv4_addr_to_string()
562 if (format & FMT_NUMERIC) in ipv4_addr_to_string()
591 if (IN6_IS_ADDR_UNSPECIFIED(addr) && !(format & FMT_NUMERIC)) in ipv6_addr_to_string()
594 if (format & FMT_NUMERIC) in ipv6_addr_to_string()
625 const char *anyname = format & FMT_NUMERIC ? "*" : "any"; in print_ifaces()
Dnft-shared.h24 #define FMT_NUMERIC 0x0001 macro
35 | FMT_NUMERIC | FMT_NOTABLE)
Dnft-bridge.c559 format & FMT_NUMERIC); in print_matches_and_watchers()
565 format & FMT_NUMERIC); in print_matches_and_watchers()
641 cs->target->print(&cs->fw, cs->target->t, format & FMT_NUMERIC); in nft_bridge_save_rule()
Dnft-shared.c778 proto_to_name(proto, format&FMT_NUMERIC); in print_rule_details()
897 format & FMT_NUMERIC); in print_matches_and_target()
904 format & FMT_NUMERIC); in print_matches_and_target()
Dip6tables.c408 const char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC); in print_firewall()
436 IP6T_MATCH_ITERATE(fw, print_match, &fw->ipv6, format & FMT_NUMERIC); in print_firewall()
445 tg->print(&fw->ipv6, t, format & FMT_NUMERIC); in print_firewall()
732 format |= FMT_NUMERIC; in list_entries()
Diptables.c400 const char *pname = proto_to_name(fw->ip.proto, format&FMT_NUMERIC); in print_firewall()
427 IPT_MATCH_ITERATE(fw, print_match, &fw->ip, format & FMT_NUMERIC); in print_firewall()
436 tg->print(&fw->ip, t, format & FMT_NUMERIC); in print_firewall()
723 format |= FMT_NUMERIC; in list_entries()
Dxtables-arp.c336 format |= FMT_NUMERIC; in list_entries()
Dxtables-eb.c368 format |= FMT_NUMERIC; in list_rules()
Dxtables.c438 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.h543 #define FMT_NUMERIC 0x0001 macro
556 | FMT_NUMERIC | FMT_NOTABLE)