Home
last modified time | relevance | path

Searched refs:NFPROTO_IPV4 (Results 1 – 25 of 53) sorted by relevance

123

/third_party/iptables/extensions/
Dlibxt_recent.c209 case NFPROTO_IPV4: in recent_print()
245 case NFPROTO_IPV4: in recent_save()
278 recent_save(ip, match, NFPROTO_IPV4); in recent_save_v4()
295 recent_print(ip, match, NFPROTO_IPV4); in recent_print_v4()
324 .family = NFPROTO_IPV4,
Dlibxt_ipvs.c126 if (family == NFPROTO_IPV4) { in ipvs_mt_dump_addr()
227 ipvs_mt_dump(ip, data, NFPROTO_IPV4, numeric, ""); in ipvs_mt4_print()
240 ipvs_mt_dump(ip, data, NFPROTO_IPV4, true, "--"); in ipvs_mt4_save()
254 .family = NFPROTO_IPV4,
Dlibxt_iprange.c108 NFPROTO_IPV4, "--src-range"); in iprange_parse()
117 NFPROTO_IPV4, "--dst-range"); in iprange_parse()
149 iprange_mt_parse(cb, NFPROTO_IPV4); in iprange_mt4_parse()
396 .family = NFPROTO_IPV4,
411 .family = NFPROTO_IPV4,
Dlibxt_connlimit.c91 return connlimit_parse(cb, NFPROTO_IPV4); in connlimit_parse4()
190 .family = NFPROTO_IPV4,
220 .family = NFPROTO_IPV4,
Dlibxt_conntrack.c642 if (family == NFPROTO_IPV4) { in conntrack_dump_addr()
922 conntrack_dump(&up, "", NFPROTO_IPV4, numeric, false); in conntrack1_mt4_print()
940 conntrack_dump((const void *)match->data, "", NFPROTO_IPV4, numeric, false); in conntrack2_mt_print()
954 conntrack_dump((const void *)match->data, "", NFPROTO_IPV4, numeric, true); in conntrack3_mt_print()
972 conntrack_dump((const void *)match->data, "--", NFPROTO_IPV4, true, true); in conntrack3_mt_save()
984 conntrack_dump((const void *)match->data, "--", NFPROTO_IPV4, true, false); in conntrack2_mt_save()
1000 conntrack_dump(&up, "--", NFPROTO_IPV4, true, false); in conntrack1_mt4_save()
1217 if (family == NFPROTO_IPV4) { in addr_xlate_print()
1388 return _conntrack3_mt_xlate(xl, params, NFPROTO_IPV4); in conntrack3_mt4_xlate()
1402 .family = NFPROTO_IPV4,
[all …]
Dlibxt_hashlimit.c1257 char sep = (family == NFPROTO_IPV4) ? '.' : ':'; in hashlimit_print_subnet_xlate()
1258 char *fmt = (family == NFPROTO_IPV4) ? "%u" : "%04x"; in hashlimit_print_subnet_xlate()
1259 unsigned int nblocks = (family == NFPROTO_IPV4) ? 4 : 8; in hashlimit_print_subnet_xlate()
1260 unsigned int nbits = (family == NFPROTO_IPV4) ? 8 : 16; in hashlimit_print_subnet_xlate()
1300 const char * const *_modes = (family == NFPROTO_IPV4) ? in hashlimit_mode_xlate()
1322 ((family == NFPROTO_IPV4 && ndst != 32) || in hashlimit_mode_xlate()
1326 ((family == NFPROTO_IPV4 && nsrc != 32) || in hashlimit_mode_xlate()
1372 ret = hashlimit_mode_xlate(xl, info->cfg.mode, NFPROTO_IPV4, 32, 32); in hashlimit_xlate()
1391 return hashlimit_mt_xlate(xl, info->name, &cfg, 1, NFPROTO_IPV4); in hashlimit_mt4_xlate_v1()
1417 return hashlimit_mt_xlate(xl, info->name, &cfg, 2, NFPROTO_IPV4); in hashlimit_mt4_xlate_v2()
[all …]
Dlibxt_TPROXY.c154 .family = NFPROTO_IPV4,
167 .family = NFPROTO_IPV4,
Dlibxt_policy.c334 print_entry("", &info->pol[i], numeric, NFPROTO_IPV4); in policy4_print()
360 print_entry("--", &info->pol[i], false, NFPROTO_IPV4); in policy4_save()
408 .family = NFPROTO_IPV4,
Dlibxt_osf.c115 .family = NFPROTO_IPV4,
Dlibipt_TTL.c112 .family = NFPROTO_IPV4,
Dlibipt_NETMAP.c99 .family = NFPROTO_IPV4,
Dlibipt_ULOG.c115 .family = NFPROTO_IPV4,
Dlibipt_realm.c112 .family = NFPROTO_IPV4,
Dlibxt_DSCP.c118 .family = NFPROTO_IPV4,
Dlibipt_ah.c116 .family = NFPROTO_IPV4,
Dlibxt_TCPMSS.c109 .family = NFPROTO_IPV4,
Dlibxt_dscp.c124 .family = NFPROTO_IPV4,
Dlibipt_ttl.c149 .family = NFPROTO_IPV4,
/third_party/iptables/iptables/
Dxtables-translate.c148 [NFPROTO_IPV4] = "ip",
467 case NFPROTO_IPV4: in xtables_xlate_main_common()
577 return xtables_xlate_main(NFPROTO_IPV4, "iptables-translate", in xtables_ip4_xlate_main()
589 return xtables_restore_xlate_main(NFPROTO_IPV4, in xtables_ip4_xlate_restore_main()
Dxtables-save.c200 case NFPROTO_IPV4: in xtables_save_main()
252 return xtables_save_main(NFPROTO_IPV4, argc, argv, in xtables_ip4_save_main()
Diptables-standalone.c49 ret = xtables_init_all(&iptables_globals, NFPROTO_IPV4); in iptables_main()
Dxtables-monitor.c147 case NFPROTO_IPV4: in chain_cb()
330 case NFPROTO_IPV4: { in trace_print_packet()
621 c = xtables_init_all(&xtables_globals, NFPROTO_IPV4); in xtables_monitor_main()
657 cb_arg.nfproto = NFPROTO_IPV4; in xtables_monitor_main()
Dxtables-standalone.c91 return xtables_main(NFPROTO_IPV4, "iptables", argc, argv); in xtables_ip4_main()
/third_party/iptables/include/linux/
Dnetfilter.h63 NFPROTO_IPV4 = 2, enumerator
/third_party/libnl/include/linux-private/linux/
Dnetfilter.h61 NFPROTO_IPV4 = 2, enumerator

123