Home
last modified time | relevance | path

Searched refs:xt_xlate (Results 1 – 25 of 89) sorted by relevance

1234

/external/iptables/include/
Dxtables.h208 struct xt_xlate;
288 int (*xlate)(struct xt_xlate *xl,
368 int (*xlate)(struct xt_xlate *xl,
632 struct xt_xlate *xt_xlate_alloc(int size);
633 void xt_xlate_free(struct xt_xlate *xl);
634 void xt_xlate_add(struct xt_xlate *xl, const char *fmt, ...) __attribute__((format(printf,2,3)));
635 void xt_xlate_add_comment(struct xt_xlate *xl, const char *comment);
636 const char *xt_xlate_get_comment(struct xt_xlate *xl);
637 const char *xt_xlate_get(struct xt_xlate *xl);
/external/iptables/extensions/
Dlibxt_dscp.c94 static int __dscp_xlate(struct xt_xlate *xl, in __dscp_xlate()
106 static int dscp_xlate(struct xt_xlate *xl, in dscp_xlate()
114 static int dscp_xlate6(struct xt_xlate *xl, in dscp_xlate6()
Dlibxt_mark.c99 print_mark_xlate(struct xt_xlate *xl, unsigned int mark, in print_mark_xlate()
110 static int mark_mt_xlate(struct xt_xlate *xl, in mark_mt_xlate()
125 static int mark_xlate(struct xt_xlate *xl, in mark_xlate()
Dlibxt_connmark.c121 struct xt_xlate *xl, uint32_t op) in print_mark_xlate()
131 static int connmark_xlate(struct xt_xlate *xl, in connmark_xlate()
147 connmark_mt_xlate(struct xt_xlate *xl, in connmark_mt_xlate()
Dlibxt_devgroup.c109 struct xt_xlate *xl, int numeric) in print_devgroup_xlate()
129 struct xt_xlate *xl, int numeric) in devgroup_show_xlate()
152 static int devgroup_xlate(struct xt_xlate *xl, in devgroup_xlate()
Dlibxt_mac.c65 struct xt_xlate *xl) in print_mac_xlate()
74 static int mac_xlate(struct xt_xlate *xl, in mac_xlate()
Dlibxt_multiport.c469 static int __multiport_xlate(struct xt_xlate *xl, in __multiport_xlate()
499 static int multiport_xlate(struct xt_xlate *xl, in multiport_xlate()
508 static int multiport_xlate6(struct xt_xlate *xl, in multiport_xlate6()
517 static int __multiport_xlate_v1(struct xt_xlate *xl, in __multiport_xlate_v1()
555 static int multiport_xlate_v1(struct xt_xlate *xl, in multiport_xlate_v1()
564 static int multiport_xlate6_v1(struct xt_xlate *xl, in multiport_xlate6_v1()
Dlibipt_realm.c75 int numeric, struct xt_xlate *xl, uint32_t op) in print_realm_xlate()
94 static int realm_xlate(struct xt_xlate *xl, in realm_xlate()
Dlibxt_DSCP.c96 static int DSCP_xlate(struct xt_xlate *xl, in DSCP_xlate()
106 static int DSCP_xlate6(struct xt_xlate *xl, in DSCP_xlate6()
Dlibxt_cgroup.c188 static int cgroup_xlate_v0(struct xt_xlate *xl, in cgroup_xlate_v0()
198 static int cgroup_xlate_v1(struct xt_xlate *xl, in cgroup_xlate_v1()
214 static int cgroup_xlate_v2(struct xt_xlate *xl, in cgroup_xlate_v2()
Dlibxt_limit.c166 static void print_rate_xlate(uint32_t period, struct xt_xlate *xl) in print_rate_xlate()
184 static int limit_xlate(struct xt_xlate *xl, in limit_xlate()
197 static int limit_xlate_eb(struct xt_xlate *xl, in limit_xlate_eb()
Dlibxt_NFQUEUE.c273 static int NFQUEUE_xlate(struct xt_xlate *xl, in NFQUEUE_xlate()
284 static int NFQUEUE_xlate_v1(struct xt_xlate *xl, in NFQUEUE_xlate_v1()
300 static int NFQUEUE_xlate_v2(struct xt_xlate *xl, in NFQUEUE_xlate_v2()
318 static int NFQUEUE_xlate_v3(struct xt_xlate *xl, in NFQUEUE_xlate_v3()
Dlibip6t_DNAT.c307 struct xt_xlate *xl, int rev) in print_range_xlate()
334 static int _DNAT_xlate(struct xt_xlate *xl, in _DNAT_xlate()
355 static int DNAT_xlate(struct xt_xlate *xl, in DNAT_xlate()
367 static int DNAT_xlate_v2(struct xt_xlate *xl, in DNAT_xlate_v2()
Dlibxt_pkttype.c130 struct xt_xlate *xl) in print_pkttype_xlate()
143 static int pkttype_xlate(struct xt_xlate *xl, in pkttype_xlate()
Dlibxt_TEE.c95 static int tee_tg_xlate(struct xt_xlate *xl, in tee_tg_xlate()
112 static int tee_tg6_xlate(struct xt_xlate *xl, in tee_tg6_xlate()
Dlibxt_NFLOG.c110 struct xt_xlate *xl, bool escape_quotes) in nflog_print_xlate()
127 static int NFLOG_xlate(struct xt_xlate *xl, in NFLOG_xlate()
Dlibxt_iprange.c307 struct xt_xlate *xl) in print_iprange_xlate()
318 static int iprange_xlate(struct xt_xlate *xl, in iprange_xlate()
339 static int iprange_mt4_xlate(struct xt_xlate *xl, in iprange_mt4_xlate()
365 static int iprange_mt6_xlate(struct xt_xlate *xl, in iprange_mt6_xlate()
Dlibebt_ip.c557 static void brip_xlate_icmp(struct xt_xlate *xl, in brip_xlate_icmp()
585 static void brip_xlate_igmp(struct xt_xlate *xl, in brip_xlate_igmp()
601 static void brip_xlate_th(struct xt_xlate *xl, in brip_xlate_th()
640 static void brip_xlate_nh(struct xt_xlate *xl, in brip_xlate_nh()
670 static int brip_xlate(struct xt_xlate *xl, in brip_xlate()
Dlibxt_TRACE.c10 static int trace_xlate(struct xt_xlate *xl, in trace_xlate()
Dlibxt_hashlimit.c1212 static void print_packets_rate_xlate(struct xt_xlate *xl, uint64_t avg, in print_packets_rate_xlate()
1228 static void print_bytes_rate_xlate(struct xt_xlate *xl, in print_bytes_rate_xlate()
1254 static void hashlimit_print_subnet_xlate(struct xt_xlate *xl, in hashlimit_print_subnet_xlate()
1296 static int hashlimit_mode_xlate(struct xt_xlate *xl, in hashlimit_mode_xlate()
1336 static int hashlimit_mt_xlate(struct xt_xlate *xl, const char *name, in hashlimit_mt_xlate()
1365 static int hashlimit_xlate(struct xt_xlate *xl, in hashlimit_xlate()
1381 static int hashlimit_mt4_xlate_v1(struct xt_xlate *xl, in hashlimit_mt4_xlate_v1()
1394 static int hashlimit_mt6_xlate_v1(struct xt_xlate *xl, in hashlimit_mt6_xlate_v1()
1407 static int hashlimit_mt4_xlate_v2(struct xt_xlate *xl, in hashlimit_mt4_xlate_v2()
1420 static int hashlimit_mt6_xlate_v2(struct xt_xlate *xl, in hashlimit_mt6_xlate_v2()
[all …]
Dlibipt_icmp.c228 static unsigned int type_xlate_print(struct xt_xlate *xl, unsigned int icmptype, in type_xlate_print()
247 static int icmp_xlate(struct xt_xlate *xl, in icmp_xlate()
Dlibip6t_icmp6.c220 static unsigned int type_xlate_print(struct xt_xlate *xl, unsigned int icmptype, in type_xlate_print()
250 static int icmp6_xlate(struct xt_xlate *xl, in icmp6_xlate()
Dlibxt_TOS.c186 static int tos_xlate(struct xt_xlate *xl, in tos_xlate()
198 static int tos_xlate6(struct xt_xlate *xl, in tos_xlate6()
/external/iptables/iptables/
Dnft.h241 int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl);
243 struct xt_xlate *xl);
244 void xlate_ifname(struct xt_xlate *xl, const char *nftmeta, const char *ifname,
Dxtables-translate.c32 void xlate_ifname(struct xt_xlate *xl, const char *nftmeta, const char *ifname, in xlate_ifname()
72 struct xt_xlate *xl) in xlate_action()
108 int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl) in xlate_matches()
157 struct xt_xlate *xl = xt_xlate_alloc(10240); in nft_rule_xlate_add()

1234