Searched refs:myip (Results 1 – 11 of 11) sorted by relevance
/dragonfly/stand/lib/ |
H A 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()
|
H A D | bootp.c | 141 d->myip.s_addr = INADDR_ANY; in bootp() 193 myip = d->myip = rbuf.rbootp.bp_yiaddr; in bootp() 199 if (IN_CLASSA(ntohl(myip.s_addr))) in bootp() 201 else if (IN_CLASSB(ntohl(myip.s_addr))) in bootp() 229 if (!SAMENET(myip, rootip, netmask)) { in bootp() 237 if (!SAMENET(myip, gateip, netmask)) { in bootp()
|
H A D | udp.c | 72 inet_ntoa(d->myip), ntohs(d->myport)); in sendudp() 90 ip->ip_src = d->myip; in sendudp() 199 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) { in readudp() 202 printf("readudp: bad saddr %s != ", inet_ntoa(d->myip)); in readudp()
|
H A D | arp.c | 114 bcopy(&d->myip, ah->arp_spa, sizeof(ah->arp_spa)); in arpwhohas() 276 if (bcmp(arp->arp_tpa, &d->myip, sizeof(arp->arp_tpa))) in arp_reply() 291 bcopy(&d->myip, arp->arp_spa, sizeof(arp->arp_spa)); in arp_reply()
|
H A D | iodesc.h | 42 struct in_addr myip; /* local ip addr, net order */ member
|
H A D | globals.c | 26 struct in_addr myip; /* my ip address */ variable
|
H A D | bootparam.c | 135 RPC_PRINTF(("bp_whoami: myip=%s\n", inet_ntoa(myip))); in bp_whoami() 156 if (xdr_inaddr_encode(&send_tail, myip)) in bp_whoami()
|
H A D | net.h | 83 extern struct in_addr myip;
|
/dragonfly/stand/boot/common/ |
H A D | dev_net.c | 225 if (myip.s_addr != 0) in net_getparams() 239 printf("net_open: client addr: %s\n", inet_ntoa(myip)); in net_getparams() 290 setenv("boot.netif.ip", inet_ntoa(myip), 1); in net_getparams()
|
/dragonfly/stand/boot/pc32/libi386/ |
H A D | pxe.c | 301 printf("pxe_open: ip address : %s\n", inet_ntoa(myip)); in pxe_open() 306 setenv("boot.netif.ip", inet_ntoa(myip), 1); in pxe_open() 316 bootplayer.yip != myip.s_addr) { in pxe_open() 603 if (netmask == 0 || SAMENET(myip, h->destip, netmask)) in sendudp() 643 udpread_p->dest_ip = h->myip.s_addr; in readudp() 667 if (udpread_p->dest_ip != h->myip.s_addr && in readudp()
|
/dragonfly/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 132 unsigned char myip[16] = "192.168.0.123"; variable 808 inet_aton(myip, &ih->ip_dst); in calculate_inet_clear() 1533 strcpy(myip, netip); in got_wep() 1535 ptr = strchr(myip, '.'); in got_wep() 1543 time_print("My IP=(%s)\n", myip); in got_wep() 1769 mymac, myip, in prepare_fragstate() 1878 do_arp(ptr, ARPOP_REQUEST, mymac, myip, in flood_inet() 1912 inet_aton(myip, &ih->ip_src); in flood_inet() 2057 send_arp(tx, ARPOP_REQUEST, myip, mymac, in can_write() 2771 strncpy(myip, optarg, sizeof(myip)-1); [all …]
|