Searched refs:mynet (Results 1 – 1 of 1) sorted by relevance
55 static struct in_addr mynet; /* net-order netaddr */ variable478 mynet.s_addr = netmask.s_addr & myip.s_addr; /* implicit */ in ipv4_setnetmask()485 if (mynet.s_addr != 0) in ipv4_getnetid()486 my_netid->s_addr = ntohl(mynet.s_addr); in ipv4_getnetid()756 ipdst.s_addr != (mynet.s_addr | ~netmask.s_addr) && in ipv4_input()1028 iphp->ip_dst.s_addr == (mynet.s_addr | ~netmask.s_addr))) { in ipv4_output()1034 ((iphp->ip_dst.s_addr & netmask.s_addr) != mynet.s_addr)) { in ipv4_output()1085 ((iph->ip_dst.s_addr & netmask.s_addr) != mynet.s_addr)) { in ipv4_tcp_output()