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()
782 struct mrp_application *appl = container_of(pt, struct mrp_application, in mrp_rcv() local
801 app = rcu_dereference(port->applicants[appl->type]); in mrp_rcv()
850 int mrp_init_applicant(struct net_device *dev, struct mrp_application *appl) in mrp_init_applicant() argument
868 err = dev_mc_add(dev, appl->group_address); in mrp_init_applicant()
873 app->app = appl; in mrp_init_applicant()
877 rcu_assign_pointer(dev->mrp_port->applicants[appl->type], app); in mrp_init_applicant()
893 void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *appl) in mrp_uninit_applicant() argument
897 port->applicants[appl->type]); in mrp_uninit_applicant()
901 RCU_INIT_POINTER(port->applicants[appl->type], NULL); in mrp_uninit_applicant()
917 dev_mc_del(dev, appl->group_address); in mrp_uninit_applicant()
923 int mrp_register_application(struct mrp_application *appl) in mrp_register_application() argument
925 appl->pkttype.func = mrp_rcv; in mrp_register_application()
926 dev_add_pack(&appl->pkttype); in mrp_register_application()
931 void mrp_unregister_application(struct mrp_application *appl) in mrp_unregister_application() argument
933 dev_remove_pack(&appl->pkttype); in mrp_unregister_application()