Linux Kernel
3.7.1
|
#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) | |
#define dprintk | ( | args... | ) |
Definition at line 25 of file llc_input.c.
EXPORT_SYMBOL | ( | llc_add_pack | ) |
EXPORT_SYMBOL | ( | llc_remove_pack | ) |
EXPORT_SYMBOL | ( | llc_set_station_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.
Definition at line 50 of file llc_input.c.