Lines Matching full:appl

356 		      const struct garp_application *appl,  in garp_request_join()  argument
360 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_join()
376 const struct garp_application *appl, in garp_request_leave() argument
380 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_leave()
515 struct garp_application *appl = proto->data; in garp_pdu_rcv() local
523 app = rcu_dereference(port->applicants[appl->type]); in garp_pdu_rcv()
570 int garp_init_applicant(struct net_device *dev, struct garp_application *appl) in garp_init_applicant() argument
588 err = dev_mc_add(dev, appl->proto.group_address); in garp_init_applicant()
593 app->app = appl; in garp_init_applicant()
597 rcu_assign_pointer(dev->garp_port->applicants[appl->type], app); in garp_init_applicant()
611 void garp_uninit_applicant(struct net_device *dev, struct garp_application *appl) in garp_uninit_applicant() argument
614 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_uninit_applicant()
618 RCU_INIT_POINTER(port->applicants[appl->type], NULL); in garp_uninit_applicant()
632 dev_mc_del(dev, appl->proto.group_address); in garp_uninit_applicant()
638 int garp_register_application(struct garp_application *appl) in garp_register_application() argument
640 appl->proto.rcv = garp_pdu_rcv; in garp_register_application()
641 appl->proto.data = appl; in garp_register_application()
642 return stp_proto_register(&appl->proto); in garp_register_application()
646 void garp_unregister_application(struct garp_application *appl) in garp_unregister_application() argument
648 stp_proto_unregister(&appl->proto); in garp_unregister_application()