/third_party/iptables/iptables/ |
D | nft-ipv4.c | 51 if (cs->fw.ip.src.s_addr || cs->fw.ip.smsk.s_addr || cs->fw.ip.invflags & IPT_INV_SRCIP) { in nft_ipv4_add() 55 &cs->fw.ip.src.s_addr, &cs->fw.ip.smsk.s_addr, in nft_ipv4_add() 104 || a->fw.ip.smsk.s_addr != b->fw.ip.smsk.s_addr in nft_ipv4_is_same() 201 parse_mask_ipv4(ctx, &cs->fw.ip.smsk); in nft_ipv4_parse_payload() 204 memset(&cs->fw.ip.smsk, 0xff, in nft_ipv4_parse_payload() 312 save_ipv4_addr('s', &cs->fw.ip.src, cs->fw.ip.smsk.s_addr, in nft_ipv4_save_rule() 424 xtables_ipmask_to_numeric(&cs->fw.ip.smsk)); in nft_ipv4_xlate()
|
D | nft-arp.c | 190 fw->arp.smsk.s_addr != 0 || in nft_arp_add() 195 &fw->arp.src.s_addr, &fw->arp.smsk.s_addr, in nft_arp_add() 343 parse_mask_ipv4(ctx, &fw->arp.smsk); in nft_arp_parse_payload() 346 memset(&fw->arp.smsk, 0xff, in nft_arp_parse_payload() 452 if (fw->arp.smsk.s_addr != 0L) { in nft_arp_print_rule_details() 459 strncat(buf, mask_to_dotted(&(fw->arp.smsk)), in nft_arp_print_rule_details() 606 || a->arp.smsk.s_addr != b->arp.smsk.s_addr in nft_arp_is_same()
|
D | nft-ipv6.c | 51 !IN6_IS_ADDR_UNSPECIFIED(&cs->fw6.ipv6.smsk) || in nft_ipv6_add() 56 &cs->fw6.ipv6.src, &cs->fw6.ipv6.smsk, in nft_ipv6_add() 148 parse_mask_ipv6(ctx, &cs->fw6.ipv6.smsk); in nft_ipv6_parse_payload() 151 memset(&cs->fw6.ipv6.smsk, 0xff, in nft_ipv6_parse_payload() 251 save_ipv6_addr('s', &cs->fw6.ipv6.src, &cs->fw6.ipv6.smsk, in nft_ipv6_save_rule() 380 xlate_ipv6_addr("ip6 saddr", &cs->fw6.ipv6.src, &cs->fw6.ipv6.smsk, in nft_ipv6_xlate()
|
D | xtables.c | 277 cs->fw.ip.smsk.s_addr = s.mask.v4[i].s_addr; in add_entry() 295 memcpy(&cs->fw6.ipv6.smsk, in add_entry() 330 cs->fw.ip.smsk.s_addr = s.mask.v4->s_addr; in replace_entry() 335 memcpy(&cs->fw6.ipv6.smsk, s.mask.v6, sizeof(struct in6_addr)); in replace_entry() 358 cs->fw.ip.smsk.s_addr = s.mask.v4[i].s_addr; in delete_entry() 368 memcpy(&cs->fw6.ipv6.smsk, in delete_entry() 398 cs->fw.ip.smsk.s_addr = s.mask.v4[i].s_addr; in check_entry() 408 memcpy(&cs->fw6.ipv6.smsk, in check_entry()
|
D | ip6tables.c | 483 fw->ipv6.smsk = smasks[i]; in append_entry() 507 fw->ipv6.smsk = *smask; in replace_entry() 533 fw->ipv6.smsk = smasks[i]; in insert_entry() 601 fw->ipv6.smsk = smasks[i]; in delete_entry() 631 fw->ipv6.smsk = smasks[i]; in check_entry() 893 print_ip("-s", &(e->ipv6.src), &(e->ipv6.smsk), in print_rule6()
|
D | iptables.c | 474 fw->ip.smsk.s_addr = smasks[i].s_addr; in append_entry() 498 fw->ip.smsk.s_addr = smask->s_addr; in replace_entry() 524 fw->ip.smsk.s_addr = smasks[i].s_addr; in insert_entry() 592 fw->ip.smsk.s_addr = smasks[i].s_addr; in delete_entry() 622 fw->ip.smsk.s_addr = smasks[i].s_addr; in check_entry() 899 print_ip("-s", e->ip.src.s_addr,e->ip.smsk.s_addr, in print_rule4()
|
D | xtables-arp.c | 366 cs->arp.arp.smsk.s_addr = smasks[i].s_addr; in append_entry() 396 cs->arp.arp.smsk.s_addr = smask->s_addr; in replace_entry() 419 cs->arp.arp.smsk.s_addr = smasks[i].s_addr; in delete_entry()
|
D | xtables-translate.c | 191 cs->fw.ip.smsk.s_addr = args->s.mask.v4[i].s_addr; in xlate() 203 memcpy(&cs->fw6.ipv6.smsk, in xlate()
|
D | xshared.c | 578 ipv4_addr_to_string(&fw->ip.src, &fw->ip.smsk, format)); in print_ipv4_addresses() 611 &fw6->ipv6.smsk, format)); in print_ipv6_addresses()
|
/third_party/iptables/libiptc/ |
D | libip6tc.c | 145 len = ipv6_prefix_length(&e->ipv6.smsk); in dump_entry() 149 inet_ntop(AF_INET6, &e->ipv6.smsk, buf, sizeof buf); in dump_entry() 214 || memcmp(&a->ipv6.smsk, &b->ipv6.smsk, sizeof(struct in6_addr)) in is_same()
|
D | libip4tc.c | 132 IP_PARTS(e->ip.src.s_addr),IP_PARTS(e->ip.smsk.s_addr)); in dump_entry() 180 || a->ip.smsk.s_addr != b->ip.smsk.s_addr in is_same()
|
/third_party/iptables/extensions/ |
D | libebt_ip6.c | 245 memset(ipinfo->smsk.s6_addr, 0, sizeof(ipinfo->smsk.s6_addr)); in brip6_init() 339 ebt_parse_ip6_address(optarg, &info->saddr, &info->smsk); in brip6_parse() 406 printf("%s ", xtables_ip6mask_to_numeric(&ipinfo->smsk)); in brip6_print() 505 maskp = (struct in6_addr *)&info->smsk; in brip_xlate_nh()
|
D | libebt_ip.c | 40 __be32 smsk; member 392 ebt_parse_ip_address(optarg, &info->saddr, &info->smsk); in brip_parse() 479 maskp = (struct in_addr *)&info->smsk; in brip_print() 652 maskp = (struct in_addr *)&info->smsk; in brip_xlate_nh()
|
D | libebt_arp.c | 237 mask = &arpinfo->smsk; in brarp_parse() 318 xtables_ipmask_to_numeric((const struct in_addr*)&arpinfo->smsk)); in brarp_print()
|
/third_party/iptables/include/linux/netfilter_bridge/ |
D | ebt_ip.h | 34 __be32 smsk; member
|
/third_party/iptables/include/linux/netfilter_arp/ |
D | arp_tables.h | 44 struct in_addr smsk, tmsk; member
|
/third_party/iptables/include/linux/netfilter_ipv4/ |
D | ip_tables.h | 71 struct in_addr smsk, dmsk; member
|
/third_party/iptables/include/linux/netfilter_ipv6/ |
D | ip6_tables.h | 64 struct in6_addr smsk, dmsk; member
|