| /openbsd/src/sys/lib/libsa/ |
| D | bootp.c | 107 d->myip = myip; in bootp() 181 myip = d->myip = bp->bp_yiaddr; in bootprecv() 184 printf("our ip address is %s\n", inet_ntoa(d->myip)); in bootprecv() 186 if (IN_CLASSA(d->myip.s_addr)) in bootprecv() 188 else if (IN_CLASSB(d->myip.s_addr)) in bootprecv() 232 if (!SAMENET(d->myip, rootip, netmask)) { in bootprecv() 239 if (!SAMENET(d->myip, swapip, netmask)) { in bootprecv() 247 if (!SAMENET(d->myip, gateip, netmask)) { in bootprecv()
|
| D | rarp.c | 111 bcopy(ap->arp_tpa, (char *)&myip, sizeof(myip)); in rarp_getipaddress() 118 if (IN_CLASSA(myip.s_addr)) in rarp_getipaddress() 120 else if (IN_CLASSB(myip.s_addr)) in rarp_getipaddress() 125 d->myip = myip; in rarp_getipaddress()
|
| D | netudp.c | 74 inet_ntoa(d->myip), ntohs(d->myport)); in sendudp() 92 ip->ip_src = d->myip; in sendudp() 194 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) { in readudp() 197 printf("readudp: bad saddr %s != ", inet_ntoa(d->myip)); in readudp()
|
| D | arp.c | 115 bcopy(&d->myip, ah->arp_spa, sizeof(ah->arp_spa)); in arpwhohas() 270 if (bcmp(arp->arp_tpa, &d->myip, sizeof(arp->arp_tpa))) in arp_reply() 285 bcopy(&d->myip, arp->arp_spa, sizeof(arp->arp_spa)); in arp_reply()
|
| D | iodesc.h | 47 struct in_addr myip; /* local ip addr, net order */ member
|
| D | globals.c | 28 struct in_addr myip; /* my ip address */ variable
|
| D | bootparam.c | 126 RPC_PRINTF(("bp_whoami: myip=%s\n", inet_ntoa(myip))); in bp_whoami() 147 if (xdr_inaddr_encode(&send_tail, myip)) in bp_whoami()
|
| D | net.h | 86 extern struct in_addr myip;
|
| /openbsd/src/sys/arch/macppc/stand/ |
| D | net.c | 135 if (myip.s_addr == 0) in net_mountroot() 138 printf("Using IP address: %s\n", inet_ntoa(myip)); in net_mountroot() 141 printf("myip: %s (%s)", hostname, inet_ntoa(myip)); in net_mountroot()
|
| /openbsd/src/sys/arch/sparc64/stand/ofwboot/ |
| D | net.c | 129 printf("ip address: %s", inet_ntoa(myip)); in net_mountroot_bootparams() 149 if (myip.s_addr == 0) in net_mountroot_bootp() 153 printf("ip address: %s", inet_ntoa(myip)); in net_mountroot_bootp()
|
| /openbsd/src/sys/arch/amd64/stand/libsa/ |
| D | pxe.c | 168 ur->dest_ip = d->myip.s_addr; in pxereadudp() 437 bcopy(&bootplayer.yip, &myip.s_addr, sizeof(myip.s_addr)); in pxe_init() 441 if (IN_CLASSA(myip.s_addr)) in pxe_init() 443 else if (IN_CLASSB(myip.s_addr)) in pxe_init() 460 p = (u_int8_t *)&myip.s_addr; in pxeinfo()
|
| D | pxe_net.c | 169 if (myip.s_addr != 0) in net_getparams()
|
| /openbsd/src/sys/arch/i386/stand/libsa/ |
| D | pxe.c | 168 ur->dest_ip = d->myip.s_addr; in pxereadudp() 437 bcopy(&bootplayer.yip, &myip.s_addr, sizeof(myip.s_addr)); in pxe_init() 441 if (IN_CLASSA(myip.s_addr)) in pxe_init() 443 else if (IN_CLASSB(myip.s_addr)) in pxe_init() 460 p = (u_int8_t *)&myip.s_addr; in pxeinfo()
|
| D | pxe_net.c | 169 if (myip.s_addr != 0) in net_getparams()
|
| /openbsd/src/sys/arch/alpha/stand/netboot/ |
| D | dev_net.c | 205 if (myip.s_addr == 0) { 211 printf("boot: client addr: %s\n", inet_ntoa(myip));
|
| /openbsd/src/sys/arch/luna88k/stand/boot/ |
| D | dev_net.c | 217 if (myip.s_addr != 0) in net_getparams() 235 printf("client addr: %s\n", inet_ntoa(myip)); in net_getparams()
|
| /openbsd/src/sys/arch/armv7/stand/efiboot/ |
| D | efipxe.c | 433 memcpy(&desc->myip, &bootip, sizeof(bootip)); in efinet_init()
|
| /openbsd/src/sys/arch/riscv64/stand/efiboot/ |
| D | efipxe.c | 433 memcpy(&desc->myip, &bootip, sizeof(bootip)); in efinet_init()
|
| /openbsd/src/sys/arch/arm64/stand/efiboot/ |
| D | efipxe.c | 433 memcpy(&desc->myip, &bootip, sizeof(bootip)); in efinet_init()
|