Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
lmc_proto.c File Reference
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/ptrace.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/in.h>
#include <linux/if_arp.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/inet.h>
#include <linux/workqueue.h>
#include <linux/proc_fs.h>
#include <linux/bitops.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <linux/smp.h>
#include "lmc.h"
#include "lmc_var.h"
#include "lmc_debug.h"
#include "lmc_ioctl.h"
#include "lmc_proto.h"

Go to the source code of this file.

Functions

void lmc_proto_attach (lmc_softc_t *sc)
 
int lmc_proto_ioctl (lmc_softc_t *sc, struct ifreq *ifr, int cmd)
 
int lmc_proto_open (lmc_softc_t *sc)
 
void lmc_proto_close (lmc_softc_t *sc)
 
__be16 lmc_proto_type (lmc_softc_t *sc, struct sk_buff *skb)
 
void lmc_proto_netif (lmc_softc_t *sc, struct sk_buff *skb)
 

Function Documentation

void lmc_proto_attach ( lmc_softc_t sc)

Definition at line 50 of file lmc_proto.c.

void lmc_proto_close ( lmc_softc_t sc)

Definition at line 90 of file lmc_proto.c.

int lmc_proto_ioctl ( lmc_softc_t sc,
struct ifreq ifr,
int  cmd 
)

Definition at line 65 of file lmc_proto.c.

void lmc_proto_netif ( lmc_softc_t sc,
struct sk_buff skb 
)

Definition at line 122 of file lmc_proto.c.

int lmc_proto_open ( lmc_softc_t sc)

Definition at line 73 of file lmc_proto.c.

__be16 lmc_proto_type ( lmc_softc_t sc,
struct sk_buff skb 
)

Definition at line 100 of file lmc_proto.c.