Home
last modified time | relevance | path

Searched refs:head_skb (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/net/sctp/
Dinqueue.c44 if (chunk->head_skb) in sctp_inq_chunk_free()
45 chunk->skb = chunk->head_skb; in sctp_inq_chunk_free()
132 if (chunk->head_skb == chunk->skb) { in sctp_inq_pop()
169 chunk->head_skb = chunk->skb; in sctp_inq_pop()
172 if (chunk->head_skb && chunk->skb->data_len == chunk->skb->len) in sctp_inq_pop()
196 if (chunk->head_skb) { in sctp_inq_pop()
199 *head_cb = SCTP_INPUT_CB(chunk->head_skb); in sctp_inq_pop()
Dulpevent.c90 if (chunk && chunk->head_skb && !chunk->head_skb->sk) in sctp_ulpevent_set_owner()
91 chunk->head_skb->sk = asoc->base.sk; in sctp_ulpevent_set_owner()
Dsocket.c2095 struct sk_buff *skb, *head_skb; in sctp_recvmsg() local
2138 if (event->chunk && event->chunk->head_skb) in sctp_recvmsg()
2139 head_skb = event->chunk->head_skb; in sctp_recvmsg()
2141 head_skb = skb; in sctp_recvmsg()
2142 sock_recv_cmsgs(msg, sk, head_skb); in sctp_recvmsg()
2147 sp->pf->skb_msgname(head_skb, msg->msg_name, addr_len); in sctp_recvmsg()
Dsm_statefuns.c785 if (security_sctp_assoc_request(new_asoc, chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_1D_ce()
935 chunk->head_skb ?: chunk->skb)) in sctp_sf_do_5_1E_ca()
2280 chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_2_4_dupcook()
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c271 static int rx_recv_jumbo_pkt(struct hinic_rxq *rxq, struct sk_buff *head_skb, in rx_recv_jumbo_pkt() argument
274 struct sk_buff *skb, *curr_skb = head_skb; in rx_recv_jumbo_pkt()
299 if (curr_skb == head_skb) in rx_recv_jumbo_pkt()
300 skb_shinfo(head_skb)->frag_list = skb; in rx_recv_jumbo_pkt()
304 head_skb->len += skb->len; in rx_recv_jumbo_pkt()
305 head_skb->data_len += skb->len; in rx_recv_jumbo_pkt()
306 head_skb->truesize += skb->truesize; in rx_recv_jumbo_pkt()
/linux-6.12.1/net/core/
Dskbuff.c4691 struct sk_buff *skb_segment(struct sk_buff *head_skb, in skb_segment() argument
4696 struct sk_buff *list_skb = skb_shinfo(head_skb)->frag_list; in skb_segment()
4697 unsigned int mss = skb_shinfo(head_skb)->gso_size; in skb_segment()
4698 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment()
4700 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment()
4703 unsigned int len = head_skb->len; in skb_segment()
4712 if ((skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY) && in skb_segment()
4713 mss != GSO_BY_FRAGS && mss != skb_headlen(head_skb)) { in skb_segment()
4733 __skb_push(head_skb, doffset); in skb_segment()
4734 proto = skb_network_protocol(head_skb, NULL); in skb_segment()
[all …]
/linux-6.12.1/drivers/net/
Dvirtio_net.c511 static struct sk_buff *virtnet_skb_append_frag(struct sk_buff *head_skb,
1204 struct sk_buff *head_skb, in xsk_append_merge_buffer() argument
1215 curr_skb = head_skb; in xsk_append_merge_buffer()
1248 curr_skb = virtnet_skb_append_frag(head_skb, curr_skb, page, in xsk_append_merge_buffer()
2147 struct sk_buff *head_skb; in receive_mergeable_xdp() local
2168 head_skb = build_skb_from_xdp_buff(dev, vi, &xdp, xdp_frags_truesz); in receive_mergeable_xdp()
2169 if (unlikely(!head_skb)) in receive_mergeable_xdp()
2171 return head_skb; in receive_mergeable_xdp()
2192 static struct sk_buff *virtnet_skb_append_frag(struct sk_buff *head_skb, in virtnet_skb_append_frag() argument
2207 if (curr_skb == head_skb) in virtnet_skb_append_frag()
[all …]
/linux-6.12.1/include/net/sctp/
Dstructs.h574 struct sk_buff *head_skb; member
1160 return chunk->head_skb ? : skb; in sctp_gso_headskb()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4087 struct sk_buff *head_skb = skb; in hns3_add_frag() local
4125 head_skb->truesize += hns3_buf_size(ring); in hns3_add_frag()
4126 head_skb->data_len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
4127 head_skb->len += le16_to_cpu(desc->rx.size); in hns3_add_frag()