Home
last modified time | relevance | path

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

/titanic_44/usr/src/stand/lib/inet/
H A Dipv4.c56 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 …]
/titanic_44/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ep.c827 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()