Home
last modified time | relevance | path

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

123

/external/iptables/include/
Dxtables.h208 struct xt_xlate;
288 int (*xlate)(struct xt_xlate *xl,
368 int (*xlate)(struct xt_xlate *xl,
585 struct xt_xlate *xt_xlate_alloc(int size);
586 void xt_xlate_free(struct xt_xlate *xl);
587 void xt_xlate_add(struct xt_xlate *xl, const char *fmt, ...);
588 void xt_xlate_add_comment(struct xt_xlate *xl, const char *comment);
589 const char *xt_xlate_get_comment(struct xt_xlate *xl);
590 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.c106 print_mark_xlate(struct xt_xlate *xl, unsigned int mark, in print_mark_xlate()
117 static int mark_mt_xlate(struct xt_xlate *xl, in mark_mt_xlate()
132 static int mark_xlate(struct xt_xlate *xl, in mark_xlate()
Dlibxt_connmark.c127 struct xt_xlate *xl, uint32_t op) in print_mark_xlate()
137 static int connmark_xlate(struct xt_xlate *xl, in connmark_xlate()
153 connmark_mt_xlate(struct xt_xlate *xl, in connmark_mt_xlate()
Dlibxt_devgroup.c156 struct xt_xlate *xl, int numeric) in print_devgroup_xlate()
176 struct xt_xlate *xl, int numeric) in devgroup_show_xlate()
199 static int devgroup_xlate(struct xt_xlate *xl, in devgroup_xlate()
Dlibxt_mac.c74 struct xt_xlate *xl) in print_mac_xlate()
83 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()
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_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()
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()
Dlibipt_realm.c113 int numeric, struct xt_xlate *xl, uint32_t op) in print_realm_xlate()
132 static int realm_xlate(struct xt_xlate *xl, in realm_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()
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_cgroup.c124 static int cgroup_xlate_v0(struct xt_xlate *xl, in cgroup_xlate_v0()
134 static int cgroup_xlate_v1(struct xt_xlate *xl, in cgroup_xlate_v1()
Dlibxt_limit.c162 static void print_rate_xlate(uint32_t period, struct xt_xlate *xl) in print_rate_xlate()
180 static int limit_xlate(struct xt_xlate *xl, in limit_xlate()
Dlibxt_TRACE.c10 static int trace_xlate(struct xt_xlate *xl, in trace_xlate()
Dlibipt_icmp.c252 static unsigned int type_xlate_print(struct xt_xlate *xl, unsigned int icmptype, in type_xlate_print()
271 static int icmp_xlate(struct xt_xlate *xl, in icmp_xlate()
Dlibip6t_icmp6.c244 static unsigned int type_xlate_print(struct xt_xlate *xl, unsigned int icmptype, in type_xlate_print()
274 static int icmp6_xlate(struct xt_xlate *xl, in icmp6_xlate()
Dlibxt_cpu.c47 static int cpu_xlate(struct xt_xlate *xl, in cpu_xlate()
Dlibxt_quota.c54 static int quota_xlate(struct xt_xlate *xl, in quota_xlate()
Dlibxt_helper.c48 static int helper_xlate(struct xt_xlate *xl, in helper_xlate()
/external/iptables/iptables/
Dnft.h164 int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl);
166 struct xt_xlate *xl);
167 void xlate_ifname(struct xt_xlate *xl, const char *nftmeta, const char *ifname,
Dxtables-translate.c37 void xlate_ifname(struct xt_xlate *xl, const char *nftmeta, const char *ifname, in xlate_ifname()
55 struct xt_xlate *xl) in xlate_action()
90 int xlate_matches(const struct iptables_command_state *cs, struct xt_xlate *xl) in xlate_matches()
139 struct xt_xlate *xl = xt_xlate_alloc(10240); in nft_rule_xlate_add()
/external/iptables/libxtables/
Dxtables.c1990 struct xt_xlate { struct
2000 struct xt_xlate *xt_xlate_alloc(int size) in xt_xlate_alloc() argument
2002 struct xt_xlate *xl; in xt_xlate_alloc()
2004 xl = malloc(sizeof(struct xt_xlate)); in xt_xlate_alloc()
2020 void xt_xlate_free(struct xt_xlate *xl) in xt_xlate_free()
2026 void xt_xlate_add(struct xt_xlate *xl, const char *fmt, ...) in xt_xlate_add()
2041 void xt_xlate_add_comment(struct xt_xlate *xl, const char *comment) in xt_xlate_add_comment()
2047 const char *xt_xlate_get_comment(struct xt_xlate *xl) in xt_xlate_get_comment()
2052 const char *xt_xlate_get(struct xt_xlate *xl) in xt_xlate_get()

123