| 1657 | } |
| 1658 | |
| 1659 | static struct ifg_req * |
| 1660 | ifgr_groups_get(void *ifgrp) |
| 1661 | { |
| 1662 | union ifgroupreq_union *ifgrup; |
| 1663 | |
| 1664 | ifgrup = ifgrp; |
| 1665 | #ifdef COMPAT_FREEBSD32 |
| 1666 | if (SV_CURPROC_FLAG(SV_ILP32)) |
| 1667 | return ((struct ifg_req *)(uintptr_t) |
| 1668 | ifgrup->ifgr32.ifgr_ifgru.ifgru_groups); |
| 1669 | #endif |
| 1670 | return (ifgrup->ifgr.ifgr_ifgru.ifgru_groups); |
| 1671 | } |
| 1672 | |
| 1673 | /* |
| 1674 | * Stores all groups from an interface in memory pointed to by ifgr. |
no outgoing calls
no test coverage detected