Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
pcap_user.c File Reference
#include <errno.h>
#include <pcap.h>
#include <string.h>
#include <asm/types.h>
#include <net_user.h>
#include "pcap_user.h"
#include <um_malloc.h>

Go to the source code of this file.

Data Structures

struct  pcap_handler_data
 

Macros

#define PCAP_FD(p)   (*(int *)(p))
 

Functions

int pcap_user_read (int fd, void *buffer, int len, struct pcap_data *pri)
 

Variables

struct net_user_info pcap_user_info
 

Macro Definition Documentation

#define PCAP_FD (   p)    (*(int *)(p))

Definition at line 14 of file pcap_user.c.

Function Documentation

int pcap_user_read ( int  fd,
void buffer,
int  len,
struct pcap_data pri 
)

Definition at line 110 of file pcap_user.c.

Variable Documentation

struct net_user_info pcap_user_info
Initial value:
= {
.init = pcap_user_init,
.open = pcap_open,
.close = NULL,
.remove = pcap_remove,
.add_address = NULL,
.delete_address = NULL,
}

Definition at line 128 of file pcap_user.c.