Lines Matching refs:appl
520 const struct mrp_application *appl, in mrp_request_join() argument
525 port->applicants[appl->type]); in mrp_request_join()
545 const struct mrp_application *appl, in mrp_request_leave() argument
550 port->applicants[appl->type]); in mrp_request_leave()
772 struct mrp_application *appl = container_of(pt, struct mrp_application, in mrp_rcv() local
791 app = rcu_dereference(port->applicants[appl->type]); in mrp_rcv()
840 int mrp_init_applicant(struct net_device *dev, struct mrp_application *appl) in mrp_init_applicant() argument
858 err = dev_mc_add(dev, appl->group_address); in mrp_init_applicant()
863 app->app = appl; in mrp_init_applicant()
867 rcu_assign_pointer(dev->mrp_port->applicants[appl->type], app); in mrp_init_applicant()
883 void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *appl) in mrp_uninit_applicant() argument
887 port->applicants[appl->type]); in mrp_uninit_applicant()
891 RCU_INIT_POINTER(port->applicants[appl->type], NULL); in mrp_uninit_applicant()
906 dev_mc_del(dev, appl->group_address); in mrp_uninit_applicant()
912 int mrp_register_application(struct mrp_application *appl) in mrp_register_application() argument
914 appl->pkttype.func = mrp_rcv; in mrp_register_application()
915 dev_add_pack(&appl->pkttype); in mrp_register_application()
920 void mrp_unregister_application(struct mrp_application *appl) in mrp_unregister_application() argument
922 dev_remove_pack(&appl->pkttype); in mrp_unregister_application()