Lines Matching defs:appl
346 const struct garp_application *appl,
350 struct garp_applicant *app = port->applicants[appl->type];
366 const struct garp_application *appl,
370 struct garp_applicant *app = port->applicants[appl->type];
505 struct garp_application *appl = proto->data;
513 app = rcu_dereference(port->applicants[appl->type]);
561 int garp_init_applicant(struct net_device *dev, struct garp_application *appl)
579 err = dev_mc_add(dev, appl->proto.group_address);
584 app->app = appl;
588 rcu_assign_pointer(dev->garp_port->applicants[appl->type], app);
602 void garp_uninit_applicant(struct net_device *dev, struct garp_application *appl)
605 struct garp_applicant *app = port->applicants[appl->type];
609 rcu_assign_pointer(port->applicants[appl->type], NULL);
619 dev_mc_del(dev, appl->proto.group_address);
625 int garp_register_application(struct garp_application *appl)
627 appl->proto.rcv = garp_pdu_rcv;
628 appl->proto.data = appl;
629 return stp_proto_register(&appl->proto);
633 void garp_unregister_application(struct garp_application *appl)
635 stp_proto_unregister(&appl->proto);