| 1929 | } |
| 1930 | |
| 1931 | int |
| 1932 | ifa_ifwithaddr_check(const struct sockaddr *addr) |
| 1933 | { |
| 1934 | struct epoch_tracker et; |
| 1935 | int rc; |
| 1936 | |
| 1937 | NET_EPOCH_ENTER(et); |
| 1938 | rc = (ifa_ifwithaddr(addr) != NULL); |
| 1939 | NET_EPOCH_EXIT(et); |
| 1940 | return (rc); |
| 1941 | } |
| 1942 | |
| 1943 | /* |
| 1944 | * Locate an interface based on the broadcast address. |
no test coverage detected