Home
last modified time | relevance | path

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

/external/iptables/iptables/
Dnft-shared.c210 int parse_meta(struct nftnl_expr *e, uint8_t key, char *iniface, in parse_meta() argument
224 if_indextoname(value, iniface); in parse_meta()
226 memset(iniface_mask, 0xff, strlen(iniface)+1); in parse_meta()
242 memcpy(iniface, ifname, len); in parse_meta()
244 if (iniface[len] == '\0') in parse_meta()
247 iniface[len] = '+'; in parse_meta()
248 iniface[len+1] = '\0'; in parse_meta()
633 void print_ifaces(const char *iniface, const char *outiface, uint8_t invflags, in print_ifaces() argument
647 if (iniface[0] != '\0') in print_ifaces()
648 strcat(iface, iniface); in print_ifaces()
[all …]
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()
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()
117 parse_meta(e, ctx->meta.key, cs->fw6.ipv6.iniface, in nft_ipv6_parse_meta()
240 print_ifaces(cs.fw6.ipv6.iniface, cs.fw6.ipv6.outiface, in nft_ipv6_print_firewall()
273 cs->fw6.ipv6.iniface, cs->fw6.ipv6.iniface_mask, in nft_ipv6_save_firewall()
327 strncpy(cs->fw6.ipv6.iniface, args->iniface, IFNAMSIZ); in nft_ipv6_post_parse()
409 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()
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()
171 parse_meta(e, ctx->meta.key, cs->fw.ip.iniface, cs->fw.ip.iniface_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()
340 cs->fw.ip.iniface, cs->fw.ip.iniface_mask, in nft_ipv4_save_firewall()
381 strncpy(cs->fw.ip.iniface, args->iniface, IFNAMSIZ); in nft_ipv4_post_parse()
447 xlate_ifname(xl, "iifname", cs->fw.ip.iniface, in nft_ipv4_xlate()
Dnft-shared.h130 int parse_meta(struct nftnl_expr *e, uint8_t key, char *iniface,
152 void print_ifaces(const char *iniface, const char *outiface, uint8_t invflags,
158 const char *iniface,
196 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
Dnft-arp.c147 if (fw->arp.iniface[0] != '\0') { in nft_arp_add()
149 add_iniface(r, fw->arp.iniface, op); in nft_arp_add()
267 parse_meta(e, ctx->meta.key, fw->arp.iniface, fw->arp.iniface_mask, in nft_arp_parse_meta()
448 if (fw->arp.iniface[0] != '\0') { in print_fw_details()
449 strcat(iface, fw->arp.iniface); in print_fw_details()
627 return is_same_interfaces(a->arp.iniface, in nft_arp_is_same()
631 b->arp.iniface, in nft_arp_is_same()
Diptables.c582 if (fw->ip.iniface[0] != '\0') { in print_firewall()
583 strcat(iface, fw->ip.iniface); in print_firewall()
1104 print_iface('i', e->ip.iniface, e->ip.iniface_mask, in print_rule4()
1568 cs.fw.ip.iniface, in do_command4()
Dip6tables.c596 if (fw->ipv6.iniface[0] != '\0') { in print_firewall()
597 strcat(iface, fw->ipv6.iniface); in print_firewall()
1105 print_iface('i', e->ipv6.iniface, e->ipv6.iniface_mask, in print_rule6()
1583 cs.fw6.ipv6.iniface, in do_command6()
Dxtables-arp.c1206 cs.fw.arp.iniface, in do_commandarp()
Dxtables.c935 args->iniface, in do_parse()
/external/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()
/external/iptables/include/linux/netfilter_arp/
Darp_tables.h62 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/kernel-headers/original/uapi/linux/netfilter_arp/
Darp_tables.h66 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/iptables/include/linux/netfilter_ipv4/
Dip_tables.h72 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/iproute2/include/uapi/linux/netfilter_ipv4/
Dip_tables.h74 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/kernel-headers/original/uapi/linux/netfilter_ipv4/
Dip_tables.h76 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/kernel-headers/original/uapi/linux/netfilter_ipv6/
Dip6_tables.h69 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/iptables/include/linux/netfilter_ipv6/
Dip6_tables.h65 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/iproute2/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h67 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
/external/syzkaller/sys/linux/
Dnetfilter_arp.txt87 iniface devname
Dnetfilter_ipv4.txt99 iniface devname
Dnetfilter_ipv6.txt99 iniface devname