Lines Matching refs:socket
366 asocket socket; member
393 device_tracker_close( asocket* socket ) in device_tracker_close() argument
395 device_tracker* tracker = (device_tracker*) socket; in device_tracker_close()
396 asocket* peer = socket->peer; in device_tracker_close()
408 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() argument
412 device_tracker_close(socket); in device_tracker_enqueue()
418 asocket* peer = tracker->socket.peer; in device_tracker_send()
426 static void device_tracker_ready(asocket* socket) { in device_tracker_ready() argument
427 device_tracker* tracker = reinterpret_cast<device_tracker*>(socket); in device_tracker_ready()
447 tracker->socket.enqueue = device_tracker_enqueue; in create_device_tracker()
448 tracker->socket.ready = device_tracker_ready; in create_device_tracker()
449 tracker->socket.close = device_tracker_close; in create_device_tracker()
455 return &tracker->socket; in create_device_tracker()