Lines Matching defs:topology
153 ifconfig_sanity_check (bool tun, in_addr_t addr, int topology)
159 if (looks_like_netmask && (topology == TOP_NET30 || topology == TOP_P2P))
160 msg (M_WARN, "WARNING: Since you are using --dev tun with a point-to-point topology, the second argument to --ifconfig must be an IP address. You are using something (%s) that looks more like a netmask. %s",
312 if (tt->type == DEV_TYPE_TAP || (tt->type == DEV_TYPE_TUN && tt->topology == TOP_SUBNET))
375 * Return true for point-to-point topology, false for subnet topology
382 if (tt->type == DEV_TYPE_TAP || (tt->type == DEV_TYPE_TUN && tt->topology == TOP_SUBNET))
401 int topology, /* one of the TOP_x values */
419 tt->topology = topology;
462 ifconfig_sanity_check (tt->type == DEV_TYPE_TUN, tt->remote_netmask, tt->topology);
481 if (tt->type == DEV_TYPE_TAP || (tt->type == DEV_TYPE_TUN && tt->topology == TOP_SUBNET))
796 if (tt->topology == TOP_SUBNET)
867 if (!tun && tt->topology == TOP_SUBNET)
901 if ( tt->topology == TOP_SUBNET )
961 if ( tt->topology == TOP_SUBNET )
1039 if (tt->topology == TOP_SUBNET)
1065 if (!tun && tt->topology == TOP_SUBNET)
1104 else if ( tt->topology == TOP_SUBNET )
1131 if (!tun && tt->topology == TOP_SUBNET)
4731 if (tt->topology == TOP_SUBNET)
4776 if (tt->topology == TOP_SUBNET)