Home
last modified time | relevance | path

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

/Linux-v5.15/net/sched/
Dsch_choke.c149 static bool choke_match_flow(struct sk_buff *skb1, in choke_match_flow() argument
154 if (skb1->protocol != skb2->protocol) in choke_match_flow()
157 if (!choke_skb_cb(skb1)->keys_valid) { in choke_match_flow()
158 choke_skb_cb(skb1)->keys_valid = 1; in choke_match_flow()
159 skb_flow_dissect_flow_keys(skb1, &temp, 0); in choke_match_flow()
160 make_flow_keys_digest(&choke_skb_cb(skb1)->keys, &temp); in choke_match_flow()
169 return !memcmp(&choke_skb_cb(skb1)->keys, in choke_match_flow()
171 sizeof(choke_skb_cb(skb1)->keys)); in choke_match_flow()
/Linux-v5.15/net/llc/
Dllc_sap.c365 struct sk_buff *skb1; in llc_do_mcast() local
369 skb1 = skb_clone(skb, GFP_ATOMIC); in llc_do_mcast()
370 if (!skb1) { in llc_do_mcast()
375 llc_sap_rcv(sap, skb1, stack[i]); in llc_do_mcast()
/Linux-v5.15/net/core/
Dskbuff.c449 fclones = container_of(skb, struct sk_buff_fclones, skb1); in __alloc_skb()
704 fclones = container_of(skb, struct sk_buff_fclones, skb1); in kfree_skbmem()
1507 skb1); in skb_clone()
3366 struct sk_buff* skb1, in skb_split_inside_header() argument
3371 skb_copy_from_linear_data_offset(skb, len, skb_put(skb1, pos - len), in skb_split_inside_header()
3375 skb_shinfo(skb1)->frags[i] = skb_shinfo(skb)->frags[i]; in skb_split_inside_header()
3377 skb_shinfo(skb1)->nr_frags = skb_shinfo(skb)->nr_frags; in skb_split_inside_header()
3379 skb1->data_len = skb->data_len; in skb_split_inside_header()
3380 skb1->len += skb1->data_len; in skb_split_inside_header()
3387 struct sk_buff* skb1, in skb_split_no_header() argument
[all …]
/Linux-v5.15/net/batman-adv/
Dsend.c1057 struct sk_buff *skb1; in batadv_send_outstanding_bcast_packet() local
1076 skb1 = skb_clone(forw_packet->skb, GFP_ATOMIC); in batadv_send_outstanding_bcast_packet()
1077 if (!skb1) in batadv_send_outstanding_bcast_packet()
1080 batadv_send_broadcast_skb(skb1, forw_packet->if_outgoing); in batadv_send_outstanding_bcast_packet()
/Linux-v5.15/net/mptcp/
Dprotocol.c167 struct sk_buff *skb1; in mptcp_data_queue_ofo() local
215 skb1 = rb_to_skb(parent); in mptcp_data_queue_ofo()
216 if (before64(seq, MPTCP_SKB_CB(skb1)->map_seq)) { in mptcp_data_queue_ofo()
220 if (before64(seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
221 if (!after64(end_seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
227 if (after64(seq, MPTCP_SKB_CB(skb1)->map_seq)) { in mptcp_data_queue_ofo()
237 rb_replace_node(&skb1->rbnode, &skb->rbnode, in mptcp_data_queue_ofo()
239 mptcp_drop(sk, skb1); in mptcp_data_queue_ofo()
243 } else if (mptcp_ooo_try_coalesce(msk, skb1, skb)) { in mptcp_data_queue_ofo()
257 while ((skb1 = skb_rb_next(skb)) != NULL) { in mptcp_data_queue_ofo()
[all …]
/Linux-v5.15/net/ipv4/
Dtcp_input.c4758 struct sk_buff *skb1; in tcp_data_queue_ofo() local
4820 skb1 = rb_to_skb(parent); in tcp_data_queue_ofo()
4821 if (before(seq, TCP_SKB_CB(skb1)->seq)) { in tcp_data_queue_ofo()
4825 if (before(seq, TCP_SKB_CB(skb1)->end_seq)) { in tcp_data_queue_ofo()
4826 if (!after(end_seq, TCP_SKB_CB(skb1)->end_seq)) { in tcp_data_queue_ofo()
4835 if (after(seq, TCP_SKB_CB(skb1)->seq)) { in tcp_data_queue_ofo()
4837 tcp_dsack_set(sk, seq, TCP_SKB_CB(skb1)->end_seq); in tcp_data_queue_ofo()
4842 rb_replace_node(&skb1->rbnode, &skb->rbnode, in tcp_data_queue_ofo()
4845 TCP_SKB_CB(skb1)->seq, in tcp_data_queue_ofo()
4846 TCP_SKB_CB(skb1)->end_seq); in tcp_data_queue_ofo()
[all …]
Dicmp.c383 struct sk_buff *skb1; in icmp_push_reply() local
388 skb_queue_walk(&sk->sk_write_queue, skb1) { in icmp_push_reply()
389 csum = csum_add(csum, skb1->csum); in icmp_push_reply()
/Linux-v5.15/drivers/atm/
Diphase.c642 struct sk_buff *skb = NULL, *skb1 = NULL; in ia_tx_poll() local
667 skb1 = skb_dequeue(&iavcc->txing_skb); in ia_tx_poll()
668 while (skb1 && (skb1 != skb)) { in ia_tx_poll()
669 if (!(IA_SKB_STATE(skb1) & IA_TX_DONE)) { in ia_tx_poll()
673 if ((vcc->pop) && (skb1->len != 0)) in ia_tx_poll()
675 vcc->pop(vcc, skb1); in ia_tx_poll()
677 (long)skb1);) in ia_tx_poll()
680 dev_kfree_skb_any(skb1); in ia_tx_poll()
681 skb1 = skb_dequeue(&iavcc->txing_skb); in ia_tx_poll()
683 if (!skb1) { in ia_tx_poll()
/Linux-v5.15/drivers/net/wireless/ath/ath6kl/
Dtxrx.c1315 struct sk_buff *skb1 = NULL; in ath6kl_rx() local
1572 skb1 = skb_copy(skb, GFP_ATOMIC); in ath6kl_rx()
1583 skb1 = skb; in ath6kl_rx()
1590 if (skb1) in ath6kl_rx()
1591 ath6kl_data_tx(skb1, vif->ndev); in ath6kl_rx()
/Linux-v5.15/drivers/net/ethernet/amd/
Dni65.c1098 struct sk_buff *skb1 = p->recv_skb[p->rmdnum]; in ni65_recv_intr() local
1102 skb = skb1; in ni65_recv_intr()
/Linux-v5.15/drivers/net/ethernet/qlogic/
Dqla3xxx.c2040 struct sk_buff *skb1 = NULL, *skb2; in ql_process_macip_rx_intr() local
2054 skb1 = lrg_buf_cb1->skb; in ql_process_macip_rx_intr()
2056 if (*((u16 *) skb1->data) != 0xFFFF) in ql_process_macip_rx_intr()
2076 skb_copy_from_linear_data_offset(skb1, VLAN_ID_LEN, in ql_process_macip_rx_intr()
/Linux-v5.15/include/linux/
Dskbuff.h1128 struct sk_buff skb1; member
1149 fclones = container_of(skb, struct sk_buff_fclones, skb1); in skb_fclone_busy()
3652 void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len);
/Linux-v5.15/drivers/net/
Dvxlan.c2956 struct sk_buff *skb1; in vxlan_xmit() local
2962 skb1 = skb_clone(skb, GFP_ATOMIC); in vxlan_xmit()
2963 if (skb1) in vxlan_xmit()
2964 vxlan_xmit_one(skb1, dev, vni, rdst, did_rsc); in vxlan_xmit()
/Linux-v5.15/Documentation/networking/
Dsnmp_counter.rst729 10 to 15, skb1 has seq 10 to 13, skb2 has seq 14 to 20. The seq 14 and
730 15 in skb2 would be moved to skb1. This operation is 'shift'. If a
731 SACK block acknowledges seq 10 to 20, skb1 has seq 10 to 13, skb2 has
732 seq 14 to 20. All data in skb2 will be moved to skb1, and skb2 will be