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

/freebsd-10.3-release/lib/libstand/
H A Diodesc.h44 struct in_addr myip; /* local ip addr, net order */ member in struct:iodesc
H A Drarp.c115 bcopy(ap->arp_tpa, (char *)&myip, sizeof(myip));
122 if (IN_CLASSA(myip.s_addr))
124 else if (IN_CLASSB(myip.s_addr))
129 d->myip = myip;
H A Dglobals.c29 struct in_addr myip; /* my ip address */ variable in typeref:struct:in_addr
H A Dudp.c77 inet_ntoa(d->myip), ntohs(d->myport));
95 ip->ip_src = d->myip;
208 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) {
211 printf("readudp: bad saddr %s != ", inet_ntoa(d->myip));
H A Dnet.h80 extern struct in_addr myip;
H A Darp.c118 bcopy(&d->myip, ah->arp_spa, sizeof(ah->arp_spa));
286 if (bcmp(arp->arp_tpa, &d->myip, sizeof(arp->arp_tpa)))
301 bcopy(&d->myip, arp->arp_spa, sizeof(arp->arp_spa));
H A Dbootp.c157 d->myip.s_addr = INADDR_ANY;
209 myip = d->myip = rbuf.rbootp.bp_yiaddr;
215 if (IN_CLASSA(ntohl(myip.s_addr)))
217 else if (IN_CLASSB(ntohl(myip.s_addr)))
245 if (!SAMENET(myip, rootip, netmask)) {
253 if (!SAMENET(myip, gateip, netmask)) {
H A Dbootparam.c137 RPC_PRINTF(("bp_whoami: myip=%s\n", inet_ntoa(myip)));
158 if (xdr_inaddr_encode(&send_tail, myip))
/freebsd-10.3-release/sys/boot/uboot/lib/
H A Dnet.c121 if ((myip.s_addr = inet_addr(envstr)) == INADDR_NONE) {
135 if (IN_CLASSA(myip.s_addr))
137 else if (IN_CLASSB(myip.s_addr))
176 if (!SAMENET(myip, rootip, netmask)) {
331 if (myip.s_addr != 0)
332 desc->myip = myip;
/freebsd-10.3-release/sys/boot/common/
H A Ddev_net.c169 setenv("boot.netif.ip", inet_ntoa(myip), 1);
266 if (myip.s_addr != 0)
282 printf("net_open: client addr: %s\n", inet_ntoa(myip));
/freebsd-10.3-release/tools/tools/net80211/wesside/wesside/
H A Dwesside.c124 unsigned char myip[16] = "192.168.0.123"; variable
800 inet_aton(myip, &ih->ip_dst);
1525 strcpy(myip, netip);
1527 ptr = strchr(myip, '.');
1535 time_print("My IP=(%s)\n", myip);
1762 mymac, myip,
1871 do_arp(ptr, ARPOP_REQUEST, mymac, myip,
1905 inet_aton(myip, &ih->ip_src);
2050 send_arp(tx, ARPOP_REQUEST, myip, mymac,
2067 send_arp(tx, ARPOP_REQUEST, myip, myma
[all...]
/freebsd-10.3-release/sys/boot/i386/libi386/
H A Dpxe.c308 setenv("boot.netif.ip", inet_ntoa(myip), 1);
646 if (netmask == 0 || SAMENET(myip, h->destip, netmask))
675 udpread_p->dest_ip = h->myip.s_addr;
/freebsd-10.3-release/contrib/libpcap/
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 278 milliseconds