/src/sys/net/lagg/ |
if_lagg.h | 101 size_t maxports; member in struct:laggreq_lacp
|
if_lagg_lacp.c | 797 rplacp->maxports = lsc->lsc_max_ports; 939 size_t maxports; local in function:lacp_ioctl 973 maxports = (rplacp->command == LAGGIOC_LACPSETMAXPORTS) ? 974 rplacp->maxports : LACP_MAX_PORTS; 975 if (0 == maxports || LACP_MAX_PORTS < maxports) { 981 if (lsc->lsc_max_ports != maxports) { 982 lsc->lsc_max_ports = maxports;
|
/src/sys/dev/virtio/ |
viocon.c | 199 int maxports = 1; local in function:viocon_attach 209 sc->sc_max_ports = maxports; 210 nvqs = VIOCON_PORT_NQS * maxports; 214 sc->sc_ports = kmem_zalloc(maxports * sizeof(sc->sc_ports[0]), 235 kmem_free(sc->sc_ports, maxports * sizeof(sc->sc_ports[0]));
|
/src/sbin/ifconfig/ |
lagg.c | 123 "lagg-lacp-maxports", 1, UINT32_MAX, 10, 152 , {.k_word = "maxports", .k_nextparser = &lagglacpmaxports.pi_parser} 153 , {.k_word = "-maxports", .k_key = "lacpmaxports", 549 lrq_lacp->maxports = (size_t)v; 621 "\t\t[ maxports n | -maxports ] [ optimistic | -optimistic ] ]\n"); 652 lacp->maxports, str);
|
/src/tests/net/if_lagg/ |
t_lagg.sh | 974 $atf_ifconfig lagg0 lagglacp maxports 2
|