Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
usbipd.c File Reference
#include <errno.h>
#include <unistd.h>
#include <netdb.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <getopt.h>
#include <glib.h>
#include <signal.h>
#include "usbip_host_driver.h"
#include "usbip_common.h"
#include "usbip_network.h"

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 
#define PROGNAME   "usbipd"
 
#define MAXSOCKFD   20
 

Functions

gboolean process_request (GIOChannel *gio, GIOCondition condition, gpointer unused_data)
 
int main (int argc, char *argv[])
 

Variables

GMainLoop * main_loop
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 38 of file usbipd.c.

#define MAXSOCKFD   20

Definition at line 49 of file usbipd.c.

#define PROGNAME   "usbipd"

Definition at line 48 of file usbipd.c.

Function Documentation

int main ( int  argc,
char argv[] 
)

Definition at line 496 of file usbipd.c.

gboolean process_request ( GIOChannel *  gio,
GIOCondition  condition,
gpointer  unused_data 
)

Definition at line 313 of file usbipd.c.

Variable Documentation

GMainLoop* main_loop

Definition at line 51 of file usbipd.c.