/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 | iptables.c | 665 const struct in_addr saddrs[], in append_entry() argument 677 fw->ip.src.s_addr = saddrs[i].s_addr; in append_entry() 715 const struct in_addr saddrs[], in insert_entry() argument 727 fw->ip.src.s_addr = saddrs[i].s_addr; in insert_entry() 779 const struct in_addr saddrs[], in delete_entry() argument 795 fw->ip.src.s_addr = saddrs[i].s_addr; in delete_entry() 812 unsigned int nsaddrs, const struct in_addr *saddrs, in check_entry() argument 825 fw->ip.src.s_addr = saddrs[i].s_addr; in check_entry() 1332 struct in_addr *saddrs = NULL, *smasks = NULL; in do_command4() local 1750 xtables_ipparse_multiple(shostnetworkmask, &saddrs, in do_command4() [all …]
|
D | ip6tables.c | 681 const struct in6_addr saddrs[], in append_entry() argument 693 fw->ipv6.src = saddrs[i]; in append_entry() 731 const struct in6_addr saddrs[], in insert_entry() argument 743 fw->ipv6.src = saddrs[i]; in insert_entry() 795 const struct in6_addr saddrs[], in delete_entry() argument 811 fw->ipv6.src = saddrs[i]; in delete_entry() 828 unsigned int nsaddrs, const struct in6_addr *saddrs, in check_entry() argument 841 fw->ipv6.src = saddrs[i]; in check_entry() 1337 struct in6_addr *saddrs = NULL, *daddrs = NULL; in do_command6() local 1763 xtables_ip6parse_multiple(shostnetworkmask, &saddrs, in do_command6() [all …]
|
D | xtables-arp.c | 869 const struct in_addr saddrs[], in append_entry() argument 878 cs->fw.arp.src.s_addr = saddrs[i].s_addr; in append_entry() 914 const struct in_addr saddrs[], in delete_entry() argument 923 cs->fw.arp.src.s_addr = saddrs[i].s_addr; in delete_entry() 938 struct in_addr *saddrs = NULL, *daddrs = NULL; in do_commandarp() local 1343 parse_hostnetworkmask(shostnetworkmask, &saddrs, in do_commandarp() 1413 nsaddrs, saddrs, ndaddrs, daddrs, in do_commandarp() 1418 nsaddrs, saddrs, ndaddrs, daddrs, in do_commandarp() 1426 saddrs, daddrs, options&OPT_VERBOSE, h); in do_commandarp() 1430 nsaddrs, saddrs, ndaddrs, daddrs, in do_commandarp()
|