• Home
  • Raw
  • Download

Lines Matching refs:skb

206 static inline struct llc_pdu_sn *llc_pdu_sn_hdr(struct sk_buff *skb)  in llc_pdu_sn_hdr()  argument
208 return (struct llc_pdu_sn *)skb_network_header(skb); in llc_pdu_sn_hdr()
218 static inline struct llc_pdu_un *llc_pdu_un_hdr(struct sk_buff *skb) in llc_pdu_un_hdr() argument
220 return (struct llc_pdu_un *)skb_network_header(skb); in llc_pdu_un_hdr()
233 static inline void llc_pdu_header_init(struct sk_buff *skb, u8 type, in llc_pdu_header_init() argument
248 skb_push(skb, hlen); in llc_pdu_header_init()
249 skb_reset_network_header(skb); in llc_pdu_header_init()
250 pdu = llc_pdu_un_hdr(skb); in llc_pdu_header_init()
263 static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) in llc_pdu_decode_sa() argument
265 memcpy(sa, eth_hdr(skb)->h_source, ETH_ALEN); in llc_pdu_decode_sa()
275 static inline void llc_pdu_decode_da(struct sk_buff *skb, u8 *da) in llc_pdu_decode_da() argument
277 memcpy(da, eth_hdr(skb)->h_dest, ETH_ALEN); in llc_pdu_decode_da()
288 static inline void llc_pdu_decode_ssap(struct sk_buff *skb, u8 *ssap) in llc_pdu_decode_ssap() argument
290 *ssap = llc_pdu_un_hdr(skb)->ssap & 0xFE; in llc_pdu_decode_ssap()
301 static inline void llc_pdu_decode_dsap(struct sk_buff *skb, u8 *dsap) in llc_pdu_decode_dsap() argument
303 *dsap = llc_pdu_un_hdr(skb)->dsap & 0xFE; in llc_pdu_decode_dsap()
312 static inline void llc_pdu_init_as_ui_cmd(struct sk_buff *skb) in llc_pdu_init_as_ui_cmd() argument
314 struct llc_pdu_un *pdu = llc_pdu_un_hdr(skb); in llc_pdu_init_as_ui_cmd()
326 static inline void llc_pdu_init_as_test_cmd(struct sk_buff *skb) in llc_pdu_init_as_test_cmd() argument
328 struct llc_pdu_un *pdu = llc_pdu_un_hdr(skb); in llc_pdu_init_as_test_cmd()
342 static inline void llc_pdu_init_as_test_rsp(struct sk_buff *skb, in llc_pdu_init_as_test_rsp() argument
345 struct llc_pdu_un *pdu = llc_pdu_un_hdr(skb); in llc_pdu_init_as_test_rsp()
356 skb_put(skb, dsize); in llc_pdu_init_as_test_rsp()
374 static inline void llc_pdu_init_as_xid_cmd(struct sk_buff *skb, in llc_pdu_init_as_xid_cmd() argument
378 struct llc_pdu_un *pdu = llc_pdu_un_hdr(skb); in llc_pdu_init_as_xid_cmd()
401 static inline void llc_pdu_init_as_xid_rsp(struct sk_buff *skb, in llc_pdu_init_as_xid_rsp() argument
405 struct llc_pdu_un *pdu = llc_pdu_un_hdr(skb); in llc_pdu_init_as_xid_rsp()
415 skb_put(skb, sizeof(struct llc_xid_info)); in llc_pdu_init_as_xid_rsp()
426 void llc_pdu_set_cmd_rsp(struct sk_buff *skb, u8 type);
427 void llc_pdu_set_pf_bit(struct sk_buff *skb, u8 bit_value);
428 void llc_pdu_decode_pf_bit(struct sk_buff *skb, u8 *pf_bit);
429 void llc_pdu_init_as_disc_cmd(struct sk_buff *skb, u8 p_bit);
430 void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr);
431 void llc_pdu_init_as_rej_cmd(struct sk_buff *skb, u8 p_bit, u8 nr);
432 void llc_pdu_init_as_rnr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr);
433 void llc_pdu_init_as_rr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr);
434 void llc_pdu_init_as_sabme_cmd(struct sk_buff *skb, u8 p_bit);
435 void llc_pdu_init_as_dm_rsp(struct sk_buff *skb, u8 f_bit);
436 void llc_pdu_init_as_frmr_rsp(struct sk_buff *skb, struct llc_pdu_sn *prev_pdu,
438 void llc_pdu_init_as_rr_rsp(struct sk_buff *skb, u8 f_bit, u8 nr);
439 void llc_pdu_init_as_rej_rsp(struct sk_buff *skb, u8 f_bit, u8 nr);
440 void llc_pdu_init_as_rnr_rsp(struct sk_buff *skb, u8 f_bit, u8 nr);
441 void llc_pdu_init_as_ua_rsp(struct sk_buff *skb, u8 f_bit);