Searched refs:myip (Results 1 - 16 of 16) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/nmbd/
H A Dnmbd_subnetdb.c77 struct in_addr myip, struct in_addr bcast_ip,
96 if((nmb_sock = open_socket_in(SOCK_DGRAM, global_nmb_port,0, myip.s_addr,True)) == -1) {
99 Debug1( " Failed to open nmb socket on interface %s ", inet_ntoa(myip) );
106 if((dgram_sock = open_socket_in(SOCK_DGRAM,DGRAM_PORT,3, myip.s_addr,True)) == -1) {
109 Debug1( " Failed to open dgram socket on interface %s ", inet_ntoa(myip) );
153 subrec->myip = myip;
76 make_subnet(const char *name, enum subnet_type type, struct in_addr myip, struct in_addr bcast_ip, struct in_addr mask_ip) argument
H A Dnmbd_mynames.c101 MIN(lp_max_ttl(), MAX_REFRESH_TIME), SELF_NAME, 1, &subrec->myip);
105 add_ip_to_name_record( namerec, subrec->myip);
H A Dnmbd.c191 if (ip_equal(iface->ip, subrec->myip) &&
209 if (ip_equal(iface->ip, subrec->myip) &&
220 inet_ntoa(subrec->myip)));
328 if (ip_equal(*local_ip, subrec->myip)) {
H A Dnmbd_sendannounce.c53 FIRST_SUBNET->myip, DGRAM_PORT);
82 subrec->myip, DGRAM_PORT);
122 from_name, 0x0, to_name, to_type, to_ip, subrec->myip,
151 from_name, 0x0, to_name, to_type, to_ip, subrec->myip,
579 global_myname(), 0x0, "*", 0x0, addr, FIRST_SUBNET->myip, DGRAM_PORT);
H A Dnmbd_nameregister.c365 if (ip_equal(last_ip, subrec->myip)) {
378 multihomed_register_one(nmbname, nb_flags, NULL, NULL, subrec->myip, tag);
384 nb_flags, subrec->myip, tag);
434 ip_list[i] = subrec->myip;
H A Dnmbd_become_lmb.c44 PERMANENT_TTL, PERMANENT_NAME, 1, &subrec->myip);
48 add_ip_to_name_record( namerec, subrec->myip);
63 remove_ip_from_name_record( namerec, subrec->myip);
H A Dnmbd_namelistdb.c490 struct in_addr *iplist = &subrec->myip;
509 iplist[i] = bcast_subrecs->myip;
521 if(iplist != &subrec->myip) {
H A Dnmbd_winsproxy.c111 if( same_net( namerec->data.ip[i], orig_broadcast_subnet->myip,
H A Dnmbd_become_dmb.c349 inet_ntoa(unicast_subnet->myip), nmb_namestr(&nmbname), workgroup_name));
H A Dnmbd_elections.c61 subrec->bcast_ip, subrec->myip, DGRAM_PORT);
H A Dnmbd_browsesync.c141 work->dmb_addr, FIRST_SUBNET->myip, DGRAM_PORT);
H A Dnmbd_incomingrequests.c501 if (same_net(namerec->data.ip[i], subrec->myip, subrec->mask_ip)) {
H A Dnmbd_incomingdgrams.c628 sendto_ip, subrec->myip, port);
H A Dnmbd_packets.c56 if(ip_equal(local_ip, subrec->myip))
71 if(ip_equal(local_ip, subrec->myip))
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/include/
H A Dnameserv.h436 struct in_addr myip; member in struct:subnet_record
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/
H A Dpcap-dos.c950 static const char myip[] = "192.168.0.1"; local
953 printf ("Just guessing, using IP %s and netmask %s\n", myip, mask);
954 my_ip_addr = aton (myip);

Completed in 137 milliseconds