Lines Matching refs:appl
517 const struct mrp_application *appl, in mrp_request_join() argument
522 port->applicants[appl->type]); in mrp_request_join()
542 const struct mrp_application *appl, in mrp_request_leave() argument
547 port->applicants[appl->type]); in mrp_request_leave()
769 struct mrp_application *appl = container_of(pt, struct mrp_application, in mrp_rcv() local
788 app = rcu_dereference(port->applicants[appl->type]); in mrp_rcv()
837 int mrp_init_applicant(struct net_device *dev, struct mrp_application *appl) in mrp_init_applicant() argument
855 err = dev_mc_add(dev, appl->group_address); in mrp_init_applicant()
860 app->app = appl; in mrp_init_applicant()
864 rcu_assign_pointer(dev->mrp_port->applicants[appl->type], app); in mrp_init_applicant()
880 void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *appl) in mrp_uninit_applicant() argument
884 port->applicants[appl->type]); in mrp_uninit_applicant()
888 RCU_INIT_POINTER(port->applicants[appl->type], NULL); in mrp_uninit_applicant()
903 dev_mc_del(dev, appl->group_address); in mrp_uninit_applicant()
909 int mrp_register_application(struct mrp_application *appl) in mrp_register_application() argument
911 appl->pkttype.func = mrp_rcv; in mrp_register_application()
912 dev_add_pack(&appl->pkttype); in mrp_register_application()
917 void mrp_unregister_application(struct mrp_application *appl) in mrp_unregister_application() argument
919 dev_remove_pack(&appl->pkttype); in mrp_unregister_application()