Searched refs:conn (Results 1 - 24 of 24) sorted by path

/haiku/headers/private/media/experimental/
H A DMediaClient.h157 status_t _DisconnectConnection(BMediaConnection* conn);
158 status_t _ReleaseConnection(BMediaConnection* conn);
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd-server.py85 def __init__(self, conn):
86 conn = buffsock(conn)
88 header = conn.recv(struct.calcsize(template))
93 self.data = conn.recv(self.len)
124 print "got conn on", addr
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DRPCServer.cpp371 Connection* conn; local
372 result = Connection::Connect(&conn, address);
378 node->fServer = new Server(conn, &node->fID);
381 delete conn;
H A DConnection.cpp589 Connection* conn = CreateObject(address);
590 if (conn == NULL)
594 if (conn->fWaitCancel < B_OK) {
595 result = conn->fWaitCancel;
596 delete conn;
600 result = conn->Connect();
602 delete conn;
606 *_connection = conn;
619 Connection* conn = CreateObject(address);
620 if (conn
[all...]
/haiku/src/kits/media/experimental/
H A DMediaClientNode.cpp43 BMediaClientNode::SendBuffer(BBuffer* buffer, BMediaConnection* conn) argument
45 return BBufferProducer::SendBuffer(buffer, conn->_Source(), conn->_Destination());
151 BMediaInput* conn = fOwner->_FindInput(dest); local
152 if (conn == NULL)
155 return conn->AcceptFormat(format);
172 BMediaInput* conn = fOwner->InputAt(*cookie); local
173 if (conn != NULL) {
174 *input = conn->fConnection._BuildMediaInput();
207 BMediaInput* conn local
224 BMediaInput* conn = fOwner->_FindInput(dest); local
252 BMediaInput* conn = fOwner->_FindInput(dest); local
309 BMediaOutput* conn = fOwner->_FindOutput(source); local
349 BMediaOutput* conn = fOwner->OutputAt(*cookie); local
374 BMediaOutput* conn = fOwner->_FindOutput(source); local
403 BMediaOutput* conn = fOwner->_FindOutput(source); local
435 BMediaOutput* conn = fOwner->_FindOutput(source); local
473 BMediaOutput* conn = fOwner->_FindOutput(source); local
499 BMediaOutput* conn = fOwner->_FindOutput(source); local
614 BMediaInput* conn = fOwner->_FindInput(dest); local
[all...]
H A DMediaClientNode.h34 status_t SendBuffer(BBuffer* buffer, BMediaConnection* conn);
H A DMediaClient.cpp23 ConnReleaser(BMediaConnection* conn) argument
25 fConn(conn) {}
555 BMediaClient::_DisconnectConnection(BMediaConnection* conn) argument
559 if (conn->Client() != this)
562 const media_connection& handle = conn->Connection();
578 BMediaClient::_ReleaseConnection(BMediaConnection* conn) argument
580 if (conn->Client() != this)
583 if (conn->Connection().IsInput()) {
584 InputReleaser obj(dynamic_cast<BMediaInput*>(conn));
588 OutputReleaser obj(dynamic_cast<BMediaOutput*>(conn));
[all...]
/haiku/headers/private/bluetooth/
H A DbtCoreData.h90 uint8 (*allocate_command_ident)(struct HciConnection* conn, void* associated);
91 void* (*lookup_command_ident)(struct HciConnection* conn, uint8 ident);
92 void (*free_command_ident)(struct HciConnection* conn, uint8 ident);
/haiku/headers/private/userlandfs/fuse/
H A Dfuse.h333 void *(*init) (struct fuse_conn_info *conn);
892 void fuse_fs_init(struct fuse_fs *fs, struct fuse_conn_info *conn);
H A Dfuse_lowlevel.h181 void (*init) (void *userdata, struct fuse_conn_info *conn);
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DBTCoreData.cpp52 HciConnection* conn = AddConnection(data->handle, BT_ACL, local
55 if (conn == NULL)
56 panic("no mem for conn desc");
57 conn->ndevice = ndev;
H A DConnectionInterface.cpp68 HciConnection* conn = ConnectionByHandle(handle, hid); local
69 if (conn != NULL)
72 conn = new (std::nothrow) HciConnection(hid);
73 if (conn == NULL)
76 // memset(conn, 0, sizeof(HciConnection));
78 conn->currentRxPacket = NULL;
79 conn->currentRxExpectedLength = 0;
82 bdaddrUtils::Copy(conn->destination, dst);
84 sockaddr_l2cap* destination = (sockaddr_l2cap*)&conn->address_dest;
89 conn
108 HciConnection* conn; local
139 HciConnection* conn; local
168 HciConnection* conn; local
188 HciConnection* conn; local
213 HciConnection* conn = iterator.Next(); local
225 allocate_command_ident(HciConnection* conn, void* pointer) argument
250 lookup_command_ident(HciConnection* conn, uint8 ident) argument
263 free_command_ident(HciConnection* conn, uint8 ident) argument
[all...]
H A DConnectionInterface.h30 uint8 allocate_command_ident(HciConnection* conn, void* pointer);
31 void* lookup_command_ident(HciConnection* conn, uint8 ident);
32 void free_command_ident(HciConnection* conn, uint8 ident);
/haiku/src/add-ons/kernel/bluetooth/hci/
H A Dacl.cpp31 status_t PostToUpper(HciConnection* conn, net_buffer* buf);
70 HciConnection* conn = btCoreData->ConnectionByHandle(con_handle, hid); local
71 if (conn == NULL) {
74 conn = btCoreData->AddConnection(con_handle, BT_ACL, BDADDR_NULL, hid);
78 if (conn->status!= HCI_CONN_OPEN) {
88 if (conn->currentRxPacket != NULL) {
90 " want %d \n", __func__, conn->currentRxPacket->size, length );
91 gBufferModule->free(conn->currentRxPacket);
92 conn->currentRxPacket = NULL;
93 conn
166 PostToUpper(HciConnection* conn, net_buffer* buf) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSELowLevel.cpp66 fuse_ll_init(const fuse_lowlevel_ops* ops, void* userdata, struct fuse_conn_info* conn) argument
69 ops->init(userdata, conn);
H A DFUSELowLevel.h18 void fuse_ll_init(const fuse_lowlevel_ops* ops, void* userdata, struct fuse_conn_info* conn);
H A Dfuse_fs.cpp356 fuse_fs_init(struct fuse_fs* fs, struct fuse_conn_info* conn) argument
360 fs->ops.init(conn);
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_signal.cpp40 l2cap_handle_connection_req(HciConnection* conn, uint8 ident, net_buffer* buffer) argument
52 send_l2cap_connection_rsp(conn, ident, 0, scid,
57 endpoint->_HandleConnectionReq(conn, ident, psm, scid);
140 l2cap_handle_configuration_req(HciConnection* conn, uint8 ident, net_buffer* buffer, uint16 length) argument
150 send_l2cap_command_reject(conn, ident,
163 send_l2cap_configuration_rsp(conn, ident, dcid, 0,
177 l2cap_handle_configuration_rsp(HciConnection* conn, L2capEndpoint* endpoint, argument
200 send_l2cap_command_reject(conn, ident,
214 l2cap_handle_disconnection_req(HciConnection* conn, uint8 ident, net_buffer* buffer) argument
224 send_l2cap_command_reject(conn, iden
252 l2cap_handle_echo_req(HciConnection *conn, uint8 ident, net_buffer* buffer, uint16 length) argument
272 l2cap_handle_info_req(HciConnection* conn, uint8 ident, net_buffer* buffer) argument
336 send_l2cap_command(HciConnection* conn, uint8 code, uint8 ident, net_buffer* command) argument
358 send_l2cap_command_reject(HciConnection* conn, uint8 ident, uint16 reason, uint16 mtu, uint16 scid, uint16 dcid) argument
371 send_l2cap_configuration_req(HciConnection* conn, uint8 ident, uint16 dcid, uint16 flags, uint16* mtu, uint16* flush_timeout, l2cap_qos* flow) argument
384 send_l2cap_connection_req(HciConnection* conn, uint8 ident, uint16 psm, uint16 scid) argument
396 send_l2cap_connection_rsp(HciConnection* conn, uint8 ident, uint16 dcid, uint16 scid, uint16 result, uint16 status) argument
409 send_l2cap_configuration_rsp(HciConnection* conn, uint8 ident, uint16 scid, uint16 flags, uint16 result, net_buffer* opt) argument
422 send_l2cap_disconnection_req(HciConnection* conn, uint8 ident, uint16 dcid, uint16 scid) argument
434 send_l2cap_disconnection_rsp(HciConnection* conn, uint8 ident, uint16 dcid, uint16 scid) argument
[all...]
H A Dl2cap_signal.h14 status_t send_l2cap_command(HciConnection* conn, uint8 code, uint8 ident, net_buffer* command);
16 status_t send_l2cap_command_reject(HciConnection* conn, uint8 ident,
18 status_t send_l2cap_configuration_req(HciConnection* conn, uint8 ident, uint16 dcid, uint16 flags,
20 status_t send_l2cap_connection_req(HciConnection* conn, uint8 ident, uint16 psm, uint16 scid);
21 status_t send_l2cap_connection_rsp(HciConnection* conn, uint8 ident,
23 status_t send_l2cap_configuration_rsp(HciConnection* conn, uint8 ident,
25 status_t send_l2cap_disconnection_req(HciConnection* conn, uint8 ident, uint16 dcid, uint16 scid);
26 status_t send_l2cap_disconnection_rsp(HciConnection* conn, uint8 ident, uint16 dcid, uint16 scid);
/haiku/src/add-ons/print/transports/ipp/
H A DIppSetupDlg.cpp117 IppURLConnection conn(BUrl(url->Text()));
118 conn.setIppRequest(request);
119 conn.setRequestProperty("Connection", "close");
121 HTTP_RESPONSECODE response_code = conn.getResponseCode();
123 const char *content_type = conn.getContentType();
126 const IppContent *ipp_response = conn.getIppResponse();
138 error_msg = conn.getResponseMessage();
H A DIppTransport.cpp101 IppURLConnection conn(url);
102 conn.setIppRequest(request);
103 conn.setRequestProperty("Connection", "close");
107 HTTP_RESPONSECODE response_code = conn.getResponseCode();
109 const char *content_type = conn.getContentType();
111 const IppContent *ipp_response = conn.getIppResponse();
122 error_msg = conn.getResponseMessage();
/haiku/src/system/libnetwork/netresolv/isc/
H A Deventlib_p.h84 #define EV_CONN_SELECTED 0x0002 /*%< evSelectFD(conn->file). */
110 evConn * conn; member in struct:evAccept
/haiku/src/tests/kits/net/netservices2/
H A Dproxy.py53 conn = self._connections.get(target.netloc, None)
54 if conn is None:
55 conn = http.client.HTTPConnection(target.netloc)
84 conn.request(self.command, target_path, request_body, client_headers)
85 response = conn.getresponse()
104 conn.close()
109 self._connections[target.netloc] = conn
/haiku/src/tests/kits/net/service/
H A Dproxy.py53 conn = self._connections.get(target.netloc, None)
54 if conn is None:
55 conn = http.client.HTTPConnection(target.netloc)
84 conn.request(self.command, target_path, request_body, client_headers)
85 response = conn.getresponse()
104 conn.close()
109 self._connections[target.netloc] = conn

Completed in 116 milliseconds