Lines Matching defs:reqp
313 struct ifbreq *reqp;
316 char buf[sizeof(reqp->ifbr_ifsname) + 1], *inbuf = NULL, *inb;
330 if (bifc.ifbic_len + sizeof(*reqp) < len)
334 for (i = 0; i < bifc.ifbic_len / sizeof(*reqp); i++) {
335 reqp = bifc.ifbic_req + i;
336 strlcpy(buf, reqp->ifbr_ifsname, sizeof(buf));
338 printb("flags", reqp->ifbr_ifsflags, IFBIFBITS);
340 if (reqp->ifbr_ifsflags & IFBIF_SPAN)
344 reqp->ifbr_portno, reqp->ifbr_priority,
345 reqp->ifbr_path_cost);
346 if (reqp->ifbr_protected) {
349 v = ffs(reqp->ifbr_protected);
352 if ((1 << (v - 1)) & reqp->ifbr_protected)
356 if (reqp->ifbr_ifsflags & IFBIF_STP)
358 stpstates[reqp->ifbr_state],
359 stproles[reqp->ifbr_role]);