/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/libsmb/ |
H A D | namequery_dc.c | 75 struct ip_service *ip_list = NULL; local 105 if ( !get_sorted_dc_list(domain, &ip_list, &count, False) ) { 114 if (ip_equal( exclude_ip, ip_list[i].ip)) 115 zero_ip(&ip_list[i].ip); 120 if (is_zero_ip(ip_list[i].ip)) 123 if (name_status_find(domain, 0x1c, 0x20, ip_list[i].ip, srv_name)) { 126 dc_ip = ip_list[i].ip; 133 SAFE_FREE(ip_list); 149 SAFE_FREE(ip_list);
|
H A D | namequery.c | 367 struct in_addr *ip_list = NULL; local 481 tmp_ip_list = SMB_REALLOC_ARRAY( ip_list, struct in_addr, 486 SAFE_FREE(ip_list); 489 ip_list = tmp_ip_list; 491 if (ip_list) { 494 putip((char *)&ip_list[(*count)],&nmb2->answers->rdata[2+i*6]); 495 DEBUGADD(2,("%s ",inet_ntoa(ip_list[(*count)]))); 534 sort_ip_list(ip_list, *count); 536 return ip_list; 650 static BOOL convert_ip2service( struct ip_service **return_iplist, struct in_addr *ip_list, in argument 679 struct in_addr *ip_list; local 741 struct in_addr src_ip, *ip_list = NULL; local 1166 struct ip_service *ip_list = NULL; local 1201 struct ip_service *ip_list = NULL; local 1231 struct ip_service *ip_list; local 1260 get_dc_list(const char *domain, struct ip_service **ip_list, int *count, BOOL ads_only, int *ordered) argument 1428 get_sorted_dc_list( const char *domain, struct ip_service **ip_list, int *count, BOOL ads_only ) argument [all...] |
H A D | namecache.c | 111 * @param ip_list array of in_addr structures containing 116 int num_names, struct ip_service *ip_list) 134 DEBUGADD(5, ("%s:%d%s", inet_ntoa(ip_list[i].ip), 135 ip_list[i].port, (i == (num_names - 1) ? "" : ","))); 148 if (!ipstr_list_make(&value_string, ip_list, num_names)) { 167 * @param ip_list mallocated list of IP addresses if found in the cache, 175 BOOL namecache_fetch(const char *name, int name_type, struct ip_service **ip_list, argument 184 if (!ip_list || !num_names) return False; 207 *num_names = ipstr_list_parse(value, ip_list); 115 namecache_store(const char *name, int name_type, int num_names, struct ip_service *ip_list) argument
|
H A D | cliconnect.c | 1725 struct ip_service *ip_list; local 1733 if (!name_resolve_bcast(MSBROWSE, 1, &ip_list, &count)) { 1739 DEBUG(99, ("Found master browser %s\n", inet_ntoa(ip_list[i].ip))); 1741 cli = get_ipc_connect_master_ip(&ip_list[i], workgroup, user_info);
|
H A D | libsmbclient.c | 1919 struct ip_service *ip_list; local 1951 if (!name_resolve_bcast(MSBROWSE, 1, &ip_list, &count)) { 1958 ip_list = &server_addr; 1963 DEBUG(99, ("Found master browser %s\n", inet_ntoa(ip_list[i].ip))); 1965 cli = get_ipc_connect_master_ip(&ip_list[i], workgroup, &u_info);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/web/ |
H A D | diagnose.c | 44 struct in_addr *ip_list; local 48 if ((ip_list = name_query(fd, "__SAMBA__", 0, 51 SAFE_FREE(ip_list);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/nsswitch/ |
H A D | wins.c | 168 struct in_addr *ip_list; local 226 if (ip_list = lookup_byname_backend(key, &count)) { 228 addr = inet_ntoa(ip_list[i-1]); 231 free(ip_list); 242 free(ip_list); 248 free(ip_list); 296 struct in_addr *ip_list; local 306 ip_list = lookup_byname_backend(name, &count); 308 if (!ip_list) 336 memcpy(he->h_addr_list[i], &ip_list[ [all...] |
H A D | winbindd_wins.c | 183 struct in_addr *ip_list; local 197 if ((ip_list = lookup_byname_backend(state->request.data.winsreq,&count))){ 199 addr = inet_ntoa(ip_list[i-1]); 202 SAFE_FREE(ip_list); 217 SAFE_FREE(ip_list); 222 SAFE_FREE(ip_list);
|
H A D | winbindd_rpc.c | 824 struct ip_service *ip_list = NULL; local 827 if ( !get_sorted_dc_list(domain, &ip_list, &count, False) ) { 838 port = (ip_list[i].port!= PORT_NONE) ? ip_list[i].port : LDAP_PORT; 840 fstrcpy( ipstr, inet_ntoa(ip_list[i].ip) ); 842 if (is_zero_ip(ip_list[i].ip)) 855 domain, inet_ntoa(ip_list[i].ip), port)); 858 SAFE_FREE(ip_list);
|
H A D | winbindd_cm.c | 520 struct ip_service *ip_list = NULL; local 545 get_sorted_dc_list(domain->name, &ip_list, &iplist_size, False); 550 get_sorted_dc_list(domain->alt_name, &ip_list, &iplist_size, True); 557 add_one_dc_unique(mem_ctx, domain->name, inet_ntoa(ip_list[i].ip), 558 ip_list[i].ip, dcs, num_dcs); 561 SAFE_FREE( ip_list );
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/utils/ |
H A D | nmblookup.c | 139 struct in_addr *ip_list=NULL; local 143 ip_list = name_query(ServerFD,lookup,lookup_type,use_bcast, 149 !ip_list && j >= 0; 154 ip_list = name_query(ServerFD,lookup,lookup_type, 161 if (!ip_list) return False; 168 struct hostent *host = gethostbyaddr((char *)&ip_list[j], sizeof(ip_list[j]), AF_INET); 173 d_printf("%s %s<%02x>\n",inet_ntoa(ip_list[j]),lookup, lookup_type); 180 do_node_status(ServerFD, lookup, lookup_type, ip_list[0]); 183 safe_free(ip_list); [all...] |
H A D | net_lookup.c | 135 struct ip_service *ip_list; local 151 if (!get_sorted_dc_list(domain, &ip_list, &count, False)) { 156 char *dc_str = inet_ntoa(ip_list[i].ip);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/nmbd/ |
H A D | nmbd_nameregister.c | 420 struct in_addr *ip_list; local 426 if((ip_list = SMB_MALLOC_ARRAY(struct in_addr, num_ips))==NULL) { 434 ip_list[i] = subrec->myip; 440 num_ips, ip_list); 454 ip_list[0], 460 SAFE_FREE(ip_list);
|
H A D | nmbd_winsserver.c | 247 struct in_addr *ip_list; local 283 * time to actually parse them into the ip_list array. 320 /* Allocate the space for the ip_list. */ 321 if((ip_list = SMB_MALLOC_ARRAY( struct in_addr, num_ips)) == NULL) { 332 ip_list[i] = *interpret_addr2(ip_str); 343 SAFE_FREE(ip_list); 368 name, type, ttl, inet_ntoa(ip_list[0]), nb_flags)); 371 ttl, REGISTER_NAME, num_ips, ip_list ); 374 name, type, ttl, inet_ntoa(ip_list[0]), nb_flags)); 377 SAFE_FREE(ip_list); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/wrepld/ |
H A D | process.c | 404 static BOOL add_record_to_winsname(WINS_NAME **wins_name, int *max_names, char *name, int type, int wins_flags, int id, struct in_addr *ip_list, int num_ips) argument 430 temp_list[current].owner.s_addr=ip_list[0].s_addr; 439 temp_list[current].others[i].s_addr=ip_list[i].s_addr; 511 struct in_addr *ip_list; local 542 /* Allocate the space for the ip_list. */ 543 if((ip_list = (struct in_addr *)talloc(mem_ctx, num_ips * sizeof(struct in_addr))) == NULL) { 551 ip_list[i] = *interpret_addr2(ip_str); 562 name, type, ttl, inet_ntoa(ip_list[0]), nb_flags)); 569 if(!add_record_to_winsname(&r->rep.se_rp.wins_name, &max_names, name, type, wins_flags, version, ip_list, num_ips)) 576 name, type, ttl, inet_ntoa(ip_list[ [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/lib/ |
H A D | util_str.c | 1831 * @param ip_list array of ip addresses to place in the list 1832 * @param ip_count number of addresses stored in ip_list 1836 char* ipstr_list_make(char** ipstr_list, const struct ip_service* ip_list, int ip_count) argument 1841 if (!ip_list && !ipstr_list) return 0; 1847 *ipstr_list = ipstr_list_add(ipstr_list, &ip_list[i]); 1859 * @param ip_list pointer to array of ip addresses which is 1864 int ipstr_list_parse(const char* ipstr_list, struct ip_service **ip_list) argument 1870 if (!ipstr_list || !ip_list) 1874 if ( (*ip_list = SMB_MALLOC_ARRAY(struct ip_service, count)) == NULL ) { 1896 (*ip_list)[ [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/smbwrapper/ |
H A D | smbw.c | 256 struct in_addr *ip_list = NULL; local 268 if (!name_resolve_bcast(MSBROWSE, 1, &ip_list, &count)) { 275 if (name_status_find("*", 0, 0x1d, ip_list[i], name)) { 279 SAFE_FREE(ip_list); 285 SAFE_FREE(ip_list);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/libads/ |
H A D | ldap.c | 173 struct ip_service *ip_list; local 216 if ( !get_sorted_dc_list(realm, &ip_list, &count, got_realm) ) { 229 int port = (ip_list[i].port!=PORT_NONE) ? ip_list[i].port : LDAP_PORT; 232 fstrcpy( server, inet_ntoa(ip_list[i].ip) ); 238 SAFE_FREE(ip_list); 246 SAFE_FREE(ip_list);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/s390/net/ |
H A D | qeth_sys.c | 1378 list_for_each_entry(ipaddr, &card->ip_list, entry){ 1559 list_for_each_entry(ipaddr, &card->ip_list, entry){
|
H A D | qeth.h | 820 struct list_head ip_list; member in struct:qeth_card
|
H A D | qeth_main.c | 623 list_for_each_entry(addr, &card->ip_list, entry) { 822 list_for_each_entry_safe(addr, tmp, &card->ip_list, entry) { 876 list_add_tail(&todo->entry, &card->ip_list); 888 list_add_tail(&addr->entry, &card->ip_list); 1087 INIT_LIST_HEAD(&card->ip_list); 7581 while (!list_empty(&card->ip_list)) { 7582 addr = list_entry(card->ip_list.next, 8286 if (__qeth_address_exists_in_list(&card->ip_list, ipaddr, 0) || 8357 if (__qeth_address_exists_in_list(&card->ip_list, ipaddr, 0) ||
|