/openbsd-current/sys/lib/libsa/ |
H A D | iodesc.h | 47 struct in_addr myip; /* local ip addr, net order */ member in struct:iodesc
|
H A D | globals.c | 28 struct in_addr myip; /* my ip address */ variable in typeref:struct:in_addr
|
H A D | bootp.c | 107 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 D | rarp.c | 111 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 D | netudp.c | 74 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 D | net.h | 86 extern struct in_addr myip;
|
H A D | arp.c | 115 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 D | bootparam.c | 126 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 D | net.c | 135 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 D | net.c | 129 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 D | pxe.c | 168 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 D | pxe_net.c | 169 if (myip.s_addr != 0)
|
/openbsd-current/sys/arch/amd64/stand/libsa/ |
H A D | pxe.c | 168 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 D | pxe_net.c | 169 if (myip.s_addr != 0)
|
/openbsd-current/sys/arch/luna88k/stand/boot/ |
H A D | dev_net.c | 217 if (myip.s_addr != 0) 235 printf("client addr: %s\n", inet_ntoa(myip));
|
/openbsd-current/sys/arch/alpha/stand/netboot/ |
H A D | dev_net.c | 205 if (myip.s_addr == 0) { 211 printf("boot: client addr: %s\n", inet_ntoa(myip));
|
/openbsd-current/sys/arch/arm64/stand/efiboot/ |
H A D | efipxe.c | 433 memcpy(&desc->myip, &bootip, sizeof(bootip));
|
/openbsd-current/sys/arch/armv7/stand/efiboot/ |
H A D | efipxe.c | 433 memcpy(&desc->myip, &bootip, sizeof(bootip));
|
/openbsd-current/sys/arch/riscv64/stand/efiboot/ |
H A D | efipxe.c | 433 memcpy(&desc->myip, &bootip, sizeof(bootip));
|