* Get the family descriptor from the hook */
| 233 | * Get the family descriptor from the hook |
| 234 | */ |
| 235 | static __inline iffam_p |
| 236 | get_iffam_from_hook(priv_p priv, hook_p hook) |
| 237 | { |
| 238 | int k; |
| 239 | |
| 240 | for (k = 0; k < NUM_FAMILIES; k++) |
| 241 | if (priv->hooks[k] == hook) |
| 242 | return (&gFamilies[k]); |
| 243 | return (NULL); |
| 244 | } |
| 245 | |
| 246 | /* |
| 247 | * Get the hook from the iffam descriptor |
no outgoing calls
no test coverage detected