Home
last modified time | relevance | path

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

/third_party/iptables/iptables/
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()
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()
126 cs->fw6.ipv6.iniface_mask, cs->fw6.ipv6.outiface, in nft_ipv6_parse_meta()
209 print_ifaces(cs.fw6.ipv6.iniface, cs.fw6.ipv6.outiface, in nft_ipv6_print_rule()
258 cs->fw6.ipv6.outiface, cs->fw6.ipv6.outiface_mask); in nft_ipv6_save_rule()
300 strncpy(cs->fw6.ipv6.outiface, args->outiface, IFNAMSIZ); in nft_ipv6_post_parse()
358 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()
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()
179 cs->fw.ip.outiface, cs->fw.ip.outiface_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()
319 cs->fw.ip.outiface, cs->fw.ip.outiface_mask); in nft_ipv4_save_rule()
352 strncpy(cs->fw.ip.outiface, args->outiface, IFNAMSIZ); in nft_ipv4_post_parse()
394 xlate_ifname(xl, "oifname", cs->fw.ip.outiface, in nft_ipv4_xlate()
Dnft-arp.c141 if (fw->arp.outiface[0] != '\0') { in nft_arp_add()
143 add_outiface(r, fw->arp.outiface, op); in nft_arp_add()
251 fw->arp.outiface, fw->arp.outiface_mask, in nft_arp_parse_meta()
437 if (fw->arp.outiface[0] != '\0') { in nft_arp_print_rule_details()
438 strcat(iface, fw->arp.outiface); in nft_arp_print_rule_details()
616 a->arp.outiface, in nft_arp_is_same()
620 b->arp.outiface, in nft_arp_is_same()
Dnft-shared.h140 unsigned char *iniface_mask, char *outiface,
161 const char *outiface,
194 char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; member
Dnft-shared.c261 unsigned char *iniface_mask, char *outiface, in parse_meta() argument
283 if_indextoname(value, outiface); in parse_meta()
285 memset(outiface_mask, 0xff, strlen(outiface)+1); in parse_meta()
301 parse_ifname(ifname, len, outiface, outiface_mask); in parse_meta()
814 const char *outiface, in save_rule_details() argument
821 if (outiface != NULL) { in save_rule_details()
822 print_iface('o', outiface, outiface_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
639 outiface[0] != '\0' ? outiface : anyname); in print_ifaces()
Dip6tables.c423 print_ifaces(fw->ipv6.iniface, fw->ipv6.outiface, in print_firewall()
902 print_iface('o', e->ipv6.outiface, e->ipv6.outiface_mask, in print_rule6()
1323 cs.fw6.ipv6.outiface, in do_command6()
Diptables.c415 print_ifaces(fw->ip.iniface, fw->ip.outiface, fw->ip.invflags, format); in print_firewall()
908 print_iface('o', e->ip.outiface, e->ip.outiface_mask, in print_rule4()
1309 cs.fw.ip.outiface, in do_command4()
Dxtables-arp.c726 cs.arp.arp.outiface, in do_commandarp()
Dxtables.c721 args->outiface, in do_parse()
/third_party/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()
/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