Home
last modified time | relevance | path

Searched refs:fw6 (Results 1 – 7 of 7) sorted by relevance

/external/iptables/iptables/
Dnft-ipv6.c35 if (cs->fw6.ipv6.iniface[0] != '\0') { in nft_ipv6_add()
36 op = nft_invflags2cmp(cs->fw6.ipv6.invflags, IPT_INV_VIA_IN); in nft_ipv6_add()
37 add_iniface(r, cs->fw6.ipv6.iniface, op); in nft_ipv6_add()
40 if (cs->fw6.ipv6.outiface[0] != '\0') { in nft_ipv6_add()
41 op = nft_invflags2cmp(cs->fw6.ipv6.invflags, IPT_INV_VIA_OUT); in nft_ipv6_add()
42 add_outiface(r, cs->fw6.ipv6.outiface, op); in nft_ipv6_add()
45 if (cs->fw6.ipv6.proto != 0) { in nft_ipv6_add()
46 op = nft_invflags2cmp(cs->fw6.ipv6.invflags, XT_INV_PROTO); in nft_ipv6_add()
47 add_l4proto(r, cs->fw6.ipv6.proto, op); in nft_ipv6_add()
50 if (!IN6_IS_ADDR_UNSPECIFIED(&cs->fw6.ipv6.src) || in nft_ipv6_add()
[all …]
Dip6tables.c1330 set_option(&cs.options, OPT_PROTOCOL, &cs.fw6.ipv6.invflags, in do_command6()
1338 cs.fw6.ipv6.proto = xtables_parse_protocol(cs.protocol); in do_command6()
1339 cs.fw6.ipv6.flags |= IP6T_F_PROTO; in do_command6()
1341 if (cs.fw6.ipv6.proto == 0 in do_command6()
1342 && (cs.fw6.ipv6.invflags & XT_INV_PROTO)) in do_command6()
1346 if (is_exthdr(cs.fw6.ipv6.proto) in do_command6()
1347 && (cs.fw6.ipv6.invflags & XT_INV_PROTO) == 0) in do_command6()
1355 set_option(&cs.options, OPT_SOURCE, &cs.fw6.ipv6.invflags, in do_command6()
1361 set_option(&cs.options, OPT_DESTINATION, &cs.fw6.ipv6.invflags, in do_command6()
1368 set_option(&cs.options, OPT_JUMP, &cs.fw6.ipv6.invflags, in do_command6()
[all …]
Dxtables.c374 memcpy(&cs->fw6.ipv6.src, in add_entry()
376 memcpy(&cs->fw6.ipv6.smsk, in add_entry()
379 memcpy(&cs->fw6.ipv6.dst, in add_entry()
381 memcpy(&cs->fw6.ipv6.dmsk, in add_entry()
414 memcpy(&cs->fw6.ipv6.src, s.addr.v6, sizeof(struct in6_addr)); in replace_entry()
415 memcpy(&cs->fw6.ipv6.dst, d.addr.v6, sizeof(struct in6_addr)); in replace_entry()
416 memcpy(&cs->fw6.ipv6.smsk, s.mask.v6, sizeof(struct in6_addr)); in replace_entry()
417 memcpy(&cs->fw6.ipv6.dmsk, d.mask.v6, sizeof(struct in6_addr)); in replace_entry()
447 memcpy(&cs->fw6.ipv6.src, in delete_entry()
449 memcpy(&cs->fw6.ipv6.smsk, in delete_entry()
[all …]
Dxshared.c602 void print_ipv6_addresses(const struct ip6t_entry *fw6, unsigned int format) in print_ipv6_addresses() argument
604 fputc(fw6->ipv6.invflags & IP6T_INV_SRCIP ? '!' : ' ', stdout); in print_ipv6_addresses()
606 ipv6_addr_to_string(&fw6->ipv6.src, in print_ipv6_addresses()
607 &fw6->ipv6.smsk, format)); in print_ipv6_addresses()
609 fputc(fw6->ipv6.invflags & IP6T_INV_DSTIP ? '!' : ' ', stdout); in print_ipv6_addresses()
611 ipv6_addr_to_string(&fw6->ipv6.dst, in print_ipv6_addresses()
612 &fw6->ipv6.dmsk, format)); in print_ipv6_addresses()
Dxshared.h120 struct ip6t_entry fw6; member
205 void print_ipv6_addresses(const struct ip6t_entry *fw6, unsigned int format);
Dxtables-translate.c179 memcpy(&cs->fw6.ipv6.src, in xlate()
181 memcpy(&cs->fw6.ipv6.smsk, in xlate()
184 memcpy(&cs->fw6.ipv6.dst, in xlate()
187 memcpy(&cs->fw6.ipv6.dmsk, in xlate()
/external/igt-gpu-tools/tools/
Dintel_watermark.c616 uint32_t fw1, fw2, fw3, fw4, fw5, fw6, fw7, fw8, fw9, howm, howm1; in vlv_wm_dump() local
632 fw6 = read_reg(0x70078); in vlv_wm_dump()
666 printf(" FW6 = 0x%08x\n", fw6); in vlv_wm_dump()
751 wms[PRI_SR].wm1 = REG_DECODE2(fw6, 0, 9, howm1, 24, 2); in vlv_wm_dump()