Lines Matching defs:service
207 // find a service handling this kind of packet
210 EthernetSubService *service = fServices.ElementAt(i);
211 if (service->EthernetProtocol() == ntohs(header->type)) {
212 service->HandleEthernetPacket(this, header->destination,
223 EthernetService::RegisterEthernetSubService(EthernetSubService *service)
225 return (service && fServices.Add(service) == B_OK);
230 EthernetService::UnregisterEthernetSubService(EthernetSubService *service)
232 return (service && fServices.Remove(service) >= 0);