Home
last modified time | relevance | path

Searched refs:saddrs (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/network/stress/ns-tools/
Dns-igmp_querier.c156 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()
Dns-mcast_join.c73 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()
Dns-mcast_receiver.c166 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()
Dns-common.c511 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()
Dns-icmpv6_sender.c240 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()
Dns-traffic.h237 …r *create_source_filter(uint32_t ifindex, struct addrinfo *mainfo_p, uint32_t fmode, char *saddrs);
/third_party/iptables/iptables/
Dxtables-arp.c354 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 …]
Dip6tables.c470 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 …]
Diptables.c461 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 …]