Searched refs:hdlc_skb (Results 1 – 1 of 1) sorted by relevance
460 struct sk_buff *hdlc_skb; in HDLC_Encode() local482 hdlc_skb = dev_alloc_skb(skb->len + stuf_cnt + 6 + skb->mac_len); in HDLC_Encode()483 if (!hdlc_skb) { in HDLC_Encode()489 skb_reset_mac_header(hdlc_skb); in HDLC_Encode()490 skb_reserve(hdlc_skb, skb->mac_len); in HDLC_Encode()491 memcpy(skb_mac_header(hdlc_skb), skb_mac_header(skb), skb->mac_len); in HDLC_Encode()492 hdlc_skb->mac_len = skb->mac_len; in HDLC_Encode()495 skb_put_u8(hdlc_skb, PPP_FLAG); in HDLC_Encode()500 skb_put_u8(hdlc_skb, PPP_ESCAPE); in HDLC_Encode()501 skb_put_u8(hdlc_skb, (*skb->data++) ^ PPP_TRANS); in HDLC_Encode()[all …]