Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
net_kern.c File Reference
#include <linux/bootmem.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/platform_device.h>
#include <linux/rtnetlink.h>
#include <linux/skbuff.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <init.h>
#include <irq_kern.h>
#include <irq_user.h>
#include "mconsole_kern.h"
#include <net_kern.h>
#include <net_user.h>

Go to the source code of this file.

Data Structures

struct  eth_init
 

Macros

#define DRIVER_NAME   "uml-netdev"
 

Functions

void register_transport (struct transport *new)
 
 __setup ("eth", eth_setup)
 
 __uml_help (eth_setup,"eth[0-9]+=<transport>,<options>\n"" Configure a network device.\n\n")
 
 __initcall (uml_net_init)
 
 __uml_exitcall (close_devices)
 
void iter_addresses (void *d, void(*cb)(unsigned char *, unsigned char *, void *), void *arg)
 
int dev_netmask (void *d, void *m)
 
voidget_output_buffer (int *len_out)
 
void free_output_buffer (void *buffer)
 
int tap_setup_common (char *str, char *type, char **dev_name, char **mac_out, char **gate_addr)
 
unsigned short eth_protocol (struct sk_buff *skb)
 

Macro Definition Documentation

#define DRIVER_NAME   "uml-netdev"

Definition at line 28 of file net_kern.c.

Function Documentation

__initcall ( uml_net_init  )
__setup ( "eth"  ,
eth_setup   
)
__uml_exitcall ( close_devices  )
__uml_help ( eth_setup  ,
"eth+  [0-9] = <transport>,
< options >\n""Configure a network device.\n\n  
)
int dev_netmask ( void d,
void m 
)

Definition at line 868 of file net_kern.c.

unsigned short eth_protocol ( struct sk_buff skb)

Definition at line 916 of file net_kern.c.

void free_output_buffer ( void buffer)

Definition at line 896 of file net_kern.c.

void* get_output_buffer ( int len_out)

Definition at line 886 of file net_kern.c.

void iter_addresses ( void d,
void(*)(unsigned char *, unsigned char *, void *)  cb,
void arg 
)

Definition at line 849 of file net_kern.c.

void register_transport ( struct transport new)

Definition at line 600 of file net_kern.c.

int tap_setup_common ( char str,
char type,
char **  dev_name,
char **  mac_out,
char **  gate_addr 
)

Definition at line 901 of file net_kern.c.