Home
last modified time | relevance | path

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

/Linux-v6.6/net/sctp/
Dinqueue.c124 if (chunk->head_skb == chunk->skb) { in sctp_inq_pop()
133 if (chunk->head_skb) in sctp_inq_pop()
134 chunk->skb = chunk->head_skb; in sctp_inq_pop()
163 chunk->head_skb = chunk->skb; in sctp_inq_pop()
166 if (chunk->head_skb && chunk->skb->data_len == chunk->skb->len) in sctp_inq_pop()
190 if (chunk->head_skb) { in sctp_inq_pop()
193 *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.c2094 struct sk_buff *skb, *head_skb; in sctp_recvmsg() local
2130 if (event->chunk && event->chunk->head_skb) in sctp_recvmsg()
2131 head_skb = event->chunk->head_skb; in sctp_recvmsg()
2133 head_skb = skb; in sctp_recvmsg()
2134 sock_recv_cmsgs(msg, sk, head_skb); in sctp_recvmsg()
2139 sp->pf->skb_msgname(head_skb, msg->msg_name, addr_len); in sctp_recvmsg()
Dsm_statefuns.c784 if (security_sctp_assoc_request(new_asoc, chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_1D_ce()
934 chunk->head_skb ?: chunk->skb)) in sctp_sf_do_5_1E_ca()
2263 if (security_sctp_assoc_request(new_asoc, chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_2_4_dupcook()
/Linux-v6.6/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-v6.6/net/core/
Dskbuff.c4426 struct sk_buff *skb_segment(struct sk_buff *head_skb, in skb_segment() argument
4431 struct sk_buff *list_skb = skb_shinfo(head_skb)->frag_list; in skb_segment()
4432 unsigned int mss = skb_shinfo(head_skb)->gso_size; in skb_segment()
4433 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment()
4435 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment()
4438 unsigned int len = head_skb->len; in skb_segment()
4447 if ((skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY) && in skb_segment()
4448 mss != GSO_BY_FRAGS && mss != skb_headlen(head_skb)) { in skb_segment()
4468 __skb_push(head_skb, doffset); in skb_segment()
4469 proto = skb_network_protocol(head_skb, NULL); in skb_segment()
[all …]
/Linux-v6.6/drivers/net/
Dvirtio_net.c1563 struct sk_buff *head_skb; in receive_mergeable_xdp() local
1584 head_skb = build_skb_from_xdp_buff(dev, vi, &xdp, xdp_frags_truesz); in receive_mergeable_xdp()
1585 if (unlikely(!head_skb)) in receive_mergeable_xdp()
1587 return head_skb; in receive_mergeable_xdp()
1621 struct sk_buff *head_skb, *curr_skb; in receive_mergeable() local
1627 head_skb = NULL; in receive_mergeable()
1643 head_skb = receive_mergeable_xdp(dev, vi, rq, xdp_prog, buf, ctx, in receive_mergeable()
1646 return head_skb; in receive_mergeable()
1651 head_skb = page_to_skb(vi, rq, page, offset, len, truesize, headroom); in receive_mergeable()
1652 curr_skb = head_skb; in receive_mergeable()
[all …]
/Linux-v6.6/include/net/sctp/
Dstructs.h577 struct sk_buff *head_skb; member
1163 return chunk->head_skb ? : skb; in sctp_gso_headskb()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4088 struct sk_buff *head_skb = skb; in hns3_add_frag() local
4126 head_skb->truesize += hns3_buf_size(ring); in hns3_add_frag()
4127 head_skb->data_len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
4128 head_skb->len += le16_to_cpu(desc->rx.size); in hns3_add_frag()