xref: /kernel/linux/linux-6.6/arch/um/drivers/port.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/um/drivers/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef __PORT_H__
762306a36Sopenharmony_ci#define __PORT_H__
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciextern void *port_data(int port);
1062306a36Sopenharmony_ciextern int port_wait(void *data);
1162306a36Sopenharmony_ciextern void port_kern_close(void *d);
1262306a36Sopenharmony_ciextern int port_connection(int fd, int *socket_out, int *pid_out);
1362306a36Sopenharmony_ciextern int port_listen_fd(int port);
1462306a36Sopenharmony_ciextern void port_read(int fd, void *data);
1562306a36Sopenharmony_ciextern void port_kern_free(void *d);
1662306a36Sopenharmony_ciextern int port_rcv_fd(int fd);
1762306a36Sopenharmony_ciextern void port_remove_dev(void *d);
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#endif
2062306a36Sopenharmony_ci
21

Indexes created Thu Nov 07 10:32:03 CST 2024