Lines Matching refs:appl
345 const struct garp_application *appl, in garp_request_join() argument
349 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_join()
365 const struct garp_application *appl, in garp_request_leave() argument
369 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_leave()
504 struct garp_application *appl = proto->data; in garp_pdu_rcv() local
512 app = rcu_dereference(port->applicants[appl->type]); in garp_pdu_rcv()
559 int garp_init_applicant(struct net_device *dev, struct garp_application *appl) in garp_init_applicant() argument
577 err = dev_mc_add(dev, appl->proto.group_address); in garp_init_applicant()
582 app->app = appl; in garp_init_applicant()
586 rcu_assign_pointer(dev->garp_port->applicants[appl->type], app); in garp_init_applicant()
600 void garp_uninit_applicant(struct net_device *dev, struct garp_application *appl) in garp_uninit_applicant() argument
603 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_uninit_applicant()
607 RCU_INIT_POINTER(port->applicants[appl->type], NULL); in garp_uninit_applicant()
620 dev_mc_del(dev, appl->proto.group_address); in garp_uninit_applicant()
626 int garp_register_application(struct garp_application *appl) in garp_register_application() argument
628 appl->proto.rcv = garp_pdu_rcv; in garp_register_application()
629 appl->proto.data = appl; in garp_register_application()
630 return stp_proto_register(&appl->proto); in garp_register_application()
634 void garp_unregister_application(struct garp_application *appl) in garp_unregister_application() argument
636 stp_proto_unregister(&appl->proto); in garp_unregister_application()