Lines Matching refs:appl
530 const struct mrp_application *appl, in mrp_request_join() argument
535 port->applicants[appl->type]); in mrp_request_join()
555 const struct mrp_application *appl, in mrp_request_leave() argument
560 port->applicants[appl->type]); in mrp_request_leave()
786 struct mrp_application *appl = container_of(pt, struct mrp_application, in mrp_rcv() local
805 app = rcu_dereference(port->applicants[appl->type]); in mrp_rcv()
854 int mrp_init_applicant(struct net_device *dev, struct mrp_application *appl) in mrp_init_applicant() argument
872 err = dev_mc_add(dev, appl->group_address); in mrp_init_applicant()
877 app->app = appl; in mrp_init_applicant()
882 rcu_assign_pointer(dev->mrp_port->applicants[appl->type], app); in mrp_init_applicant()
898 void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *appl) in mrp_uninit_applicant() argument
902 port->applicants[appl->type]); in mrp_uninit_applicant()
906 RCU_INIT_POINTER(port->applicants[appl->type], NULL); in mrp_uninit_applicant()
925 dev_mc_del(dev, appl->group_address); in mrp_uninit_applicant()
931 int mrp_register_application(struct mrp_application *appl) in mrp_register_application() argument
933 appl->pkttype.func = mrp_rcv; in mrp_register_application()
934 dev_add_pack(&appl->pkttype); in mrp_register_application()
939 void mrp_unregister_application(struct mrp_application *appl) in mrp_unregister_application() argument
941 dev_remove_pack(&appl->pkttype); in mrp_unregister_application()