Home | History | Annotate | Download | only in net

Lines Matching defs:ifmedia

917  * The ifmedia is protected by a lock provided by the interface
918 * driver. All ifmedia API entry points (with the exception of one)
933 struct ifmedia {
963 void ifmedia_lock_for_legacy(struct ifmedia *);
964 void ifmedia_unlock_for_legacy(struct ifmedia *);
980 void ifmedia_init(struct ifmedia *, int, ifm_change_cb_t, ifm_stat_cb_t);
981 void ifmedia_init_with_lock(struct ifmedia *, int, ifm_change_cb_t,
984 /* Release resources associated with an ifmedia. */
985 void ifmedia_fini(struct ifmedia *);
988 /* Add one supported medium to a struct ifmedia. */
989 void ifmedia_add(struct ifmedia *, int, int, void *);
991 /* Add an array (of ifmedia_entry) media to a struct ifmedia. */
992 void ifmedia_list_add(struct ifmedia *, struct ifmedia_entry *, int);
995 void ifmedia_set(struct ifmedia *ifm, int mword);
998 int ifmedia_ioctl(struct ifnet *, struct ifreq *, struct ifmedia *, u_long);
1001 struct ifmedia_entry *ifmedia_match(struct ifmedia *, u_int, u_int);
1004 void ifmedia_delete_instance(struct ifmedia *, u_int);
1007 void ifmedia_removeall(struct ifmedia *);
1013 * This is a thin wrapper around the ifmedia "change" callback that
1017 * IFMEDIA must be LOCKED.
1019 int ifmedia_change(struct ifmedia *, struct ifnet *);