Searched refs:skb_src (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/wireless/mwifiex/
H A D11n_aggr.c48 struct sk_buff *skb_src, int *pad) mwifiex_11n_form_amsdu_pkt()
69 memcpy(&tx_header->eth803_hdr, skb_src->data, dt_offset); mwifiex_11n_form_amsdu_pkt()
72 snap.snap_type = ((struct ethhdr *)skb_src->data)->h_proto; mwifiex_11n_form_amsdu_pkt()
78 skb_pull(skb_src, dt_offset); mwifiex_11n_form_amsdu_pkt()
81 tx_header->eth803_hdr.h_proto = htons(skb_src->len + LLC_SNAP_LEN); mwifiex_11n_form_amsdu_pkt()
84 memcpy(skb_put(skb_aggr, skb_src->len), skb_src->data, skb_src->len); mwifiex_11n_form_amsdu_pkt()
171 struct sk_buff *skb_aggr, *skb_src; variable in typeref:struct:
179 skb_src = skb_peek(&pra_list->skb_head);
180 if (!skb_src) {
186 tx_info_src = MWIFIEX_SKB_TXCB(skb_src);
205 skb_aggr->priority = skb_src->priority;
212 if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))
215 skb_src = skb_dequeue(&pra_list->skb_head);
221 mwifiex_11n_form_amsdu_pkt(skb_aggr, skb_src, &pad);
223 mwifiex_write_data_complete(adapter, skb_src, 0, 0);
239 skb_src = skb_peek(&pra_list->skb_head);
241 } while (skb_src);
266 if (skb_src)
268 skb_src->len + sizeof(struct txpd);
47 mwifiex_11n_form_amsdu_pkt(struct sk_buff *skb_aggr, struct sk_buff *skb_src, int *pad) mwifiex_11n_form_amsdu_pkt() argument
/linux-4.1.27/net/batman-adv/
H A Dnetwork-coding.c1016 struct sk_buff *skb_dest, *skb_src; batadv_nc_code_packets() local
1094 skb_src = skb; batadv_nc_code_packets()
1097 skb_src = nc_packet->skb; batadv_nc_code_packets()
1101 coding_len = skb_src->len - unicast_size; batadv_nc_code_packets()
1103 if (skb_linearize(skb_dest) < 0 || skb_linearize(skb_src) < 0) batadv_nc_code_packets()
1130 /* This is where the magic happens: Code skb_src into skb_dest */ batadv_nc_code_packets()
1132 skb_src->data + unicast_size, coding_len); batadv_nc_code_packets()
1135 if (BATADV_SKB_CB(skb_src)->decoded && batadv_nc_code_packets()
1138 count = skb_src->len + ETH_HLEN; batadv_nc_code_packets()
1142 } else if (!BATADV_SKB_CB(skb_src)->decoded && batadv_nc_code_packets()
1145 count = skb_src->len + ETH_HLEN; batadv_nc_code_packets()
1149 } else if (BATADV_SKB_CB(skb_src)->decoded && batadv_nc_code_packets()
1151 /* skb_src recoded and skb_dest is newly coded */ batadv_nc_code_packets()
1154 skb_src->len + ETH_HLEN); batadv_nc_code_packets()
1158 } else if (!BATADV_SKB_CB(skb_src)->decoded && batadv_nc_code_packets()
1160 /* skb_src is newly coded and skb_dest is recoded */ batadv_nc_code_packets()
1163 skb_src->len + ETH_HLEN); batadv_nc_code_packets()
1169 /* skb_src is now coded into skb_dest, so free it */ batadv_nc_code_packets()
1170 kfree_skb(skb_src); batadv_nc_code_packets()

Completed in 100 milliseconds