/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-igmp_querier.c | 156 struct igmpv3_query *create_query(uint8_t code, char *maddr, char *saddrs) in create_query() argument 166 if (saddrs == NULL) { in create_query() 170 for (sp = saddrs; *sp != '\0'; sp++) in create_query() 206 sp = saddrs; in create_query() 251 char *saddrs; /* comma separated array of source addresses */ in parse_options() local 255 saddrs = NULL; in parse_options() 275 saddrs = strdup(optarg); in parse_options() 276 if (saddrs == NULL) in parse_options() 334 if ((info_p->query = create_query(max_resp, maddr, saddrs)) == NULL) in parse_options() 338 free(saddrs); in parse_options()
|
D | ns-mcast_join.c | 73 char *saddrs; /* comma separated array of source addresses */ variable 235 saddrs = strdup(optarg); in parse_options() 236 if (saddrs == NULL) in parse_options() 273 if (saddrs) { in parse_options() 382 if (saddrs) { in join_group() 385 saddrs); in join_group() 448 if (saddrs) in join_leave_group() 449 gsf = create_source_filter(ifindex, maddr_info, fmode, saddrs); in join_leave_group()
|
D | ns-mcast_receiver.c | 166 char *saddrs; /* comma separated array of source addresses */ in parse_options() local 170 saddrs = NULL; in parse_options() 215 saddrs = strdup(optarg); in parse_options() 216 if (saddrs == NULL) in parse_options() 275 if (saddrs) { in parse_options() 282 saddrs); in parse_options() 286 free(saddrs); in parse_options()
|
D | ns-common.c | 511 uint32_t fmode, char *saddrs) in create_source_filter() argument 523 for (sp = saddrs; *sp != '\0'; sp++) in create_source_filter() 555 sp = saddrs; in create_source_filter()
|
D | ns-icmpv6_sender.c | 240 int create_mld_query(struct icmp6_info *info_p, uint16_t mrc, char *saddrs) in create_mld_query() argument 260 if (saddrs == NULL) { in create_mld_query() 264 for (sp = saddrs; *sp != '\0'; sp++) in create_mld_query() 311 sp = saddrs; in create_mld_query()
|
D | ns-traffic.h | 237 …r *create_source_filter(uint32_t ifindex, struct addrinfo *mainfo_p, uint32_t fmode, char *saddrs);
|
/external/iptables/iptables/ |
D | xtables-arp.c | 354 const struct in_addr saddrs[], in append_entry() argument 365 cs->arp.arp.src.s_addr = saddrs[i].s_addr; in append_entry() 407 const struct in_addr saddrs[], in delete_entry() argument 418 cs->arp.arp.src.s_addr = saddrs[i].s_addr; in delete_entry() 465 struct in_addr *saddrs = NULL, *smasks = NULL; in do_commandarp() local 838 xtables_ipparse_multiple(shostnetworkmask, &saddrs, in do_commandarp() 887 nsaddrs, saddrs, smasks, in do_commandarp() 893 nsaddrs, saddrs, smasks, in do_commandarp() 902 saddrs, smasks, daddrs, dmasks, in do_commandarp() 907 nsaddrs, saddrs, smasks, in do_commandarp() [all …]
|
D | ip6tables.c | 470 const struct in6_addr saddrs[], in append_entry() argument 482 fw->ipv6.src = saddrs[i]; in append_entry() 520 const struct in6_addr saddrs[], in insert_entry() argument 532 fw->ipv6.src = saddrs[i]; in insert_entry() 584 const struct in6_addr saddrs[], in delete_entry() argument 600 fw->ipv6.src = saddrs[i]; in delete_entry() 617 unsigned int nsaddrs, const struct in6_addr *saddrs, in check_entry() argument 630 fw->ipv6.src = saddrs[i]; in check_entry() 1066 struct in6_addr *saddrs = NULL, *daddrs = NULL; in do_command6() local 1496 xtables_ip6parse_multiple(shostnetworkmask, &saddrs, in do_command6() [all …]
|
D | iptables.c | 461 const struct in_addr saddrs[], in append_entry() argument 473 fw->ip.src.s_addr = saddrs[i].s_addr; in append_entry() 511 const struct in_addr saddrs[], in insert_entry() argument 523 fw->ip.src.s_addr = saddrs[i].s_addr; in insert_entry() 575 const struct in_addr saddrs[], in delete_entry() argument 591 fw->ip.src.s_addr = saddrs[i].s_addr; in delete_entry() 608 unsigned int nsaddrs, const struct in_addr *saddrs, in check_entry() argument 621 fw->ip.src.s_addr = saddrs[i].s_addr; in check_entry() 1062 struct in_addr *saddrs = NULL, *smasks = NULL; in do_command4() local 1484 xtables_ipparse_multiple(shostnetworkmask, &saddrs, in do_command4() [all …]
|