Home
last modified time | relevance | path

Searched refs:metstr (Results 1 – 3 of 3) sorted by relevance

/dports/net/zerotier/ZeroTierOne-1.8.3/osdep/
H A DBSDEthernetTap.cpp80 char devpath[64],ethaddr[64],mtustr[32],metstr[32],tmpdevname[32]; in BSDEthernetTap() local
169 OSUtils::ztsnprintf(metstr,sizeof(metstr),"%u",_metric); in BSDEthernetTap()
173 …DEBUG: ifconfig %s lladdr %s mtu %s metric %s up" ZT_EOL_S, _dev.c_str(), ethaddr, mtustr, metstr); in BSDEthernetTap()
175 …ig","/sbin/ifconfig",_dev.c_str(),"lladdr",ethaddr,"mtu",mtustr,"metric",metstr,"up",(const char *… in BSDEthernetTap()
H A DNetBSDEthernetTap.cpp86 char devpath[64],ethaddr[64],mtustr[32],metstr[32],tmpdevname[32]; in NetBSDEthernetTap() local
149 Utils::snprintf(metstr,sizeof(metstr),"%u",_metric); in NetBSDEthernetTap()
152 …nfig","/sbin/ifconfig",_dev.c_str(),"link",ethaddr,"mtu",mtustr,"metric",metstr,"up",(const char *… in NetBSDEthernetTap()
H A DMacKextEthernetTap.cpp325 char devpath[64],ethaddr[64],mtustr[32],metstr[32],nwids[32]; in MacKextEthernetTap() local
407 OSUtils::ztsnprintf(metstr,sizeof(metstr),"%u",_metric); in MacKextEthernetTap()
410 …ig","/sbin/ifconfig",_dev.c_str(),"lladdr",ethaddr,"mtu",mtustr,"metric",metstr,"up",(const char *… in MacKextEthernetTap()