• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iptables-1.4.12.1/iptables/

Lines Matching defs:format

67 #define FMT(tab,notab) ((format) & FMT_NOTABLE ? (notab) : (tab))
132 void ip6tables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
446 print_num(uint64_t number, unsigned int format)
448 if (format & FMT_KILOMEGAGIGA) {
472 print_header(unsigned int format, const char *chain, struct ip6tc_handle *handle)
479 if (!(format & FMT_NOCOUNTS)) {
481 print_num(counters.pcnt, (format|FMT_NOTABLE));
483 print_num(counters.bcnt, (format|FMT_NOTABLE));
495 if (format & FMT_LINENUMBERS)
497 if (!(format & FMT_NOCOUNTS)) {
498 if (format & FMT_KILOMEGAGIGA) {
506 if (!(format & FMT_NOTARGET))
509 if (format & FMT_OPTIONS)
511 if (format & FMT_VIA) {
547 unsigned int format,
562 if (format & FMT_LINENUMBERS)
565 if (!(format & FMT_NOCOUNTS)) {
566 print_num(fw->counters.pcnt, format);
567 print_num(fw->counters.bcnt, format);
570 if (!(format & FMT_NOTARGET))
575 const char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC);
582 if (format & FMT_OPTIONS) {
583 if (format & FMT_NOTABLE)
590 if (format & FMT_VIA) {
602 else if (format & FMT_NUMERIC) strcat(iface, "*");
615 else if (format & FMT_NUMERIC) strcat(iface, "*");
622 && !(format & FMT_NUMERIC))
625 if (format & FMT_NUMERIC)
635 && !(format & FMT_NUMERIC))
638 if (format & FMT_NUMERIC)
646 if (format & FMT_NOTABLE)
654 IP6T_MATCH_ITERATE(fw, print_match, &fw->ipv6, format & FMT_NUMERIC);
659 target->print(&fw->ipv6, t, format & FMT_NUMERIC);
664 if (!(format & FMT_NONEWLINE))
934 unsigned int format;
937 format = FMT_OPTIONS;
939 format |= FMT_NOCOUNTS;
941 format |= FMT_VIA;
944 format |= FMT_NUMERIC;
947 format |= FMT_KILOMEGAGIGA;
950 format |= FMT_LINENUMBERS;
964 print_header(format, this, handle);
974 format,
1179 counters = -1; /* iptables -c format */