Searched refs:baconf (Results 1 – 2 of 2) sorted by relevance
613 etherbridge_rtfind(struct etherbridge *eb, struct ifbaconf *baconf) in etherbridge_rtfind() argument622 if (baconf->ifbac_len == 0) { in etherbridge_rtfind()624 baconf->ifbac_len = eb->eb_num * sizeof(bareq); in etherbridge_rtfind()628 buf = malloc(baconf->ifbac_len, M_TEMP, M_WAITOK|M_CANFAIL); in etherbridge_rtfind()636 if (nlen > baconf->ifbac_len) in etherbridge_rtfind()664 nlen = baconf->ifbac_len; in etherbridge_rtfind()665 baconf->ifbac_len = eb->eb_num * sizeof(bareq); in etherbridge_rtfind()668 error = copyout(buf, baconf->ifbac_buf, len); in etherbridge_rtfind()
486 bridge_rtfind(struct bridge_softc *sc, struct ifbaconf *baconf) in bridge_rtfind() argument500 if (baconf->ifbac_len == 0) { in bridge_rtfind()505 total = MIN(total, baconf->ifbac_len / sizeof(*bareqs)); in bridge_rtfind()541 error = copyout(bareqs, baconf->ifbac_req, i * sizeof(*bareqs)); in bridge_rtfind()544 baconf->ifbac_len = i * sizeof(*bareqs); in bridge_rtfind()