#include <linux/netdevice.h>
#include <net/llc_pdu.h>
Go to the source code of this file.
|
void | llc_pdu_set_cmd_rsp (struct sk_buff *skb, u8 pdu_type) |
|
void | llc_pdu_set_pf_bit (struct sk_buff *skb, u8 bit_value) |
|
void | llc_pdu_decode_pf_bit (struct sk_buff *skb, u8 *pf_bit) |
|
void | llc_pdu_init_as_disc_cmd (struct sk_buff *skb, u8 p_bit) |
|
void | llc_pdu_init_as_i_cmd (struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr) |
|
void | llc_pdu_init_as_rej_cmd (struct sk_buff *skb, u8 p_bit, u8 nr) |
|
void | llc_pdu_init_as_rnr_cmd (struct sk_buff *skb, u8 p_bit, u8 nr) |
|
void | llc_pdu_init_as_rr_cmd (struct sk_buff *skb, u8 p_bit, u8 nr) |
|
void | llc_pdu_init_as_sabme_cmd (struct sk_buff *skb, u8 p_bit) |
|
void | llc_pdu_init_as_dm_rsp (struct sk_buff *skb, u8 f_bit) |
|
void | llc_pdu_init_as_frmr_rsp (struct sk_buff *skb, struct llc_pdu_sn *prev_pdu, u8 f_bit, u8 vs, u8 vr, u8 vzyxw) |
|
void | llc_pdu_init_as_rr_rsp (struct sk_buff *skb, u8 f_bit, u8 nr) |
|
void | llc_pdu_init_as_rej_rsp (struct sk_buff *skb, u8 f_bit, u8 nr) |
|
void | llc_pdu_init_as_rnr_rsp (struct sk_buff *skb, u8 f_bit, u8 nr) |
|
void | llc_pdu_init_as_ua_rsp (struct sk_buff *skb, u8 f_bit) |
|
llc_pdu_decode_pf_bit - extracs poll/final bit from LLC header : input skb that p/f bit must be extracted from it : poll/final bit (0 or 1)
This function extracts poll/final bit from LLC header (based on type of PDU). In I or S pdus, p/f bit is right bit of fourth byte in header. In U pdus p/f bit is fifth bit of third byte.
Definition at line 63 of file llc_pdu.c.
llc_pdu_init_as_disc_cmd - Builds DISC PDU : Address of the skb to build : The P bit to set in the PDU
Builds a pdu frame as a DISC command.
Definition at line 89 of file llc_pdu.c.
llc_pdu_init_as_dm_rsp - builds DM response pdu : Address of the skb to build : The F bit to set in the PDU
Builds a pdu frame as a DM response.
Definition at line 200 of file llc_pdu.c.
llc_pdu_init_as_frmr_rsp - builds FRMR response PDU : Address of the frame to build : The rejected PDU frame : The F bit to set in the PDU : tx state vari value for the data link conn at the rejecting LLC : rx state var value for the data link conn at the rejecting LLC : completely described in the IEEE Std 802.2 document (Pg 55)
Builds a pdu frame as a FRMR response.
Definition at line 220 of file llc_pdu.c.
llc_pdu_init_as_i_cmd - builds I pdu : Address of the skb to build : The P bit to set in the PDU : The sequence number of the data PDU : The seq. number of the expected I PDU from the remote
Builds a pdu frame as an I command.
Definition at line 107 of file llc_pdu.c.
llc_pdu_init_as_rej_cmd - builds REJ PDU : Address of the skb to build : The P bit to set in the PDU : The seq. number of the expected I PDU from the remote
Builds a pdu frame as a REJ command.
Definition at line 126 of file llc_pdu.c.
llc_pdu_init_as_rej_rsp - builds REJ response pdu : Address of the skb to build : The F bit to set in the PDU : The seq. number of the expected data PDU from the remote
Builds a pdu frame as a REJ response.
Definition at line 275 of file llc_pdu.c.
llc_pdu_init_as_rnr_cmd - builds RNR pdu : Address of the skb to build : The P bit to set in the PDU : The seq. number of the expected I PDU from the remote
Builds a pdu frame as an RNR command.
Definition at line 146 of file llc_pdu.c.
llc_pdu_init_as_rnr_rsp - builds RNR response pdu : Address of the frame to build : The F bit to set in the PDU : The seq. number of the expected data PDU from the remote
Builds a pdu frame as an RNR response.
Definition at line 295 of file llc_pdu.c.
llc_pdu_init_as_rr_cmd - Builds RR pdu : Address of the skb to build : The P bit to set in the PDU : The seq. number of the expected I PDU from the remote
Builds a pdu frame as an RR command.
Definition at line 166 of file llc_pdu.c.
llc_pdu_init_as_rr_rsp - builds RR response pdu : Address of the skb to build : The F bit to set in the PDU : The seq. number of the expected data PDU from the remote
Builds a pdu frame as an RR response.
Definition at line 255 of file llc_pdu.c.
llc_pdu_init_as_sabme_cmd - builds SABME pdu : Address of the skb to build : The P bit to set in the PDU
Builds a pdu frame as an SABME command.
Definition at line 184 of file llc_pdu.c.
llc_pdu_init_as_ua_rsp - builds UA response pdu : Address of the frame to build : The F bit to set in the PDU
Builds a pdu frame as a UA response.
Definition at line 314 of file llc_pdu.c.
pdu_set_pf_bit - sets poll/final bit in LLC header : input frame that p/f bit must be set into it. : poll/final bit (0 or 1).
This function sets poll/final bit in LLC header (based on type of PDU). in I or S pdus, p/f bit is right bit of fourth byte in header. in U pdus p/f bit is fifth bit of third byte.
Definition at line 35 of file llc_pdu.c.