Searched refs:nmport_key (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libnetmap/ |
H A D | nmport.c | 359 #define nmport_key(p, o, k) ((p)->keys[NPKEY_ID(o, k)]) macro 417 if (nmport_extmem_from_file(d, nmport_key(p, extmem, file)) < 0) in NPOPT_PARSER() 454 if (nmport_key(p, conf, rings) != NULL) { in NPOPT_PARSER() 455 uint16_t nr_rings = atoi(nmport_key(p, conf, rings)); in NPOPT_PARSER() 459 if (nmport_key(p, conf, host_rings) != NULL) { in NPOPT_PARSER() 460 uint16_t nr_rings = atoi(nmport_key(p, conf, host_rings)); in NPOPT_PARSER() 464 if (nmport_key(p, conf, slots) != NULL) { in NPOPT_PARSER() 465 uint32_t nr_slots = atoi(nmport_key(p, conf, slots)); in NPOPT_PARSER() 469 if (nmport_key(p, conf, tx_rings) != NULL) { in NPOPT_PARSER() 470 d->reg.nr_tx_rings = atoi(nmport_key(p, conf, tx_rings)); in NPOPT_PARSER() [all …]
|