Lines Matching refs:ifaddr
90 CK_STAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
357 typedef void (*ifaddr_event_ext_handler_t)(void *, if_t, struct ifaddr *, int);
432 struct ifaddr { struct
439 CK_STAILQ_ENTRY(ifaddr) ifa_link; /* queue macro glue */ argument
452 struct ifaddr * ifa_alloc(size_t size, int flags); argument
453 void ifa_free(struct ifaddr *ifa);
454 void ifa_ref(struct ifaddr *ifa);
455 int __result_use_check ifa_try_ref(struct ifaddr *ifa);
546 int ifa_add_loopback_route(struct ifaddr *, struct sockaddr *);
547 int ifa_del_loopback_route(struct ifaddr *, struct sockaddr *);
548 int ifa_switch_loopback_route(struct ifaddr *, struct sockaddr *);
550 struct ifaddr *ifa_ifwithaddr(const struct sockaddr *);
552 struct ifaddr *ifa_ifwithbroadaddr(const struct sockaddr *, int);
553 struct ifaddr *ifa_ifwithdstaddr(const struct sockaddr *, int);
554 struct ifaddr *ifa_ifwithnet(const struct sockaddr *, int, int);
555 struct ifaddr *ifa_ifwithroute(int, const struct sockaddr *,
557 struct ifaddr *ifaof_ifpforaddr(const struct sockaddr *, if_t);
558 int ifa_preferred(struct ifaddr *, struct ifaddr *);
680 struct ifaddr * if_getifaddr(const if_t ifp);
681 typedef u_int if_addr_cb_t(void *, struct ifaddr *, u_int);
702 struct ifaddr *ifa_iter_start(if_t ifp, struct ifa_iter *iter);
703 struct ifaddr *ifa_iter_next(struct ifa_iter *iter);