Searched refs:skbinfo (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/sunplus/ |
D | spl2sw_int.c | 141 struct spl2sw_skb_info *skbinfo; in spl2sw_tx_poll() local 158 skbinfo = &comm->tx_temp_skb_info[tx_done_pos]; in spl2sw_tx_poll() 159 if (unlikely(!skbinfo->skb)) in spl2sw_tx_poll() 172 stats->tx_bytes += skbinfo->len; in spl2sw_tx_poll() 176 dma_unmap_single(&comm->pdev->dev, skbinfo->mapping, skbinfo->len, in spl2sw_tx_poll() 178 skbinfo->mapping = 0; in spl2sw_tx_poll() 179 dev_kfree_skb_irq(skbinfo->skb); in spl2sw_tx_poll() 180 skbinfo->skb = NULL; in spl2sw_tx_poll()
|
D | spl2sw_driver.c | 70 struct spl2sw_skb_info *skbinfo; in spl2sw_ethernet_start_xmit() local 104 skbinfo = &comm->tx_temp_skb_info[tx_pos]; in spl2sw_ethernet_start_xmit() 105 skbinfo->mapping = mapping; in spl2sw_ethernet_start_xmit() 106 skbinfo->len = skb->len; in spl2sw_ethernet_start_xmit() 107 skbinfo->skb = skb; in spl2sw_ethernet_start_xmit() 117 txdesc->addr1 = skbinfo->mapping; in spl2sw_ethernet_start_xmit()
|
/linux-6.12.1/net/core/ |
D | gro.c | 96 struct skb_shared_info *pinfo, *skbinfo = skb_shinfo(skb); in skb_gro_receive() local 133 int i = skbinfo->nr_frags; in skb_gro_receive() 141 skbinfo->nr_frags = 0; in skb_gro_receive() 144 frag2 = skbinfo->frags + i; in skb_gro_receive() 169 if (nr_frags + 1 + skbinfo->nr_frags > MAX_SKB_FRAGS) in skb_gro_receive() 176 pinfo->nr_frags = nr_frags + 1 + skbinfo->nr_frags; in skb_gro_receive() 180 memcpy(frag + 1, skbinfo->frags, sizeof(*frag) * skbinfo->nr_frags); in skb_gro_receive() 198 skb_frag_off_add(&skbinfo->frags[0], eat); in skb_gro_receive() 199 skb_frag_size_sub(&skbinfo->frags[0], eat); in skb_gro_receive()
|
/linux-6.12.1/tools/testing/selftests/net/netfilter/ |
D | nf_queue.c | 100 uint32_t skbinfo = 0; in queue_cb() local 103 skbinfo = ntohl(mnl_attr_get_u32(tb[NFQA_SKB_INFO])); in queue_cb() 104 if (skbinfo & NFQA_SKB_CSUMNOTREADY) in queue_cb() 106 if (skbinfo & NFQA_SKB_GSO) in queue_cb() 108 if (skbinfo & NFQA_SKB_CSUM_NOTVERIFIED) in queue_cb()
|
/linux-6.12.1/include/linux/netfilter/ipset/ |
D | ip_set.h | 117 struct ip_set_skbinfo skbinfo; member 516 ip_set_init_skbinfo(struct ip_set_skbinfo *skbinfo, in ip_set_init_skbinfo() argument 519 *skbinfo = ext->skbinfo; in ip_set_init_skbinfo()
|
/linux-6.12.1/net/netfilter/ipset/ |
D | ip_set_core.c | 499 ext->skbinfo.skbmark = fullmark >> 32; in ip_set_get_extensions() 500 ext->skbinfo.skbmarkmask = fullmark & 0xffffffff; in ip_set_get_extensions() 505 ext->skbinfo.skbprio = in ip_set_get_extensions() 511 ext->skbinfo.skbqueue = in ip_set_get_extensions() 542 ip_set_put_skbinfo(struct sk_buff *skb, const struct ip_set_skbinfo *skbinfo) in ip_set_put_skbinfo() argument 545 return ((skbinfo->skbmark || skbinfo->skbmarkmask) && in ip_set_put_skbinfo() 547 cpu_to_be64((u64)skbinfo->skbmark << 32 | in ip_set_put_skbinfo() 548 skbinfo->skbmarkmask), in ip_set_put_skbinfo() 550 (skbinfo->skbprio && in ip_set_put_skbinfo() 552 cpu_to_be32(skbinfo->skbprio))) || in ip_set_put_skbinfo() [all …]
|
/linux-6.12.1/net/netfilter/ |
D | xt_set.c | 386 #define MOPT(opt, member) ((opt).ext.skbinfo.member)
|