• 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

69 #define FMT(tab,notab) ((format) & FMT_NOTABLE ? (notab) : (tab))
1232 print_num(u_int64_t number, unsigned int format)
1234 if (format & FMT_KILOMEGAGIGA) {
1258 print_header(unsigned int format, const char *chain, ip6tc_handle_t *handle)
1265 if (!(format & FMT_NOCOUNTS)) {
1267 print_num(counters.pcnt, (format|FMT_NOTABLE));
1269 print_num(counters.bcnt, (format|FMT_NOTABLE));
1281 if (format & FMT_LINENUMBERS)
1283 if (!(format & FMT_NOCOUNTS)) {
1284 if (format & FMT_KILOMEGAGIGA) {
1292 if (!(format & FMT_NOTARGET))
1295 if (format & FMT_OPTIONS)
1297 if (format & FMT_VIA) {
1332 unsigned int format,
1348 if (format & FMT_LINENUMBERS)
1351 if (!(format & FMT_NOCOUNTS)) {
1352 print_num(fw->counters.pcnt, format);
1353 print_num(fw->counters.bcnt, format);
1356 if (!(format & FMT_NOTARGET))
1361 char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC);
1368 if (format & FMT_OPTIONS) {
1369 if (format & FMT_NOTABLE)
1376 if (format & FMT_VIA) {
1388 else if (format & FMT_NUMERIC) strcat(iface, "*");
1401 else if (format & FMT_NUMERIC) strcat(iface, "*");
1408 && !(format & FMT_NUMERIC))
1411 if (format & FMT_NUMERIC)
1421 && !(format & FMT_NUMERIC))
1424 if (format & FMT_NUMERIC)
1432 if (format & FMT_NOTABLE)
1435 IP6T_MATCH_ITERATE(fw, print_match, &fw->ipv6, format & FMT_NUMERIC);
1440 target->print(&fw->ipv6, t, format & FMT_NUMERIC);
1445 if (!(format & FMT_NONEWLINE))
1669 unsigned int format;
1672 format = FMT_OPTIONS;
1674 format |= FMT_NOCOUNTS;
1676 format |= FMT_VIA;
1679 format |= FMT_NUMERIC;
1682 format |= FMT_KILOMEGAGIGA;
1685 format |= FMT_LINENUMBERS;
1698 print_header(format, this, handle);
1706 format,