Lines Matching defs:ifnet
289 TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
349 struct ifnet {
352 TAILQ_ENTRY(ifnet) if_link; /* all struct ifnets are chained */
478 void (*ifc_destroy)(struct ifnet *);
566 struct ifnet *ifa_ifp; /* back-pointer to interface */
595 struct ifnet *ifpr_ifp; /* back-pointer to interface */
615 struct ifnet *ifma_ifp; /* back-pointer to interface */
629 * ifnet_head to ifnet. This should be temp.
631 #define ifnet_head ifnet
633 extern struct ifnet **ifindex2ifnet;
639 int if_addmulti(struct ifnet *, const struct sockaddr *, struct ifmultiaddr **);
640 int if_allmulti(struct ifnet *, int);
641 void if_attach(struct ifnet *);
643 int if_delmulti(struct ifnet *, const struct sockaddr *);
644 void if_down(struct ifnet *);
646 void if_route(struct ifnet *, int flag, int fam);
647 void if_unroute(struct ifnet *, int flag, int fam);
648 void if_up(struct ifnet *);
649 void if_updown(struct ifnet *ifp, int up);
653 struct ifnet *ifunit(const char *);
654 struct ifnet *if_withname(struct sockaddr *);
659 void ifnet_lock_assert(struct ifnet *ifp, int what);
660 void ifnet_lock_shared(struct ifnet *ifp);
661 void ifnet_lock_exclusive(struct ifnet *ifp);
662 void ifnet_lock_done(struct ifnet *ifp);
668 void if_attach_ifa(struct ifnet * ifp, struct ifaddr *ifa);
669 void if_detach_ifa(struct ifnet * ifp, struct ifaddr *ifa);
683 struct ifaddr *ifaof_ifpforaddr(const struct sockaddr *, struct ifnet *);
684 struct ifaddr *ifa_ifpgetprimary(struct ifnet *, int);
688 struct ifmultiaddr *ifmaof_ifpforaddr(const struct sockaddr *, struct ifnet *);
698 int ifp_use(struct ifnet *ifp, int handle_zero);
699 int ifp_unuse(struct ifnet *ifp);
700 void ifp_use_reached_zero(struct ifnet *ifp);
702 void if_data_internal_to_if_data(struct ifnet *ifp, const struct if_data_internal *if_data_int,
704 void if_data_internal_to_if_data64(struct ifnet *ifp, const struct if_data_internal *if_data_int,