Searched refs:service (Results 1 - 25 of 46) sorted by relevance

12

/haiku/src/servers/net/
H A DServices.cpp33 struct service* owner;
50 struct service { struct
60 ~service();
61 bool operator!=(const struct service& other) const;
62 bool operator==(const struct service& other) const;
79 service::~service()
92 service::operator!=(const struct service& other) const
99 service
238 _StartService(struct service& service) argument
300 _StopService(struct service* service) argument
338 _ToService(const BMessage& message, struct service*& service) argument
383 struct service* service; local
408 struct service* service = iterator->second; local
420 _LaunchService(struct service& service, int socket) argument
[all...]
H A DServices.h20 struct service;
22 typedef std::map<std::string, service*> ServiceNameMap;
38 status_t _StartService(struct service& service);
39 status_t _StopService(struct service* service);
41 struct service*& service);
43 status_t _LaunchService(struct service& service,
[all...]
/haiku/headers/os/net/
H A DNetworkAddressResolver.h33 const char* service, uint32 flags = 0);
38 const char* address, const char* service,
48 status_t SetTo(const char* address, const char* service,
53 const char* service, uint32 flags = 0);
64 const char* address, const char* service,
70 const char* address, const char* service,
82 CacheEntry(int family, const char* address, const char* service, argument
87 fService(service),
93 bool Matches(int family, BString address, BString service, uint32 flags) argument
96 && service
[all...]
H A DNetAddress.h31 const char* service);
38 const char* service);
H A DNetworkAddress.h25 const char* service, uint32 flags = 0);
29 const char* service, uint32 flags = 0);
49 status_t SetTo(const char* address, const char* service,
54 const char* service, uint32 flags = 0);
76 status_t SetPort(const char* service);
/haiku/src/kits/network/libnetapi/
H A DNetworkAddressResolver.cpp62 const char* service, uint32 flags)
68 SetTo(address, service, flags);
84 const char* address, const char* service, uint32 flags)
90 SetTo(family, address, service, flags);
126 BNetworkAddressResolver::SetTo(const char* address, const char* service, argument
129 return SetTo(AF_UNSPEC, address, service, flags);
137 BString service; local
138 service << port;
140 return SetTo(family, address, port != 0 ? service.String() : NULL, flags);
146 const char* service, uint3
61 BNetworkAddressResolver(const char* address, const char* service, uint32 flags) argument
83 BNetworkAddressResolver(int family, const char* address, const char* service, uint32 flags) argument
145 SetTo(int family, const char* host, const char* service, uint32 flags) argument
272 Resolve(const char* address, const char* service, uint32 flags) argument
290 BString service; local
298 Resolve(int family, const char* address, const char* service, uint32 flags) argument
[all...]
H A DNetAddress.cpp66 const char* service)
70 SetTo(hostname, protocol, service);
432 * Set from passed in hostname and protocol/service information.
441 * service: The name of the service, such as http, ftp, et al. This
442 * must be one of the official service names listed in
450 * The protocol and service input parameters must be one of the official
457 const char* service)
459 struct servent* serviceEntry = getservbyname(service, protocol);
65 BNetAddress(const char* hostname, const char* protocol, const char* service) argument
456 SetTo(const char* hostname, const char* protocol, const char* service) argument
/haiku/headers/private/kernel/
H A DNotifications.h36 virtual void EventOccurred(NotificationService& service,
39 NotificationService& service);
74 virtual void EventOccurred(NotificationService& service,
77 NotificationService& service);
189 virtual void EventOccurred(NotificationService& service,
192 NotificationService& service);
204 status_t RegisterService(NotificationService& service);
206 NotificationService& service);
208 status_t AddListener(const char* service,
211 status_t AddListener(const char* service,
[all...]
/haiku/src/system/boot/loader/net/
H A DNetDefs.cpp14 // net service names
60 NetService *service = SubNetServiceAt(i); local
61 if (strcmp(service->NetServiceName(), name) == 0)
62 return service;
H A DEthernet.cpp207 // find a service handling this kind of packet
210 EthernetSubService *service = fServices.ElementAt(i); local
211 if (service->EthernetProtocol() == ntohs(header->type)) {
212 service->HandleEthernetPacket(this, header->destination,
223 EthernetService::RegisterEthernetSubService(EthernetSubService *service) argument
225 return (service && fServices.Add(service) == B_OK);
230 EthernetService::UnregisterEthernetSubService(EthernetSubService *service) argument
232 return (service && fServices.Remove(service) >
[all...]
H A DIP.cpp108 // find a service handling this kind of packet
111 IPSubService *service = fServices.ElementAt(i); local
112 if (service->IPProtocol() == header->protocol) {
113 service->HandleIPPacket(this, ntohl(header->source),
173 IPService::RegisterIPSubService(IPSubService *service) argument
175 return (service && fServices.Add(service) == B_OK);
180 IPService::UnregisterIPSubService(IPSubService *service) argument
182 return (service && fServices.Remove(service) >
[all...]
/haiku/headers/private/net/
H A Ddns_resolver.h23 status_t (*getaddrinfo)(const char* node, const char* service,
29 kgetaddrinfo(const char* node, const char* service, argument
38 result = dns->getaddrinfo(node, service, hints, res);
/haiku/headers/os/bluetooth/
H A DDeviceClass.h28 DeviceClass(uint8 major, uint8 minor, uint16 service) argument
30 SetRecord(major, minor, service);
44 void SetRecord(uint8 major, uint8 minor, uint16 service) argument
48 fRecord |= (service & 0x7FF) << 13;
/haiku/headers/private/kernel/arch/x86/
H A Dbios.h27 status_t get_bios32_service(uint32 identifier, struct bios32_service *service);
/haiku/src/system/kernel/events/
H A DNotifications.cpp36 NotificationListener::EventOccurred(NotificationService& service, argument
43 NotificationListener::AllListenersNotified(NotificationService& service) argument
117 UserMessagingListener::EventOccurred(NotificationService& service, argument
125 UserMessagingListener::AllListenersNotified(NotificationService& service) argument
416 DefaultUserNotificationService::EventOccurred(NotificationService& service, argument
439 NotificationService& service)
510 NotificationManager::RegisterService(NotificationService& service) argument
514 if (_ServiceFor(service.Name()))
517 status_t status = fServiceHash.Insert(&service);
519 service
438 AllListenersNotified( NotificationService& service) argument
526 UnregisterService(NotificationService& service) argument
552 NotificationService* service = _ServiceFor(serviceName); local
581 NotificationService* service = _ServiceFor(serviceName); local
597 NotificationService* service = _ServiceFor(serviceName); local
[all...]
/haiku/src/system/kernel/arch/x86/32/
H A Dbios.cpp79 * the values that identify BIOS service.
81 * the BIOS32 service directory is not available, or B_BAD_VALUE
86 get_bios32_service(uint32 identifier, struct bios32_service *service) argument
95 asm("movl %4, %%eax; " // set service parameters
111 service->base = ebx;
112 service->size = ecx;
113 service->offset = edx;
145 TRACE(("bios32 service directory at: %lx\n", bios32->service_directory));
/haiku/headers/private/kernel/boot/net/
H A DEthernet.h65 bool RegisterEthernetSubService(EthernetSubService *service);
66 bool UnregisterEthernetSubService(EthernetSubService *service);
H A DIP.h47 bool RegisterIPSubService(IPSubService *service);
48 bool UnregisterIPSubService(IPSubService *service);
/haiku/src/preferences/network/
H A DServiceView.cpp38 BStringView* titleView = new BStringView("service", title);
136 BMessage service; local
137 if (settings.GetMessage(service) == B_OK)
138 fSettings.AddService(service);
/haiku/src/preferences/bluetooth/
H A DBluetoothSettingsView.h36 uint16 service);
/haiku/src/add-ons/kernel/network/dns_resolver/server/
H A Dmain.cpp107 const char* service = buffer[nodeSize] == '\0' ? NULL : buffer + nodeSize; local
108 uint32 serviceSize = service != NULL ? strlen(service) + 1 : 1;
114 status_t result = getaddrinfo(node, service, hints, &ai);
/haiku/src/servers/registrar/
H A DMessagingService.cpp26 \brief Represents an area of the messaging service shared between kernel
206 \brief Userland implementation of the kernel -> userland messaging service.
208 This service provides a way for the kernel to send BMessages (usually
222 While the service is called `messaging service' and we were speaking of
223 `messages' being passed through the areas, the service is actually more
237 : fLock("messaging service"),
323 // create the service
324 MessagingService *service = new(nothrow) MessagingService;
325 if (!service)
[all...]
/haiku/src/add-ons/kernel/network/dns_resolver/kernel_add_on/
H A Ddns_resolver.cpp126 GetAddrInfo(const char* node, const char* service, argument
130 uint32 serviceSize = service != NULL ? strlen(service) + 1 : 1;
144 if (service != NULL)
145 strcpy(buffer + off, service);
/haiku/src/add-ons/network_settings/sshd/
H A DSSHServiceAddOn.cpp106 // We need to create a dedicated user for the service
162 BMessage service; local
163 if (settings.GetMessage(service) == B_OK)
164 fSettings.AddService(service);
/haiku/src/bin/network/netstat/
H A Dnetstat.cpp83 servent* service = NULL; local
87 service = getservbyport(address.sin_port, NULL);
102 if (service != NULL)
103 strlcpy(port, service->s_name, sizeof(port));

Completed in 224 milliseconds

12