Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
port_user.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <termios.h>
#include <unistd.h>
#include <netinet/in.h>
#include "chan_user.h"
#include <os.h>
#include "port.h"
#include <um_malloc.h>

Go to the source code of this file.

Data Structures

struct  port_chan
 
struct  port_pre_exec_data
 

Functions

int port_listen_fd (int port)
 
int port_connection (int fd, int *socket, int *pid_out)
 

Variables

struct chan_ops port_ops
 

Function Documentation

int port_connection ( int  fd,
int socket,
int pid_out 
)

Definition at line 167 of file port_user.c.

int port_listen_fd ( int  port)

Definition at line 111 of file port_user.c.

Variable Documentation

struct chan_ops port_ops
Initial value:
= {
.type = "port",
.init = port_init,
.open = port_open,
.close = port_close,
.read = generic_read,
.write = generic_write,
.console_write = generic_console_write,
.window_size = generic_window_size,
.free = port_free,
.winch = 1,
}

Definition at line 98 of file port_user.c.