• 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

64 #define FMT(tab,notab) ((format) & FMT_NOTABLE ? (notab) : (tab))
131 void iptables_exit_error(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3)));
451 print_num(uint64_t number, unsigned int format)
453 if (format & FMT_KILOMEGAGIGA) {
477 print_header(unsigned int format, const char *chain, struct iptc_handle *handle)
484 if (!(format & FMT_NOCOUNTS)) {
486 print_num(counters.pcnt, (format|FMT_NOTABLE));
488 print_num(counters.bcnt, (format|FMT_NOTABLE));
500 if (format & FMT_LINENUMBERS)
502 if (!(format & FMT_NOCOUNTS)) {
503 if (format & FMT_KILOMEGAGIGA) {
511 if (!(format & FMT_NOTARGET))
514 if (format & FMT_OPTIONS)
516 if (format & FMT_VIA) {
552 unsigned int format,
569 if (format & FMT_LINENUMBERS)
572 if (!(format & FMT_NOCOUNTS)) {
573 print_num(fw->counters.pcnt, format);
574 print_num(fw->counters.bcnt, format);
577 if (!(format & FMT_NOTARGET))
582 const char *pname = proto_to_name(fw->ip.proto, format&FMT_NUMERIC);
589 if (format & FMT_OPTIONS) {
590 if (format & FMT_NOTABLE)
597 if (format & FMT_VIA) {
609 else if (format & FMT_NUMERIC) strcat(iface, "*");
622 else if (format & FMT_NUMERIC) strcat(iface, "*");
628 if (fw->ip.smsk.s_addr == 0L && !(format & FMT_NUMERIC))
631 if (format & FMT_NUMERIC)
640 if (fw->ip.dmsk.s_addr == 0L && !(format & FMT_NUMERIC))
643 if (format & FMT_NUMERIC)
651 if (format & FMT_NOTABLE)
659 IPT_MATCH_ITERATE(fw, print_match, &fw->ip, format & FMT_NUMERIC);
664 target->print(&fw->ip, t, format & FMT_NUMERIC);
669 if (!(format & FMT_NONEWLINE))
939 unsigned int format;
942 format = FMT_OPTIONS;
944 format |= FMT_NOCOUNTS;
946 format |= FMT_VIA;
949 format |= FMT_NUMERIC;
952 format |= FMT_KILOMEGAGIGA;
955 format |= FMT_LINENUMBERS;
969 print_header(format, this, handle);
979 format,
1190 counters = -1; /* iptables -c format */