Home
last modified time | relevance | path

Searched refs:iniface (Results 1 – 16 of 16) sorted by relevance

/third_party/iptables/iptables/
Dnft-ipv6.c35 if (cs->fw6.ipv6.iniface[0] != '\0') { in nft_ipv6_add()
37 add_iniface(r, cs->fw6.ipv6.iniface, op); in nft_ipv6_add()
102 return is_same_interfaces(a->fw6.ipv6.iniface, a->fw6.ipv6.outiface, in nft_ipv6_is_same()
105 b->fw6.ipv6.iniface, b->fw6.ipv6.outiface, in nft_ipv6_is_same()
125 parse_meta(e, ctx->meta.key, cs->fw6.ipv6.iniface, in nft_ipv6_parse_meta()
209 print_ifaces(cs.fw6.ipv6.iniface, cs.fw6.ipv6.outiface, in nft_ipv6_print_rule()
257 cs->fw6.ipv6.iniface, cs->fw6.ipv6.iniface_mask, in nft_ipv6_save_rule()
296 strncpy(cs->fw6.ipv6.iniface, args->iniface, IFNAMSIZ); in nft_ipv6_post_parse()
356 xlate_ifname(xl, "iifname", cs->fw6.ipv6.iniface, in nft_ipv6_xlate()
Dnft-ipv4.c36 if (cs->fw.ip.iniface[0] != '\0') { in nft_ipv4_add()
38 add_iniface(r, cs->fw.ip.iniface, op); in nft_ipv4_add()
113 return is_same_interfaces(a->fw.ip.iniface, a->fw.ip.outiface, in nft_ipv4_is_same()
115 b->fw.ip.iniface, b->fw.ip.outiface, in nft_ipv4_is_same()
178 parse_meta(e, ctx->meta.key, cs->fw.ip.iniface, cs->fw.ip.iniface_mask, in nft_ipv4_parse_meta()
278 print_ifaces(cs.fw.ip.iniface, cs.fw.ip.outiface, cs.fw.ip.invflags, in nft_ipv4_print_rule()
318 cs->fw.ip.iniface, cs->fw.ip.iniface_mask, in nft_ipv4_save_rule()
348 strncpy(cs->fw.ip.iniface, args->iniface, IFNAMSIZ); in nft_ipv4_post_parse()
392 xlate_ifname(xl, "iifname", cs->fw.ip.iniface, in nft_ipv4_xlate()
Dnft-arp.c136 if (fw->arp.iniface[0] != '\0') { in nft_arp_add()
138 add_iniface(r, fw->arp.iniface, op); in nft_arp_add()
250 parse_meta(e, ctx->meta.key, fw->arp.iniface, fw->arp.iniface_mask, in nft_arp_parse_meta()
419 if (fw->arp.iniface[0] != '\0') { in nft_arp_print_rule_details()
420 strcat(iface, fw->arp.iniface); in nft_arp_print_rule_details()
615 return is_same_interfaces(a->arp.iniface, in nft_arp_is_same()
619 b->arp.iniface, in nft_arp_is_same()
Dnft-shared.h139 int parse_meta(struct nftnl_expr *e, uint8_t key, char *iniface,
159 const char *iniface,
194 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
Dnft-shared.c260 int parse_meta(struct nftnl_expr *e, uint8_t key, char *iniface, in parse_meta() argument
274 if_indextoname(value, iniface); in parse_meta()
276 memset(iniface_mask, 0xff, strlen(iniface)+1); in parse_meta()
293 parse_ifname(ifname, len, iniface, iniface_mask); in parse_meta()
812 const char *iniface, in save_rule_details() argument
817 if (iniface != NULL) { in save_rule_details()
818 print_iface('i', iniface, iniface_mask, in save_rule_details()
Dxshared.h212 void print_ifaces(const char *iniface, const char *outiface, uint8_t invflags,
Dxshared.c622 void print_ifaces(const char *iniface, const char *outiface, uint8_t invflags, in print_ifaces() argument
633 iniface[0] != '\0' ? iniface : anyname); in print_ifaces()
Diptables.c415 print_ifaces(fw->ip.iniface, fw->ip.outiface, fw->ip.invflags, format); in print_firewall()
905 print_iface('i', e->ip.iniface, e->ip.iniface_mask, in print_rule4()
1297 cs.fw.ip.iniface, in do_command4()
Dip6tables.c423 print_ifaces(fw->ipv6.iniface, fw->ipv6.outiface, in print_firewall()
899 print_iface('i', e->ipv6.iniface, e->ipv6.iniface_mask, in print_rule6()
1311 cs.fw6.ipv6.iniface, in do_command6()
Dxtables-arp.c717 cs.arp.arp.iniface, in do_commandarp()
Dxtables.c709 args->iniface, in do_parse()
/third_party/iptables/libiptc/
Dlibip6tc.c167 printf("Interface: `%s'/", e->ipv6.iniface); in dump_entry()
225 if ((a->ipv6.iniface[i] & a->ipv6.iniface_mask[i]) in is_same()
226 != (b->ipv6.iniface[i] & b->ipv6.iniface_mask[i])) in is_same()
Dlibip4tc.c135 printf("Interface: `%s'/", e->ip.iniface); in dump_entry()
190 if ((a->ip.iniface[i] & a->ip.iniface_mask[i]) in is_same()
191 != (b->ip.iniface[i] & b->ip.iniface_mask[i])) in is_same()
/third_party/iptables/include/linux/netfilter_arp/
Darp_tables.h62 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/third_party/iptables/include/linux/netfilter_ipv4/
Dip_tables.h72 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/third_party/iptables/include/linux/netfilter_ipv6/
Dip6_tables.h65 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member