Home
last modified time | relevance | path

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

/net/dsa/
Dtag_dsa.c16 #define DSA_HLEN 4 macro
47 if (skb_cow_head(skb, DSA_HLEN) < 0) in dsa_xmit()
49 skb_push(skb, DSA_HLEN); in dsa_xmit()
51 memmove(skb->data, skb->data + DSA_HLEN, 2 * ETH_ALEN); in dsa_xmit()
86 if (unlikely(!pskb_may_pull(skb, DSA_HLEN))) in dsa_rcv()
155 memcpy(dsa_header, new_header, DSA_HLEN); in dsa_rcv()
160 skb_pull_rcsum(skb, DSA_HLEN); in dsa_rcv()
162 skb->data - ETH_HLEN - DSA_HLEN, in dsa_rcv()
Dtag_edsa.c16 #define DSA_HLEN 4 macro
31 if (skb_cow_head(skb, DSA_HLEN) < 0) in edsa_xmit()
33 skb_push(skb, DSA_HLEN); in edsa_xmit()
35 memmove(skb->data, skb->data + DSA_HLEN, 2 * ETH_ALEN); in edsa_xmit()
158 skb_pull_rcsum(skb, DSA_HLEN); in edsa_rcv()
170 memcpy(edsa_header, new_header, DSA_HLEN); in edsa_rcv()
173 skb->data - ETH_HLEN - DSA_HLEN, in edsa_rcv()