Home
last modified time | relevance | path

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

/linux-6.6.21/net/sched/
Dsch_choke.c148 static bool choke_match_flow(struct sk_buff *skb1, in choke_match_flow() argument
153 if (skb1->protocol != skb2->protocol) in choke_match_flow()
156 if (!choke_skb_cb(skb1)->keys_valid) { in choke_match_flow()
157 choke_skb_cb(skb1)->keys_valid = 1; in choke_match_flow()
158 skb_flow_dissect_flow_keys(skb1, &temp, 0); in choke_match_flow()
159 make_flow_keys_digest(&choke_skb_cb(skb1)->keys, &temp); in choke_match_flow()
168 return !memcmp(&choke_skb_cb(skb1)->keys, in choke_match_flow()
170 sizeof(choke_skb_cb(skb1)->keys)); in choke_match_flow()
/linux-6.6.21/net/llc/
Dllc_sap.c369 struct sk_buff *skb1; in llc_do_mcast() local
373 skb1 = skb_clone(skb, GFP_ATOMIC); in llc_do_mcast()
374 if (!skb1) { in llc_do_mcast()
379 llc_sap_rcv(sap, skb1, stack[i]); in llc_do_mcast()
/linux-6.6.21/net/core/
Dskbuff.c671 fclones = container_of(skb, struct sk_buff_fclones, skb1); in __alloc_skb()
1014 fclones = container_of(skb, struct sk_buff_fclones, skb1); in kfree_skbmem()
1896 skb1); in skb_clone()
3858 struct sk_buff* skb1, in skb_split_inside_header() argument
3863 skb_copy_from_linear_data_offset(skb, len, skb_put(skb1, pos - len), in skb_split_inside_header()
3867 skb_shinfo(skb1)->frags[i] = skb_shinfo(skb)->frags[i]; in skb_split_inside_header()
3869 skb_shinfo(skb1)->nr_frags = skb_shinfo(skb)->nr_frags; in skb_split_inside_header()
3871 skb1->data_len = skb->data_len; in skb_split_inside_header()
3872 skb1->len += skb1->data_len; in skb_split_inside_header()
3879 struct sk_buff* skb1, in skb_split_no_header() argument
[all …]
/linux-6.6.21/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-6.6.21/net/ipv4/
Dtcp_input.c4825 struct sk_buff *skb1; in tcp_data_queue_ofo() local
4887 skb1 = rb_to_skb(parent); in tcp_data_queue_ofo()
4888 if (before(seq, TCP_SKB_CB(skb1)->seq)) { in tcp_data_queue_ofo()
4892 if (before(seq, TCP_SKB_CB(skb1)->end_seq)) { in tcp_data_queue_ofo()
4893 if (!after(end_seq, TCP_SKB_CB(skb1)->end_seq)) { in tcp_data_queue_ofo()
4903 if (after(seq, TCP_SKB_CB(skb1)->seq)) { in tcp_data_queue_ofo()
4905 tcp_dsack_set(sk, seq, TCP_SKB_CB(skb1)->end_seq); in tcp_data_queue_ofo()
4910 rb_replace_node(&skb1->rbnode, &skb->rbnode, in tcp_data_queue_ofo()
4913 TCP_SKB_CB(skb1)->seq, in tcp_data_queue_ofo()
4914 TCP_SKB_CB(skb1)->end_seq); in tcp_data_queue_ofo()
[all …]
Dicmp.c379 struct sk_buff *skb1; in icmp_push_reply() local
384 skb_queue_walk(&sk->sk_write_queue, skb1) { in icmp_push_reply()
385 csum = csum_add(csum, skb1->csum); in icmp_push_reply()
/linux-6.6.21/net/mptcp/
Dprotocol.c230 struct sk_buff *skb1; in mptcp_data_queue_ofo() local
278 skb1 = rb_to_skb(parent); in mptcp_data_queue_ofo()
279 if (before64(seq, MPTCP_SKB_CB(skb1)->map_seq)) { in mptcp_data_queue_ofo()
283 if (before64(seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
284 if (!after64(end_seq, MPTCP_SKB_CB(skb1)->end_seq)) { in mptcp_data_queue_ofo()
290 if (after64(seq, MPTCP_SKB_CB(skb1)->map_seq)) { in mptcp_data_queue_ofo()
300 rb_replace_node(&skb1->rbnode, &skb->rbnode, in mptcp_data_queue_ofo()
302 mptcp_drop(sk, skb1); in mptcp_data_queue_ofo()
306 } else if (mptcp_ooo_try_coalesce(msk, skb1, skb)) { in mptcp_data_queue_ofo()
320 while ((skb1 = skb_rb_next(skb)) != NULL) { in mptcp_data_queue_ofo()
[all …]
/linux-6.6.21/drivers/atm/
Diphase.c640 struct sk_buff *skb = NULL, *skb1 = NULL; in ia_tx_poll() local
665 skb1 = skb_dequeue(&iavcc->txing_skb); in ia_tx_poll()
666 while (skb1 && (skb1 != skb)) { in ia_tx_poll()
667 if (!(IA_SKB_STATE(skb1) & IA_TX_DONE)) { in ia_tx_poll()
671 if ((vcc->pop) && (skb1->len != 0)) in ia_tx_poll()
673 vcc->pop(vcc, skb1); in ia_tx_poll()
675 (long)skb1);) in ia_tx_poll()
678 dev_kfree_skb_any(skb1); in ia_tx_poll()
679 skb1 = skb_dequeue(&iavcc->txing_skb); in ia_tx_poll()
681 if (!skb1) { in ia_tx_poll()
/linux-6.6.21/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-6.6.21/drivers/net/vxlan/
Dvxlan_mdb.c1388 struct sk_buff *skb1; in vxlan_mdb_xmit() local
1400 skb1 = skb_clone(skb, GFP_ATOMIC); in vxlan_mdb_xmit()
1401 if (skb1) in vxlan_mdb_xmit()
1402 vxlan_xmit_one(skb1, vxlan->dev, src_vni, in vxlan_mdb_xmit()
Dvxlan_core.c2856 struct sk_buff *skb1; in vxlan_xmit() local
2862 skb1 = skb_clone(skb, GFP_ATOMIC); in vxlan_xmit()
2863 if (skb1) in vxlan_xmit()
2864 vxlan_xmit_one(skb1, dev, vni, rdst, did_rsc); in vxlan_xmit()
/linux-6.6.21/include/linux/
Dskbuff.h1298 struct sk_buff skb1; member
1319 fclones = container_of(skb, struct sk_buff_fclones, skb1); in skb_fclone_busy()
1588 static inline int skb_cmp_decrypted(const struct sk_buff *skb1, in skb_cmp_decrypted() argument
1592 return skb2->decrypted - skb1->decrypted; in skb_cmp_decrypted()
1685 static inline bool skb_pure_zcopy_same(const struct sk_buff *skb1, in skb_pure_zcopy_same() argument
1688 return skb_zcopy_pure(skb1) == skb_zcopy_pure(skb2); in skb_pure_zcopy_same()
3989 void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len);
/linux-6.6.21/drivers/net/ethernet/qlogic/
Dqla3xxx.c2042 struct sk_buff *skb1 = NULL, *skb2; in ql_process_macip_rx_intr() local
2056 skb1 = lrg_buf_cb1->skb; in ql_process_macip_rx_intr()
2058 if (*((u16 *) skb1->data) != 0xFFFF) in ql_process_macip_rx_intr()
2078 skb_copy_from_linear_data_offset(skb1, VLAN_ID_LEN, in ql_process_macip_rx_intr()
/linux-6.6.21/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