Lines Matching defs:eth
493 char eth[128], *veth;
509 if (strlen(n->name) >= sizeof(eth))
511 strncpy(eth, n->name, sizeof(eth));
513 ret = snprintf(eth, sizeof(eth), "eth%d", netnr);
514 if (ret < 0 || ret >= sizeof(eth))
528 ret = snprintf(buf, sizeof(buf), fmt, eth, veth, n->link);
535 ret = snprintf(buf, sizeof(buf), fmt, eth, veth);
546 ret = snprintf(buf, sizeof(buf), "macvlan[%s]:%s", eth, n->link);