Searched refs:myip (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/boot/libsa/ |
H A D | rarp.c | 106 bcopy(ap->arp_tpa, (char *)&myip, sizeof(myip)); in rarp_getipaddress() 114 if (IN_CLASSA(myip.s_addr)) in rarp_getipaddress() 116 else if (IN_CLASSB(myip.s_addr)) in rarp_getipaddress() 121 d->myip = myip; in rarp_getipaddress()
|
H A D | bootp.c | 168 d->myip.s_addr = INADDR_ANY; in bootp() 211 myip = d->myip = rbootp->bp_yiaddr; in bootp() 219 if (IN_CLASSA(ntohl(myip.s_addr))) in bootp() 221 else if (IN_CLASSB(ntohl(myip.s_addr))) in bootp() 237 if (!SAMENET(myip, rootip, netmask)) { in bootp() 245 if (!SAMENET(myip, gateip, netmask)) { in bootp()
|
H A D | ip.c | 99 inet_ntoa(d->myip), ntohs(d->myport)); in sendip() 116 ip->ip_src = d->myip; in sendip() 261 if (d->myip.s_addr && ip->ip_dst.s_addr != d->myip.s_addr) { in readipv4() 264 printf("readip: bad saddr %s != ", inet_ntoa(d->myip)); in readipv4()
|
H A D | arp.c | 109 bcopy(&d->myip, ah->arp_spa, sizeof (ah->arp_spa)); in arpwhohas() 275 if (bcmp(arp->arp_tpa, &d->myip, sizeof (arp->arp_tpa))) in arp_reply() 290 bcopy(&d->myip, arp->arp_spa, sizeof (arp->arp_spa)); in arp_reply()
|
H A D | udp.c | 71 inet_ntoa(d->myip), ntohs(d->myport)); in sendudp() 90 ui->ui_src = d->myip; in sendudp()
|
H A D | iodesc.h | 44 struct in_addr myip; /* local ip addr, net order */ member
|
H A D | globals.c | 29 struct in_addr myip; /* my ip address */ variable
|
H A D | bootparam.c | 132 RPC_PRINTF(("bp_whoami: myip=%s\n", inet_ntoa(myip))); in bp_whoami() 153 if (xdr_inaddr_encode(&send_tail, myip)) in bp_whoami()
|
H A D | netif.c | 364 bzero(&s->myip, sizeof (s->myip)); in netif_close()
|
H A D | net.h | 85 extern struct in_addr myip;
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ipv4.c | 54 static struct in_addr myip; /* our network-order IP addr */ variable 457 myip.s_addr = htonl(ip->s_addr); in ipv4_setipaddr() 466 ip->s_addr = ntohl(myip.s_addr); in ipv4_getipaddr() 478 mynet.s_addr = netmask.s_addr & myip.s_addr; /* implicit */ in ipv4_setnetmask() 489 my_netid->s_addr = my_netmask.s_addr & ntohl(myip.s_addr); in ipv4_getnetid() 503 if (netmask_set || (myip.s_addr == 0)) in ipv4_getnetmask() 507 if (IN_CLASSA(ntohl(myip.s_addr))) in ipv4_getnetmask() 509 else if (IN_CLASSB(ntohl(myip.s_addr))) in ipv4_getnetmask() 511 else if (IN_CLASSC(ntohl(myip.s_addr))) in ipv4_getnetmask() 757 ipdst.s_addr != myip.s_addr) { in ipv4_input() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | dev_net.c | 178 setenv("boot.netif.ip", inet_ntoa(myip), 1); in net_open() 262 if (myip.s_addr != 0) in net_getparams() 277 printf("%s: client addr: %s\n", __func__, inet_ntoa(myip)); in net_getparams()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_ep.c | 827 ipaddr_t myip, remip; in rds_failover_session() local 873 myip = sp->session_myip; in rds_failover_session() 875 ret = rds_sc_path_lookup(&myip, &remip); in rds_failover_session() 878 myip, remip); in rds_failover_session() 891 ipattr.ipa_src_ip.un.ip4addr = myip; in rds_failover_session() 895 myip, remip); in rds_failover_session()
|