Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
llc_input.c File Reference
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <net/net_namespace.h>
#include <net/llc.h>
#include <net/llc_pdu.h>
#include <net/llc_sap.h>

Go to the source code of this file.

Macros

#define dprintk(args...)
 

Functions

void llc_add_pack (int type, void(*handler)(struct llc_sap *sap, struct sk_buff *skb))
 
void llc_remove_pack (int type)
 
void llc_set_station_handler (void(*handler)(struct sk_buff *skb))
 
int llc_rcv (struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev)
 
 EXPORT_SYMBOL (llc_add_pack)
 
 EXPORT_SYMBOL (llc_remove_pack)
 
 EXPORT_SYMBOL (llc_set_station_handler)
 

Macro Definition Documentation

#define dprintk (   args...)

Definition at line 25 of file llc_input.c.

Function Documentation

EXPORT_SYMBOL ( llc_add_pack  )
EXPORT_SYMBOL ( llc_remove_pack  )
EXPORT_SYMBOL ( llc_set_station_handler  )
void llc_add_pack ( int  type,
void(*)(struct llc_sap *sap, struct sk_buff *skb handler 
)

Definition at line 42 of file llc_input.c.

int llc_rcv ( struct sk_buff skb,
struct net_device dev,
struct packet_type pt,
struct net_device orig_dev 
)

llc_rcv - 802.2 entry point from net lower layers : received pdu : device that receive pdu : packet type

When the system receives a 802.2 frame this function is called. It checks SAP and connection of received pdu and passes frame to llc_{station,sap,conn}_rcv for sending to proper state machine. If the frame is related to a busy connection (a connection is sending data now), it queues this frame in the connection's backlog.

Definition at line 154 of file llc_input.c.

void llc_remove_pack ( int  type)

Definition at line 50 of file llc_input.c.

void llc_set_station_handler ( void(*)(struct sk_buff *skb handler)

Definition at line 57 of file llc_input.c.