Home
last modified time | relevance | path

Searched refs:myip (Results 1 – 15 of 15) sorted by relevance

/freebsd/stand/libsa/
H A Drarp.c102 bcopy(ap->arp_tpa, (char *)&myip, sizeof(myip)); in rarp_getipaddress()
110 if (IN_CLASSA(myip.s_addr)) in rarp_getipaddress()
112 else if (IN_CLASSB(myip.s_addr)) in rarp_getipaddress()
117 d->myip = myip; in rarp_getipaddress()
H A Dbootp.c169 d->myip.s_addr = INADDR_ANY; in bootp()
214 myip = d->myip = rbootp->bp_yiaddr; in bootp()
222 if (IN_CLASSA(ntohl(myip.s_addr))) in bootp()
224 else if (IN_CLASSB(ntohl(myip.s_addr))) in bootp()
240 if (!SAMENET(myip, rootip, netmask)) { in bootp()
248 if (!SAMENET(myip, gateip, netmask)) { in bootp()
H A Dip.c97 inet_ntoa(d->myip), ntohs(d->myport)); in sendip()
114 ip->ip_src = d->myip; in sendip()
259 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) { in readipv4()
262 printf("readip: bad saddr %s != ", inet_ntoa(d->myip)); in readipv4()
H A Darp.c105 bcopy(&d->myip, ah->arp_spa, sizeof(ah->arp_spa)); in arpwhohas()
277 if (bcmp(arp->arp_tpa, &d->myip, sizeof(arp->arp_tpa))) in arp_reply()
292 bcopy(&d->myip, arp->arp_spa, sizeof(arp->arp_spa)); in arp_reply()
H A Dudp.c67 inet_ntoa(d->myip), ntohs(d->myport)); in sendudp()
86 ui->ui_src = d->myip; in sendudp()
H A Diodesc.h42 struct in_addr myip; /* local ip addr, net order */ member
H A Dglobals.c27 struct in_addr myip; /* my ip address */ variable
H A Dbootparam.c130 RPC_PRINTF(("bp_whoami: myip=%s\n", inet_ntoa(myip))); in bp_whoami()
151 if (xdr_inaddr_encode(&send_tail, myip)) in bp_whoami()
H A Dnetif.c361 bzero(&s->myip, sizeof (s->myip)); in netif_close()
H A Dnet.h87 extern struct in_addr myip;
/freebsd/stand/uboot/
H A Dnet.c128 if ((myip.s_addr = inet_addr(envstr)) == INADDR_NONE) { in get_env_net_params()
142 if (IN_CLASSA(myip.s_addr)) in get_env_net_params()
144 else if (IN_CLASSB(myip.s_addr)) in get_env_net_params()
180 if (!SAMENET(myip, rootip, netmask)) { in get_env_net_params()
337 if (myip.s_addr != 0) in net_init()
338 desc->myip = myip; in net_init()
/freebsd/stand/common/
H A Ddev_net.c174 setenv("boot.netif.ip", inet_ntoa(myip), 1); in net_open()
271 if (myip.s_addr != 0) in net_getparams()
287 printf("%s: client addr: %s\n", __func__, inet_ntoa(myip)); in net_getparams()
/freebsd/stand/efi/libefi/
H A Definet.c244 myip.s_addr = ipaddr; in efi_env_net_params()
259 printf("%s: ip=%s\n", __func__, inet_ntoa(myip)); in efi_env_net_params()
265 desc->myip = myip; in efi_env_net_params()
/freebsd/tools/tools/net80211/wesside/wesside/
H A Dwesside.c123 unsigned char myip[16] = "192.168.0.123"; variable
799 inet_aton(myip, &ih->ip_dst); in calculate_inet_clear()
1524 strcpy(myip, netip); in got_wep()
1526 ptr = strchr(myip, '.'); in got_wep()
1534 time_print("My IP=(%s)\n", myip); in got_wep()
1761 mymac, myip, in prepare_fragstate()
1870 do_arp(ptr, ARPOP_REQUEST, mymac, myip, in flood_inet()
1904 inet_aton(myip, &ih->ip_src); in flood_inet()
2049 send_arp(tx, ARPOP_REQUEST, myip, mymac, in can_write()
2066 send_arp(tx, ARPOP_REQUEST, myip, mymac, in can_write()
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-dos.c1015 static const char myip[] = "192.168.0.1"; in init_watt32() local
1018 printf ("Just guessing, using IP %s and netmask %s\n", myip, mask); in init_watt32()
1019 my_ip_addr = aton (myip); in init_watt32()