Lines Matching refs:skb_fragment
409 struct sk_buff *skb_fragment; in batadv_frag_create() local
413 skb_fragment = dev_alloc_skb(ll_reserved + mtu + tailroom); in batadv_frag_create()
414 if (!skb_fragment) in batadv_frag_create()
417 skb_fragment->priority = skb->priority; in batadv_frag_create()
420 skb_reserve(skb_fragment, ll_reserved + header_size); in batadv_frag_create()
421 skb_split(skb, skb_fragment, skb->len - fragment_size); in batadv_frag_create()
424 skb_push(skb_fragment, header_size); in batadv_frag_create()
425 memcpy(skb_fragment->data, frag_head, header_size); in batadv_frag_create()
428 return skb_fragment; in batadv_frag_create()
447 struct sk_buff *skb_fragment; in batadv_frag_send_packet() local
519 skb_fragment = batadv_frag_create(net_dev, skb, &frag_header, in batadv_frag_send_packet()
521 if (!skb_fragment) { in batadv_frag_send_packet()
528 skb_fragment->len + ETH_HLEN); in batadv_frag_send_packet()
529 ret = batadv_send_unicast_skb(skb_fragment, neigh_node); in batadv_frag_send_packet()