Home
last modified time | relevance | path

Searched refs:outiface (Results 1 – 18 of 18) sorted by relevance

/external/iptables/iptables/
Dnft-shared.c211 unsigned char *iniface_mask, char *outiface, in parse_meta() argument
233 if_indextoname(value, outiface); in parse_meta()
235 memset(outiface_mask, 0xff, strlen(outiface)+1); in parse_meta()
257 memcpy(outiface, ifname, len); in parse_meta()
259 if (outiface[len] == '\0') in parse_meta()
262 outiface[len] = '+'; in parse_meta()
263 outiface[len+1] = '\0'; in parse_meta()
633 void print_ifaces(const char *iniface, const char *outiface, uint8_t invflags, in print_ifaces() argument
662 if (outiface[0] != '\0') in print_ifaces()
663 strcat(iface, outiface); in print_ifaces()
[all …]
Dnft-ipv6.c40 if (cs->fw6.ipv6.outiface[0] != '\0') { in nft_ipv6_add()
42 add_outiface(r, cs->fw6.ipv6.outiface, op); in nft_ipv6_add()
104 return is_same_interfaces(a->fw6.ipv6.iniface, a->fw6.ipv6.outiface, in nft_ipv6_is_same()
107 b->fw6.ipv6.iniface, b->fw6.ipv6.outiface, in nft_ipv6_is_same()
118 cs->fw6.ipv6.iniface_mask, cs->fw6.ipv6.outiface, in nft_ipv6_parse_meta()
240 print_ifaces(cs.fw6.ipv6.iniface, cs.fw6.ipv6.outiface, in nft_ipv6_print_firewall()
274 cs->fw6.ipv6.outiface, in nft_ipv6_save_firewall()
331 strncpy(cs->fw6.ipv6.outiface, args->outiface, IFNAMSIZ); in nft_ipv6_post_parse()
411 xlate_ifname(xl, "oifname", cs->fw6.ipv6.outiface, in nft_ipv6_xlate()
Dnft-ipv4.c41 if (cs->fw.ip.outiface[0] != '\0') { in nft_ipv4_add()
43 add_outiface(r, cs->fw.ip.outiface, op); in nft_ipv4_add()
116 return is_same_interfaces(a->fw.ip.iniface, a->fw.ip.outiface, in nft_ipv4_is_same()
118 b->fw.ip.iniface, b->fw.ip.outiface, in nft_ipv4_is_same()
172 cs->fw.ip.outiface, cs->fw.ip.outiface_mask, in nft_ipv4_parse_meta()
307 print_ifaces(cs.fw.ip.iniface, cs.fw.ip.outiface, cs.fw.ip.invflags, in nft_ipv4_print_firewall()
341 cs->fw.ip.outiface, cs->fw.ip.outiface_mask); in nft_ipv4_save_firewall()
385 strncpy(cs->fw.ip.outiface, args->outiface, IFNAMSIZ); in nft_ipv4_post_parse()
449 xlate_ifname(xl, "oifname", cs->fw.ip.outiface, in nft_ipv4_xlate()
Dnft-shared.h131 unsigned char *iniface_mask, char *outiface,
152 void print_ifaces(const char *iniface, const char *outiface, uint8_t invflags,
160 const char *outiface,
196 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
Dnft-arp.c152 if (fw->arp.outiface[0] != '\0') { in nft_arp_add()
154 add_outiface(r, fw->arp.outiface, op); in nft_arp_add()
268 fw->arp.outiface, fw->arp.outiface_mask, in nft_arp_parse_meta()
464 if (fw->arp.outiface[0] != '\0') { in print_fw_details()
465 strcat(iface, fw->arp.outiface); in print_fw_details()
628 a->arp.outiface, in nft_arp_is_same()
632 b->arp.outiface, in nft_arp_is_same()
Dip6tables.c609 if (fw->ipv6.outiface[0] != '\0') { in print_firewall()
610 strcat(iface, fw->ipv6.outiface); in print_firewall()
1108 print_iface('o', e->ipv6.outiface, e->ipv6.outiface_mask, in print_rule6()
1595 cs.fw6.ipv6.outiface, in do_command6()
Diptables.c595 if (fw->ip.outiface[0] != '\0') { in print_firewall()
596 strcat(iface, fw->ip.outiface); in print_firewall()
1107 print_iface('o', e->ip.outiface, e->ip.outiface_mask, in print_rule4()
1580 cs.fw.ip.outiface, in do_command4()
Dxtables-arp.c1216 cs.fw.arp.outiface, in do_commandarp()
Dxtables.c947 args->outiface, in do_parse()
/external/iptables/libiptc/
Dlibip6tc.c170 printf("to `%s'/", e->ipv6.outiface); in dump_entry()
230 if ((a->ipv6.outiface[i] & a->ipv6.outiface_mask[i]) in is_same()
231 != (b->ipv6.outiface[i] & b->ipv6.outiface_mask[i])) in is_same()
Dlibip4tc.c138 printf("to `%s'/", e->ip.outiface); in dump_entry()
195 if ((a->ip.outiface[i] & a->ip.outiface_mask[i]) in is_same()
196 != (b->ip.outiface[i] & b->ip.outiface_mask[i])) in is_same()
/external/kernel-headers/original/uapi/linux/netfilter_arp/
Darp_tables.h65 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/iptables/include/linux/netfilter_arp/
Darp_tables.h62 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/iproute2/include/linux/netfilter_ipv4/
Dip_tables.h72 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/iptables/include/linux/netfilter_ipv4/
Dip_tables.h72 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/kernel-headers/original/uapi/linux/netfilter_ipv4/
Dip_tables.h75 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/kernel-headers/original/uapi/linux/netfilter_ipv6/
Dip6_tables.h68 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/iptables/include/linux/netfilter_ipv6/
Dip6_tables.h65 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member