Home
last modified time | relevance | path

Searched refs:ifnum (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/netgraph/netflow/
H A Dng_netflow.c288 int ifnum = -1; in ng_netflow_newhook() local
296 ifnum = (int)strtoul(cp, &eptr, 10); in ng_netflow_newhook()
297 if (*eptr != '\0' || ifnum < 0 || ifnum >= NG_NETFLOW_MAXIFACES) in ng_netflow_newhook()
301 if (priv->ifaces[ifnum].hook != NULL) in ng_netflow_newhook()
304 iface = &priv->ifaces[ifnum]; in ng_netflow_newhook()
320 int ifnum = -1; in ng_netflow_newhook() local
328 ifnum = (int)strtoul(cp, &eptr, 10); in ng_netflow_newhook()
329 if (*eptr != '\0' || ifnum < 0 || ifnum >= NG_NETFLOW_MAXIFACES) in ng_netflow_newhook()
333 if (priv->ifaces[ifnum].out != NULL) in ng_netflow_newhook()
336 iface = &priv->ifaces[ifnum]; in ng_netflow_newhook()
/f-stack/freebsd/mips/cavium/octe/
H A Dethernet.c304 int ifnum; in cvm_oct_init_module() local
343 ifnum = 0; in cvm_oct_init_module()
352 ifnum++, port++) { in cvm_oct_init_module()
356 dev = BUS_ADD_CHILD(bus, 0, "octe", ifnum); in cvm_oct_init_module()
431 ifnum, interface, priv->port); in cvm_oct_init_module()
435 ifnum, interface, priv->port); in cvm_oct_init_module()
/f-stack/dpdk/drivers/net/mvneta/
H A Dmvneta_ethdev.c898 uint32_t i, ifnum; in rte_pmd_mvneta_probe() local
909 ifnum = rte_kvargs_count(kvlist, MVNETA_IFACE_NAME_ARG); in rte_pmd_mvneta_probe()
910 if (ifnum > RTE_DIM(ifnames.names)) in rte_pmd_mvneta_probe()
938 for (i = 0; i < ifnum; i++) { in rte_pmd_mvneta_probe()
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.c2934 uint32_t i, ifnum, cfgnum; in rte_pmd_mrvl_probe() local
2945 ifnum = rte_kvargs_count(kvlist, MRVL_IFACE_NAME_ARG); in rte_pmd_mrvl_probe()
2946 if (ifnum > RTE_DIM(ifnames.names)) in rte_pmd_mrvl_probe()
2993 for (i = 0; i < ifnum; i++) { in rte_pmd_mrvl_probe()