• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/iptables-1.x/

Lines Matching defs:format

67 #define FMT(tab,notab) ((format) & FMT_NOTABLE ? (notab) : (tab))
1293 print_num(u_int64_t number, unsigned int format)
1295 if (format & FMT_KILOMEGAGIGA) {
1319 print_header(unsigned int format, const char *chain, iptc_handle_t *handle)
1326 if (!(format & FMT_NOCOUNTS)) {
1328 print_num(counters.pcnt, (format|FMT_NOTABLE));
1330 print_num(counters.bcnt, (format|FMT_NOTABLE));
1342 if (format & FMT_LINENUMBERS)
1344 if (!(format & FMT_NOCOUNTS)) {
1345 if (format & FMT_KILOMEGAGIGA) {
1353 if (!(format & FMT_NOTARGET))
1356 if (format & FMT_OPTIONS)
1358 if (format & FMT_VIA) {
1393 unsigned int format,
1409 if (format & FMT_LINENUMBERS)
1412 if (!(format & FMT_NOCOUNTS)) {
1413 print_num(fw->counters.pcnt, format);
1414 print_num(fw->counters.bcnt, format);
1417 if (!(format & FMT_NOTARGET))
1422 char *pname = proto_to_name(fw->ip.proto, format&FMT_NUMERIC);
1429 if (format & FMT_OPTIONS) {
1430 if (format & FMT_NOTABLE)
1437 if (format & FMT_VIA) {
1449 else if (format & FMT_NUMERIC) strcat(iface, "*");
1462 else if (format & FMT_NUMERIC) strcat(iface, "*");
1468 if (fw->ip.smsk.s_addr == 0L && !(format & FMT_NUMERIC))
1471 if (format & FMT_NUMERIC)
1480 if (fw->ip.dmsk.s_addr == 0L && !(format & FMT_NUMERIC))
1483 if (format & FMT_NUMERIC)
1491 if (format & FMT_NOTABLE)
1499 IPT_MATCH_ITERATE(fw, print_match, &fw->ip, format & FMT_NUMERIC);
1504 target->print(&fw->ip, t, format & FMT_NUMERIC);
1509 if (!(format & FMT_NONEWLINE))
1733 unsigned int format;
1736 format = FMT_OPTIONS;
1738 format |= FMT_NOCOUNTS;
1740 format |= FMT_VIA;
1743 format |= FMT_NUMERIC;
1746 format |= FMT_KILOMEGAGIGA;
1749 format |= FMT_LINENUMBERS;
1762 print_header(format, this, handle);
1770 format,