1 /* Copyright 2002 Jeff Dike
2 * Licensed under the GPL
8 #include <sys/socket.h>
11 //extern int handle_port(int fd);
12 extern void close_port(int i
, int fd
);
13 extern int setup_sock_port(int i
, int fd
, struct sockaddr_un
*name
, int data_fd
, int group
);
14 extern int setup_port(int i
, int fd
, void (*sender
)(int fd
, void *packet
, int len
,
15 void *data
), void *data
,
16 int data_len
, int portgroup
);
17 extern void handle_tap_data(int i
, int fd
, int hub
);
18 extern int handle_sock_data(int fd
, int hub
);
19 extern int handle_sock_direct_data(int i
, int fd
, int hub
);