Lines Matching defs:ifgr
495 struct ifgroupreq *ifgr)
499 memset(ifgr, 0, sizeof(*ifgr));
500 strlcpy(ifgr->ifgr_name, name, IFNAMSIZ);
502 if (ifconfig_ioctlwrap(h, AF_LOCAL, SIOCGIFGROUP, ifgr) == -1) {
511 len = ifgr->ifgr_len;
512 ifgr->ifgr_groups = (struct ifg_req *)malloc(len);
513 if (ifgr->ifgr_groups == NULL) {
518 bzero(ifgr->ifgr_groups, len);
519 if (ifconfig_ioctlwrap(h, AF_LOCAL, SIOCGIFGROUP, ifgr) == -1) {