Searched refs:port (Results 76 - 100 of 416) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DFileSystemInitializer.h36 status_t _Init(port_id port);
/haiku/src/servers/midi/
H A DServerDefs.h68 // The port that accepts MIDI events (consumer only).
69 port_id port; member in struct:endpoint_t
/haiku/src/tests/kits/app/messaging/
H A DPortLinkTest.cpp29 port_id port = create_port(100, "portlink"); local
31 BPrivate::PortLink sender(port, -1);
32 BPrivate::PortLink receiver(-1, port);
43 sender.Attach(&port, 100000);
/haiku/src/tests/kits/net/
H A DNetAddressTest.cpp21 unsigned short port; local
22 if ((status = netAddr.GetAddr(addr, &port)) != B_OK) {
24 "failed to get in_addr/port from localhost address: %s\n",
33 if (port != hostPort) {
34 fprintf(stderr, "expected port %u - got %u\n", hostPort, port);
51 fprintf(stderr, "expected sockaddr-port %x - got %x\n", nwPort,
/haiku/headers/private/fs_shell/
H A Dfssh_fs_query.h32 fssh_port_id port, int32_t token);
/haiku/src/servers/registrar/
H A DAppInfoListMessagingTargetSet.h24 virtual bool Next(port_id &port, int32 &token);
/haiku/src/preferences/joysticks/
H A DJoyWin.h44 status_t _ShowCantFindFileMessage(const char* port);
46 const char* port);
50 BString _FixPathToName(const char* port);
/haiku/headers/private/app/
H A DLooperList.h42 BLooper* LooperForPort(port_id port);
72 FindPortPred(port_id pid) : port(pid) {}
74 port_id port; member in struct:BPrivate::BLooperList::FindPortPred
H A DServerLink.h43 void SetSenderPort(port_id port);
67 void SetReceiverPort(port_id port);
102 ServerLink::SetSenderPort(port_id port) argument
104 fSender->SetPort(port);
182 ServerLink::SetReceiverPort(port_id port) argument
184 fReceiver->SetPort(port);
/haiku/src/tools/fs_shell/
H A Dnode_monitor.cpp52 fssh_notify_query_entry_created(fssh_port_id port, int32_t token, argument
61 fssh_notify_query_entry_removed(fssh_port_id port, int32_t token, argument
70 fssh_notify_query_attr_changed(fssh_port_id port, int32_t token, argument
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DSettings.cpp42 int32 port; local
43 if (fMessage.FindInt32("port", &port) == B_OK)
44 return port;
/haiku/src/tests/system/network/
H A Dgetpeername.cpp24 printf("usage: %s <host> [port]\n"
25 "Connects to the host (default port 21, ftp), and calls\n"
37 uint16_t port = 21; local
39 port = atol(argv[2]);
51 address.sin_port = htons(port);
H A Dtcp_client.c16 #define PORT 1234 // the port client will be connecting to
25 short int port = PORT; local
31 fprintf(stderr,"usage: tcp_client <hostname> [port]\n");
36 port = atoi(argv[2]);
51 their_addr.sin_port = htons(port);
/haiku/src/tests/system/network/icmp/
H A Dudp_unreachable.cpp30 fprintf(stderr, "Usage: %s <host> [<port>]\n"
32 "<port> defaults to 9999.\n", __progname);
42 uint16_t port = 9999; local
44 port = atol(argv[2]);
49 serverAddr.sin_port = htons(port);
/haiku/headers/private/kernel/boot/net/
H A DiSCSITarget.h35 status_t Open(ip_addr_t address, uint16 port);
61 status_t Init(ip_addr_t address, uint16 port, char** targetAlias = NULL);
82 status_t Init(ip_addr_t address, uint16 port, const char* targetName);
92 static bool DiscoverTargets(ip_addr_t address, uint16 port,
94 static bool _AddDevice(ip_addr_t address, uint16 port,
/haiku/src/tests/system/libroot/os/
H A Dsystem_watching_test.cpp92 // create a port
93 port_id port = create_port(10, "system watching test"); local
94 if (port < 0) {
95 fprintf(stderr, "Failed to create port: %s\n", strerror(port));
100 status_t error = __start_watching_system(watchTeam, watchEvents, port, 0);
108 // read the message from the port
111 ssize_t bytesRead = read_port(port, &messageCode, buffer,
116 fprintf(stderr, "Failed to read from port: %s\n",
/haiku/src/add-ons/accelerants/radeon/
H A Dmonitor_detection.c31 uint32 port; member in struct:__anon1
43 value = INREG(regs, info->port);
59 value = INREG(regs, info->port);
65 OUTREG(regs, info->port, value);
82 info.port = ddcPort;
216 SHOW_INFO0(2, "Found CRT connected to TV-DAC, i.e. DVI port");
812 Radeon_StoreFPEDID(accelerator_info *ai, int port, const edid1_info *edid) argument
814 fp_info *fp = &ai->si->flatpanels[port];
817 //SHOW_FLOW0(2, "EDID data read from DVI port via DDC2:");
845 Radeon_ConnectorInfo(accelerator_info *ai, int port, disp_entit argument
[all...]
/haiku/headers/private/device/
H A Djoystick_driver.h29 /* maximum number of controllers on one port */
120 /* Note that joystick_module is something used by the game port driver */
128 int (*configure)(int port, joystick_module_info * info, size_t size, void ** out_cookie);
130 int (*read)(void * cookie, int port, extended_joystick * data, size_t size);
132 int (*crumble)(void * cookie, int port);
134 int (*force)(void * cookie, int port, bigtime_t duration, extended_joystick * force, size_t size);
164 status_t (*create_device)(int port, void ** out_storage);
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dmidi.c52 midi_dev * port = (midi_dev *)data; local
55 LOG(("port = %p\n", port));
60 emuxki_reg_write_32(&(port->card->config), EMU_INTE,
61 emuxki_reg_read_32(&(port->card->config), EMU_INTE) | EMU_INTE_MIDIRXENABLE );
63 LOG(("INTE address: %x\n",&port->card->config));
69 emuxki_reg_write_32(&port->card->config, EMU_INTE,
70 emuxki_reg_read_32(&port->card->config, EMU_INTE) & ~ EMU_INTE_MIDIRXENABLE);
/haiku/src/add-ons/kernel/drivers/misc/
H A Dpoke.cpp155 ioctl.value = isa->read_io_8(ioctl.port);
158 ioctl.value = isa->read_io_16(ioctl.port);
161 ioctl.value = isa->read_io_32(ioctl.port);
183 isa->write_io_8(ioctl.port, ioctl.value);
186 isa->write_io_16(ioctl.port, ioctl.value);
189 isa->write_io_32(ioctl.port, ioctl.value);
206 isa->write_io_8(ioctl.port, ioctl.size);
207 ioctl.value = isa->read_io_8(ioctl.port + 1);
222 isa->write_io_8(ioctl.port, ioctl.size);
223 isa->write_io_8(ioctl.port
[all...]
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DEndpointManager.cpp179 EndpointHashDefinition::HashKey(uint16 port) const
181 return port;
193 EndpointHashDefinition::Compare(uint16 port, TCPEndpoint* endpoint) const argument
195 return endpoint->LocalAddress().Port() == port;
270 uint16 port = local.Port(); local
272 local.SetPort(port);
291 // socket to connect to a different remote (address, port) than it was
409 uint16 port = address.Port(); local
416 if (ntohs(port) <= kLastReservedPort && geteuid() != 0)
422 EndpointTable::ValueIterator portUsers = fEndpointHash.Lookup(port);
479 uint16 port = counter & 0xffff; local
[all...]
/haiku/headers/private/bluetooth/
H A DPortListener.h22 fInformation.port = &fPort;
39 // Closing the port should provoke the thread to finish
115 // Closing the port should provoke the thread to finish
125 port_id* port; member in struct:PortListener::PortListenerInfo
141 port_id* port = ((struct PortListenerInfo*)data)->port; local
147 while ((ssizePort = port_buffer_size(*port)) != B_BAD_PORT_ID) {
159 ssizeRead = read_port(*port, &code, (void*)buffer, ssizePort);
173 dprintf("Error in PortListener handler=%s port=%s\n", strerror(status),
176 printf("Error in PortListener handler=%s port
[all...]
/haiku/src/add-ons/print/transports/hp_jetdirect/
H A DSetupWindow.cpp108 fQueuePort = new BTextControl(QUEUE_RECT, "", QUEUE_TEXT, "9100", NULL); // 9100 is default HP JetDirect port number
131 uint16 port = atoi(fQueuePort->Text()); local
133 if (! port)
134 port = 9100;
136 if (ep->Connect(fServerAddress->Text(), port) != B_OK) {
139 << ":" << (int) port << "!";
148 sprintf(str, "%s:%d", fServerAddress->Text(), port);
/haiku/src/apps/remotedesktop/
H A DRemoteDesktop.cpp28 printf("usage:\t%s <host> [-p <port>] [-w <width>] [-h <height>]\n", app);
29 printf("usage:\t%s <user@host> -s [<sshPort>] [-p <port>] [-w <width>]"
35 printf("\t-p\t\tspecify the port to communicate on (default 10900)\n");
37 printf("\t-s\t\tuse SSH, optionally specify the SSH port to use (22)\n");
53 uint16 port = 10900; local
63 if (argc <= i + 1 || sscanf(argv[i + 1], "%" B_SCNu16, &port) != 1) {
141 "echo connected; export TARGET_SCREEN=%" B_PRIu16 "; %s\n", port,
168 B_PRIu16, port, port);
208 port);
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DInsecureConnectionListener.cpp39 // parameter format is "[port]"
40 uint16 port = kDefaultInsecureConnectionPort; local
42 int result = sscanf(parameters, "%hu", &port);
50 // bind it to the port
53 addr.sin_port = htons(port);

Completed in 172 milliseconds

1234567891011>>