Lines Matching refs:appl
342 const struct garp_application *appl, in garp_request_join() argument
346 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_join()
362 const struct garp_application *appl, in garp_request_leave() argument
366 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_leave()
501 struct garp_application *appl = proto->data; in garp_pdu_rcv() local
509 app = rcu_dereference(port->applicants[appl->type]); in garp_pdu_rcv()
556 int garp_init_applicant(struct net_device *dev, struct garp_application *appl) in garp_init_applicant() argument
574 err = dev_mc_add(dev, appl->proto.group_address); in garp_init_applicant()
579 app->app = appl; in garp_init_applicant()
583 rcu_assign_pointer(dev->garp_port->applicants[appl->type], app); in garp_init_applicant()
597 void garp_uninit_applicant(struct net_device *dev, struct garp_application *appl) in garp_uninit_applicant() argument
600 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_uninit_applicant()
604 RCU_INIT_POINTER(port->applicants[appl->type], NULL); in garp_uninit_applicant()
617 dev_mc_del(dev, appl->proto.group_address); in garp_uninit_applicant()
623 int garp_register_application(struct garp_application *appl) in garp_register_application() argument
625 appl->proto.rcv = garp_pdu_rcv; in garp_register_application()
626 appl->proto.data = appl; in garp_register_application()
627 return stp_proto_register(&appl->proto); in garp_register_application()
631 void garp_unregister_application(struct garp_application *appl) in garp_unregister_application() argument
633 stp_proto_unregister(&appl->proto); in garp_unregister_application()