Searched refs:myip (Results 1 - 13 of 13) sorted by relevance
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | iodesc.h | 44 struct in_addr myip; /* local ip addr, net order */ member in struct:iodesc
|
H A D | rarp.c | 115 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 D | globals.c | 29 struct in_addr myip; /* my ip address */ variable in typeref:struct:in_addr
|
H A D | udp.c | 77 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 D | net.h | 80 extern struct in_addr myip;
|
H A D | arp.c | 118 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 D | bootp.c | 157 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 D | bootparam.c | 137 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 D | net.c | 131 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 D | dev_net.c | 167 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 D | ipv4.c | 56 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 D | pxe.c | 305 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 D | rdsib_ep.c | 827 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 301 milliseconds