Lines Matching full:appl
355 const struct garp_application *appl, in garp_request_join() argument
359 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_join()
375 const struct garp_application *appl, in garp_request_leave() argument
379 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_request_leave()
514 struct garp_application *appl = proto->data; in garp_pdu_rcv() local
522 app = rcu_dereference(port->applicants[appl->type]); in garp_pdu_rcv()
569 int garp_init_applicant(struct net_device *dev, struct garp_application *appl) in garp_init_applicant() argument
587 err = dev_mc_add(dev, appl->proto.group_address); in garp_init_applicant()
592 app->app = appl; in garp_init_applicant()
596 rcu_assign_pointer(dev->garp_port->applicants[appl->type], app); in garp_init_applicant()
610 void garp_uninit_applicant(struct net_device *dev, struct garp_application *appl) in garp_uninit_applicant() argument
613 struct garp_applicant *app = rtnl_dereference(port->applicants[appl->type]); in garp_uninit_applicant()
617 RCU_INIT_POINTER(port->applicants[appl->type], NULL); in garp_uninit_applicant()
631 dev_mc_del(dev, appl->proto.group_address); in garp_uninit_applicant()
637 int garp_register_application(struct garp_application *appl) in garp_register_application() argument
639 appl->proto.rcv = garp_pdu_rcv; in garp_register_application()
640 appl->proto.data = appl; in garp_register_application()
641 return stp_proto_register(&appl->proto); in garp_register_application()
645 void garp_unregister_application(struct garp_application *appl) in garp_unregister_application() argument
647 stp_proto_unregister(&appl->proto); in garp_unregister_application()