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

/openbsd-current/sys/lib/libsa/
H A Diodesc.h47 struct in_addr myip; /* local ip addr, net order */ member in struct:iodesc
H A Dglobals.c28 struct in_addr myip; /* my ip address */ variable in typeref:struct:in_addr
H A Dbootp.c107 d->myip = myip;
181 myip = d->myip = bp->bp_yiaddr;
184 printf("our ip address is %s\n", inet_ntoa(d->myip));
186 if (IN_CLASSA(d->myip.s_addr))
188 else if (IN_CLASSB(d->myip.s_addr))
232 if (!SAMENET(d->myip, rootip, netmask)) {
239 if (!SAMENET(d->myip, swapip, netmask)) {
247 if (!SAMENET(d->myip, gatei
[all...]
H A Drarp.c111 bcopy(ap->arp_tpa, (char *)&myip, sizeof(myip));
118 if (IN_CLASSA(myip.s_addr))
120 else if (IN_CLASSB(myip.s_addr))
125 d->myip = myip;
H A Dnetudp.c74 inet_ntoa(d->myip), ntohs(d->myport));
92 ip->ip_src = d->myip;
194 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) {
197 printf("readudp: bad saddr %s != ", inet_ntoa(d->myip));
H A Dnet.h86 extern struct in_addr myip;
H A Darp.c115 bcopy(&d->myip, ah->arp_spa, sizeof(ah->arp_spa));
270 if (bcmp(arp->arp_tpa, &d->myip, sizeof(arp->arp_tpa)))
285 bcopy(&d->myip, arp->arp_spa, sizeof(arp->arp_spa));
H A Dbootparam.c126 RPC_PRINTF(("bp_whoami: myip=%s\n", inet_ntoa(myip)));
147 if (xdr_inaddr_encode(&send_tail, myip))
/openbsd-current/sys/arch/macppc/stand/
H A Dnet.c135 if (myip.s_addr == 0)
138 printf("Using IP address: %s\n", inet_ntoa(myip));
141 printf("myip: %s (%s)", hostname, inet_ntoa(myip));
/openbsd-current/sys/arch/sparc64/stand/ofwboot/
H A Dnet.c129 printf("ip address: %s", inet_ntoa(myip));
149 if (myip.s_addr == 0)
153 printf("ip address: %s", inet_ntoa(myip));
/openbsd-current/sys/arch/i386/stand/libsa/
H A Dpxe.c168 ur->dest_ip = d->myip.s_addr;
437 bcopy(&bootplayer.yip, &myip.s_addr, sizeof(myip.s_addr));
441 if (IN_CLASSA(myip.s_addr))
443 else if (IN_CLASSB(myip.s_addr))
460 p = (u_int8_t *)&myip.s_addr;
H A Dpxe_net.c169 if (myip.s_addr != 0)
/openbsd-current/sys/arch/amd64/stand/libsa/
H A Dpxe.c168 ur->dest_ip = d->myip.s_addr;
437 bcopy(&bootplayer.yip, &myip.s_addr, sizeof(myip.s_addr));
441 if (IN_CLASSA(myip.s_addr))
443 else if (IN_CLASSB(myip.s_addr))
460 p = (u_int8_t *)&myip.s_addr;
H A Dpxe_net.c169 if (myip.s_addr != 0)
/openbsd-current/sys/arch/luna88k/stand/boot/
H A Ddev_net.c217 if (myip.s_addr != 0)
235 printf("client addr: %s\n", inet_ntoa(myip));
/openbsd-current/sys/arch/alpha/stand/netboot/
H A Ddev_net.c205 if (myip.s_addr == 0) {
211 printf("boot: client addr: %s\n", inet_ntoa(myip));
/openbsd-current/sys/arch/arm64/stand/efiboot/
H A Defipxe.c433 memcpy(&desc->myip, &bootip, sizeof(bootip));
/openbsd-current/sys/arch/armv7/stand/efiboot/
H A Defipxe.c433 memcpy(&desc->myip, &bootip, sizeof(bootip));
/openbsd-current/sys/arch/riscv64/stand/efiboot/
H A Defipxe.c433 memcpy(&desc->myip, &bootip, sizeof(bootip));

Completed in 219 milliseconds