#include <net/llc.h>
#include <net/llc_if.h>
#include <net/llc_conn.h>
#include <net/llc_pdu.h>
#include <net/llc_sap.h>
#include <net/llc_s_ac.h>
#include <net/llc_s_ev.h>
#include <net/llc_s_st.h>
#include <net/sock.h>
#include <net/tcp_states.h>
#include <linux/llc.h>
#include <linux/slab.h>
Go to the source code of this file.
|
struct sk_buff * | llc_alloc_frame (struct sock *sk, struct net_device *dev, u8 type, u32 data_size) |
|
void | llc_save_primitive (struct sock *sk, struct sk_buff *skb, u8 prim) |
|
void | llc_sap_rtn_pdu (struct llc_sap *sap, struct sk_buff *skb) |
|
void | llc_build_and_send_test_pkt (struct llc_sap *sap, struct sk_buff *skb, u8 *dmac, u8 dsap) |
|
void | llc_build_and_send_xid_pkt (struct llc_sap *sap, struct sk_buff *skb, u8 *dmac, u8 dsap) |
|
void | llc_sap_handler (struct llc_sap *sap, struct sk_buff *skb) |
|
llc_alloc_frame - allocates sk_buff for frame : network device this skb will be sent over : pdu type to allocate : data size to allocate
Allocates an sk_buff for frame and initializes sk_buff fields. Returns allocated skb or NULL when out of memory.
Definition at line 47 of file llc_sap.c.
llc_build_and_send_test_pkt - TEST interface for upper layers. : sap to use : packet to send : destination mac address : destination sap
This function is called when upper layer wants to send a TEST pdu. Returns 0 for success, 1 otherwise.
Definition at line 237 of file llc_sap.c.
llc_build_and_send_xid_pkt - XID interface for upper layers : sap to use : packet to send : destination mac address : destination sap
This function is called when upper layer wants to send a XID pdu. Returns 0 for success, 1 otherwise.
Definition at line 263 of file llc_sap.c.
llc_sap_rtn_pdu - Informs upper layer on rx of an UI, XID or TEST pdu. : pointer to SAP : received pdu
Definition at line 91 of file llc_sap.c.