Home
last modified time | relevance | path

Searched refs:l2pad (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.c156 unsigned int l2pad = (skb->len > hdr_len) ? L2PAD_SIZE(hdr_len) : 0; in rt2x00queue_insert_l2pad() local
158 if (!l2pad) in rt2x00queue_insert_l2pad()
161 skb_push(skb, l2pad); in rt2x00queue_insert_l2pad()
162 memmove(skb->data, skb->data + l2pad, hdr_len); in rt2x00queue_insert_l2pad()
167 unsigned int l2pad = (skb->len > hdr_len) ? L2PAD_SIZE(hdr_len) : 0; in rt2x00queue_remove_l2pad() local
169 if (!l2pad) in rt2x00queue_remove_l2pad()
172 memmove(skb->data + l2pad, skb->data, hdr_len); in rt2x00queue_remove_l2pad()
173 skb_pull(skb, l2pad); in rt2x00queue_remove_l2pad()