Lines Matching defs:ifaddr

90 CK_STAILQ_HEAD(ifaddrhead, ifaddr);	/* instantiation is preserved in the list */
355 typedef void (*ifaddr_event_ext_handler_t)(void *, if_t, struct ifaddr *, int);
421 * The ifaddr structure contains information about one address
426 * NOTE: a 'struct ifaddr' is always at the beginning of a larger
430 struct ifaddr {
437 CK_STAILQ_ENTRY(ifaddr) ifa_link; /* queue macro glue */
450 struct ifaddr * ifa_alloc(size_t size, int flags);
451 void ifa_free(struct ifaddr *ifa);
452 void ifa_ref(struct ifaddr *ifa);
453 int __result_use_check ifa_try_ref(struct ifaddr *ifa);
456 * Multicast address structure. This is analogous to the ifaddr
544 int ifa_add_loopback_route(struct ifaddr *, struct sockaddr *);
545 int ifa_del_loopback_route(struct ifaddr *, struct sockaddr *);
546 int ifa_switch_loopback_route(struct ifaddr *, struct sockaddr *);
548 struct ifaddr *ifa_ifwithaddr(const struct sockaddr *);
550 struct ifaddr *ifa_ifwithbroadaddr(const struct sockaddr *, int);
551 struct ifaddr *ifa_ifwithdstaddr(const struct sockaddr *, int);
552 struct ifaddr *ifa_ifwithnet(const struct sockaddr *, int, int);
553 struct ifaddr *ifa_ifwithroute(int, const struct sockaddr *,
555 struct ifaddr *ifaof_ifpforaddr(const struct sockaddr *, if_t);
556 int ifa_preferred(struct ifaddr *, struct ifaddr *);
678 struct ifaddr * if_getifaddr(const if_t ifp);
679 typedef u_int if_addr_cb_t(void *, struct ifaddr *, u_int);
700 struct ifaddr *ifa_iter_start(if_t ifp, struct ifa_iter *iter);
701 struct ifaddr *ifa_iter_next(struct ifa_iter *iter);