Lines Matching defs:ifname
201 struct nmreq req; /* also contains the nr_name = ifname */
280 * ifname (netmap:foo or vale:foo) is the port name
294 * req provides the initial values of nmreq before parsing ifname.
295 * Remember that the ifname parsing will override the ring
304 static struct nm_desc *nm_open(const char *ifname, const struct nmreq *req,
354 nm_open(const char *ifname, const struct nmreq *req,
367 if (strncmp(ifname, "netmap:", 7) && strncmp(ifname, "vale", 4)) {
371 if (ifname[0] == 'n')
372 ifname += 7;
374 for (port = ifname; *port && !index("-*^{}/", *port); port++)
376 namelen = port - ifname;
488 /* these fields are overridden by ifname and flags processing */
491 memcpy(d->req.nr_name, ifname, namelen);
515 D("overriding ifname %s ringid 0x%x flags 0x%x",
587 D("%s tx %d .. %d %d rx %d .. %d %d", ifname,
608 D("%s %s", errmsg, ifname);