Lines Matching defs:llc_sock
32 struct llc_sock { struct
34 struct sock sk;
35 struct sockaddr_llc addr; /* address sock is bound to */
36 u8 state; /* state of connection */
37 struct llc_sap *sap; /* pointer to parent SAP */
38 struct llc_addr laddr; /* lsap/mac pair */
39 struct llc_addr daddr; /* dsap/mac pair */
40 struct net_device *dev; /* device to send to remote */
41 u32 copied_seq; /* head of yet unread data */
42 u8 retry_count; /* number of retries */
43 u8 ack_must_be_send;
44 u8 first_pdu_Ns;
45 u8 npta;
46 struct llc_timer ack_timer;
47 struct llc_timer pf_cycle_timer;
48 struct llc_timer rej_sent_timer;
49 struct llc_timer busy_state_timer; /* ind busy clr at remote LLC */
50 u8 vS; /* seq# next in-seq I-PDU tx'd*/
51 u8 vR; /* seq# next in-seq I-PDU rx'd*/
52 u32 n2; /* max nbr re-tx's for timeout*/
53 u32 n1; /* max nbr octets in I PDU */
54 u8 k; /* tx window size; max = 127 */
55 u8 rw; /* rx window size; max = 127 */
56 u8 p_flag; /* state flags */
57 u8 f_flag;
58 u8 s_flag;
59 u8 data_flag;
83 static inline struct llc_sock *llc_sk(const struct sock *sk) in llc_sk() argument