Searched refs:port (Results 26 - 50 of 415) sorted by last modified time

1234567891011>>

/haiku/src/system/kernel/debug/
H A Ddebug.cpp1251 // The port is gone, there is no need to run anymore
2290 _user_register_syslog_daemon(port_id port) argument
2295 sSyslogPort = port;
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetservbyport.c52 getservbyport(int port, const char *proto) argument
57 s = getservbyport_r(port, proto, &_servent_data.serv, &_servent_data);
H A Dgetservbyport_r.c52 _servent_getbyport(struct servent_data *sd, struct servent *sp, int port, argument
67 port = ntohs(port);
75 if (port < 0 || port > 65536)
80 be16enc(buf + 2, port);
91 if (be16dec(data) != port)
106 if (sp->s_port != port)
116 getservbyport_r(int port, const char *proto, struct servent *sp, argument
120 sp = _servent_getbyport(sd, sp, port, prot
[all...]
H A Dgetnameinfo.c246 u_short port; local
273 port = ((const struct sockinet *)(const void *)sa)->si_port;
291 sp = getservbyport_r(port,
302 snprintf(numserv, sizeof(numserv), "%u", ntohs(port));
H A Dgetaddrinfo.c230 int port, pri, weight; member in struct:srvinfo
1215 /* Check for already filled port. */
1552 int port; local
1589 port = str2number(servname);
1590 if (port >= 0) {
1593 if (port < 0 || port > 65535)
1595 port = htons(port);
1616 port
1743 int port, pri, weight; local
[all...]
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_print.c391 u_int priority, weight, port; local
400 port = ns_get16(rdata); rdata += NS_INT16SZ;
401 len = SPRINTF((t, "%u %u %u ", priority, weight, port));
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DQuery.h37 uint32 flags, port_id port, uint32 token,
57 port_id port, uint32 token);
H A DQuery.cpp302 port_id port, uint32 token, Query*& _query)
308 status_t error = query->_Init(queryString, flags, port, token);
343 Query::_Init(const char* queryString, uint32 flags, port_id port, uint32 token) argument
345 status_t error = QueryImpl::Create(this, queryString, flags, port, token,
301 Create(Volume* volume, const char* queryString, uint32 flags, port_id port, uint32 token, Query*& _query) argument
/haiku/headers/private/system/
H A Dsyscalls.h202 port_id port, int32 token);
204 port_id port, int32 token);
327 size_t queryLength, uint32 flags, port_id port,
396 extern status_t _kern_stop_notifying(port_id port, uint32 token);
398 port_id port, uint32 token);
399 extern status_t _kern_stop_watching(dev_t device, ino_t node, port_id port,
468 /* kernel port functions */
476 extern ssize_t _kern_port_buffer_size_etc(port_id port, uint32 flags,
478 extern int32 _kern_port_count(port_id port);
479 extern ssize_t _kern_read_port_etc(port_id port, int3
[all...]
/haiku/src/apps/cortex/NodeManager/
H A DNodeManager.cpp285 " source port: %ld\n"
288 " dest port: %ld\n",
290 connection->source().id, connection->source().port,
292 connection->destination().id, connection->destination().port));
684 // port can differ from its node's control port, a linear
1183 " source port: %" B_PRId32 "\n"
1185 " dest port: %" B_PRId32 "\n",
1186 finalOutput.source.id, finalOutput.source.port,
1187 finalInput.destination.id, finalInput.destination.port));
[all...]
/haiku/src/system/kernel/util/
H A Dring_buffer.cpp11 #include <port.h>
347 /** Sends the contents of the ring buffer to a port.
352 ring_buffer_write_to_port(struct ring_buffer *buffer, port_id port, int32 code,
363 status = write_port_etc(port, code, buffer->buffer + buffer->first, length,
376 status = writev_port_etc(port, code, vecs, 2, length, flags, timeout);
/haiku/src/system/kernel/events/
H A Dwait_for_objects.cpp26 #include <port.h>
H A DNotifications.cpp70 UserMessagingMessageSender::SendMessage(const KMessage* message, port_id port, argument
79 fTargets[fTargetCount].port = port;
102 port_id port, int32 token)
105 fPort(port),
364 DefaultUserNotificationService::RemoveUserListeners(port_id port, uint32 token) argument
366 UserMessagingListener userListener(fSender, port, token);
388 port_id port, uint32 token)
390 UserMessagingListener userListener(fSender, port, token);
101 UserMessagingListener(UserMessagingMessageSender& sender, port_id port, int32 token) argument
387 UpdateUserListener(uint32 eventMask, port_id port, uint32 token) argument
/haiku/src/apps/cortex/support/
H A DMediaString.cpp529 if ((source.port != media_source::null.port)
532 << source.port << ", "
548 if ((destination.port != media_destination::null.port)
551 << destination.port << ", "
/haiku/src/system/kernel/
H A Dsyscalls.cpp38 #include <port.h>
/haiku/src/servers/launch/
H A DLaunchDaemon.cpp539 port_id port = messengerPrivate.Port(); local
541 __start_watching_system(-1, B_WATCH_SYSTEM_TEAM_DELETION, port, token);
614 TRACE("Updated default port of untracked team %d, %s\n",
620 // Update port info
623 if (status == B_OK && info.port != job->DefaultPort()) {
624 TRACE("Update default port for %s to %d\n", job->Name(),
625 (int)info.port);
626 job->SetDefaultPort(info.port);
1317 info.AddMessage("port", &iterator->second);
1617 message.FindMessage("port", inde
[all...]
/haiku/headers/os/kernel/
H A DOS.h122 port_id port; member in struct:port_info
132 extern ssize_t read_port(port_id port, int32 *code, void *buffer,
134 extern ssize_t read_port_etc(port_id port, int32 *code, void *buffer,
136 extern status_t write_port(port_id port, int32 code, const void *buffer,
138 extern status_t write_port_etc(port_id port, int32 code, const void *buffer,
140 extern status_t close_port(port_id port);
141 extern status_t delete_port(port_id port);
143 extern ssize_t port_buffer_size(port_id port);
144 extern ssize_t port_buffer_size_etc(port_id port, uint32 flags,
146 extern ssize_t port_count(port_id port);
[all...]
/haiku/src/system/kernel/fs/
H A Dnode_monitor.cpp75 UserNodeListener(port_id port, int32 token) argument
76 : UserMessagingListener(sNodeMonitorSender, port, token)
124 port_id port, uint32 token);
228 \param port The target port of the listener.
239 notify_query_entry_event(int32 opcode, port_id port, int32 token, argument
257 target.port = port;
421 /*! Returns the listener that matches the specified port/token pair.
1018 port_id port, uint3
1017 RemoveUserListeners(struct io_context *context, port_id port, uint32 token) argument
1253 notify_query_entry_created(port_id port, int32 token, dev_t device, ino_t directory, const char *name, ino_t node) argument
1274 notify_query_entry_removed(port_id port, int32 token, dev_t device, ino_t directory, const char *name, ino_t node) argument
1295 notify_query_attr_changed(port_id port, int32 token, dev_t device, ino_t directory, const char* name, ino_t node) argument
1313 _user_stop_notifying(port_id port, uint32 token) argument
1322 _user_start_watching(dev_t device, ino_t node, uint32 flags, port_id port, uint32 token) argument
1334 _user_stop_watching(dev_t device, ino_t node, port_id port, uint32 token) argument
[all...]
/haiku/src/kits/media/
H A DMediaRoster.cpp158 // Only now delete the port pool
356 TRACE("BMediaRoster::ReleaseNodeAll, node %" B_PRId32 ", port %" B_PRId32
358 node.node, node.port, BPrivate::current_team());
364 "retrying local, node %" B_PRId32 ", port %"
365 B_PRId32 ", team %" B_PRId32 "!\n", node.node, node.port,
368 rv = SendToPort(node.port, NODE_FINAL_RELEASE, &command,
371 ERROR("BMediaRoster::ReleaseNodeAll FAILED, node %" B_PRId32 ", port %"
372 B_PRId32 ", team %" B_PRId32 "!\n", node.node, node.port,
450 PRINT(4, "BMediaRosterEx::GetAllOutputs() node %" B_PRId32 ", port %"
451 B_PRId32 "\n", node.node, node.port);
3325 NodeIDFor(port_id port) argument
[all...]
H A DSoundPlayNode.cpp124 fOutput.source.port = ControlPort();
H A DBufferConsumer.cpp113 SendToPort(whatSource.port, PRODUCER_LATE_NOTICE_RECEIVED, &command,
153 status_t status = SendToPort(output.port, PRODUCER_VIDEO_CLIPPING_CHANGED,
185 return SendToPort(source.port, PRODUCER_ENABLE_OUTPUT, &command, sizeof(command));
213 return SendToPort(source.port, PRODUCER_FORMAT_CHANGE_REQUESTED, &command, sizeof(command));
234 return SendToPort(source.port, PRODUCER_ADDITIONAL_BUFFER_REQUESTED, &command, sizeof(command));
253 return SendToPort(source.port, PRODUCER_ADDITIONAL_BUFFER_REQUESTED,
302 status_t status = SendToPort(source.port, PRODUCER_SET_BUFFER_GROUP,
306 // XXX will leak memory if port write failed
332 "%" B_PRId32 "/%" B_PRId32 " changed to %" B_PRId64 "\n", source.port, source.id,
333 destination.port, destinatio
[all...]
/haiku/src/kits/app/
H A DMessage.cpp1107 a buffer, pushing it through a port, reading it into the outputbuffer and
1110 hit some port capacity limit.
1121 this through the port. The receiving looper then builds a BMessage from
1127 the slower route of moving the data through a port.
2126 BMessage::_SendMessage(port_id port, team_id portOwner, int32 token, argument
2159 return toMessage.SendTo(port, token);
2161 // ToDo: bind the above size to the max port message size
2174 result = get_port_info(port, &info);
2231 KTRACE("BMessage send remote: team: %ld, port: %ld, token: %ld, "
2232 "message: '%c%c%c%c'", portOwner, port, toke
2273 _SendMessage(port_id port, team_id portOwner, int32 token, BMessage* reply, bigtime_t sendTimeout, bigtime_t replyTimeout) const argument
2389 _SendFlattenedMessage(void* data, int32 size, port_id port, int32 token, bigtime_t timeout) argument
[all...]
/haiku/src/apps/tv/
H A DVideoNode.cpp112 fInput.destination.port = ControlPort();
/haiku/src/apps/mediaplayer/media_node_framework/video/
H A DVideoProducer.cpp116 fOutput.source.port = ControlPort();
/haiku/src/apps/cortex/addons/common/
H A DAudioFilterNode.cpp345 m_input.destination.port = ControlPort();
357 m_output.source.port = ControlPort();

Completed in 129 milliseconds

1234567891011>>