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

/illumos-gate/usr/src/boot/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))
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dnet.c131 if ((myip.s_addr = inet_addr(envstr)) == INADDR_NONE) {
145 if (IN_CLASSA(myip.s_addr))
147 else if (IN_CLASSB(myip.s_addr))
183 if (!SAMENET(myip, rootip, netmask)) {
338 if (myip.s_addr != 0)
339 desc->myip = myip;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Ddev_net.c167 setenv("boot.netif.ip", inet_ntoa(myip), 1);
264 if (myip.s_addr != 0)
280 printf("net_open: client addr: %s\n", inet_ntoa(myip));
/illumos-gate/usr/src/stand/lib/inet/
H A Dipv4.c56 static struct in_addr myip; /* our network-order IP addr */ variable in typeref:struct:in_addr
457 myip.s_addr = htonl(ip->s_addr);
466 ip->s_addr = ntohl(myip.s_addr);
478 mynet.s_addr = netmask.s_addr & myip.s_addr; /* implicit */
489 my_netid->s_addr = my_netmask.s_addr & ntohl(myip.s_addr);
503 if (netmask_set || (myip.s_addr == 0))
507 if (IN_CLASSA(ntohl(myip.s_addr)))
509 else if (IN_CLASSB(ntohl(myip.s_addr)))
511 else if (IN_CLASSC(ntohl(myip.s_addr)))
757 ipdst.s_addr != myip
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dpxe.c305 setenv("boot.netif.ip", inet_ntoa(myip), 1);
325 setenv("pxeboot.ip", inet_ntoa(myip), 1);
660 if (netmask == 0 || SAMENET(myip, h->destip, netmask))
689 udpread_p->dest_ip = h->myip.s_addr;
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ep.c827 ipaddr_t myip, remip; local
873 myip = sp->session_myip;
875 ret = rds_sc_path_lookup(&myip, &remip);
878 myip, remip);
891 ipattr.ipa_src_ip.un.ip4addr = myip;
895 myip, remip);

Completed in 116 milliseconds