Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c2091 struct sk_buff *skb, *head_skb; in sctp_recvmsg() local
2128 if (event->chunk && event->chunk->head_skb) in sctp_recvmsg()
2129 head_skb = event->chunk->head_skb; in sctp_recvmsg()
2131 head_skb = skb; in sctp_recvmsg()
2132 sock_recv_ts_and_drops(msg, sk, head_skb); in sctp_recvmsg()
2137 sp->pf->skb_msgname(head_skb, msg->msg_name, addr_len); in sctp_recvmsg()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_rx.c276 static int rx_recv_jumbo_pkt(struct hinic_rxq *rxq, struct sk_buff *head_skb, in rx_recv_jumbo_pkt() argument
279 struct sk_buff *skb, *curr_skb = head_skb; in rx_recv_jumbo_pkt()
304 if (curr_skb == head_skb) in rx_recv_jumbo_pkt()
305 skb_shinfo(head_skb)->frag_list = skb; in rx_recv_jumbo_pkt()
309 head_skb->len += skb->len; in rx_recv_jumbo_pkt()
310 head_skb->data_len += skb->len; in rx_recv_jumbo_pkt()
311 head_skb->truesize += skb->truesize; in rx_recv_jumbo_pkt()
/kernel/linux/linux-5.10/net/core/
Dskbuff.c3790 struct sk_buff *skb_segment(struct sk_buff *head_skb, in skb_segment() argument
3795 struct sk_buff *list_skb = skb_shinfo(head_skb)->frag_list; in skb_segment()
3796 skb_frag_t *frag = skb_shinfo(head_skb)->frags; in skb_segment()
3797 unsigned int mss = skb_shinfo(head_skb)->gso_size; in skb_segment()
3798 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment()
3799 struct sk_buff *frag_skb = head_skb; in skb_segment()
3801 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment()
3804 unsigned int len = head_skb->len; in skb_segment()
3807 int nfrags = skb_shinfo(head_skb)->nr_frags; in skb_segment()
3813 (skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY)) { in skb_segment()
[all …]
/kernel/linux/linux-5.10/drivers/net/
Dvirtio_net.c848 struct sk_buff *head_skb, *curr_skb; in receive_mergeable() local
856 head_skb = NULL; in receive_mergeable()
942 head_skb = page_to_skb(vi, rq, xdp_page, offset, in receive_mergeable()
945 return head_skb; in receive_mergeable()
992 head_skb = page_to_skb(vi, rq, page, offset, len, truesize, !xdp_prog, in receive_mergeable()
994 curr_skb = head_skb; in receive_mergeable()
1028 if (curr_skb == head_skb) in receive_mergeable()
1033 head_skb->truesize += nskb->truesize; in receive_mergeable()
1036 if (curr_skb != head_skb) { in receive_mergeable()
1037 head_skb->data_len += len; in receive_mergeable()
[all …]
/kernel/linux/linux-5.10/include/net/sctp/
Dstructs.h571 struct sk_buff *head_skb; member
1139 return chunk->head_skb ? : skb; in sctp_gso_headskb()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2978 struct sk_buff *head_skb = skb; in hns3_add_frag() local
3012 head_skb->truesize += hns3_buf_size(ring); in hns3_add_frag()
3013 head_skb->data_len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
3014 head_skb->len += le16_to_cpu(desc->rx.size); in hns3_add_frag()