Home
last modified time | relevance | path

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

/linux-5.19.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
2127 if (event->chunk && event->chunk->head_skb) in sctp_recvmsg()
2128 head_skb = event->chunk->head_skb; in sctp_recvmsg()
2130 head_skb = skb; in sctp_recvmsg()
2131 sock_recv_cmsgs(msg, sk, head_skb); in sctp_recvmsg()
2136 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()
935 chunk->head_skb ?: chunk->skb)) in sctp_sf_do_5_1E_ca()
2265 if (security_sctp_assoc_request(new_asoc, chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_2_4_dupcook()
/linux-5.19.10/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-5.19.10/net/core/
Dskbuff.c3982 struct sk_buff *skb_segment(struct sk_buff *head_skb, in skb_segment() argument
3987 struct sk_buff *list_skb = skb_shinfo(head_skb)->frag_list; in skb_segment()
3988 skb_frag_t *frag = skb_shinfo(head_skb)->frags; in skb_segment()
3989 unsigned int mss = skb_shinfo(head_skb)->gso_size; in skb_segment()
3990 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment()
3991 struct sk_buff *frag_skb = head_skb; in skb_segment()
3993 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment()
3996 unsigned int len = head_skb->len; in skb_segment()
3999 int nfrags = skb_shinfo(head_skb)->nr_frags; in skb_segment()
4005 (skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY)) { in skb_segment()
[all …]
/linux-5.19.10/drivers/net/
Dvirtio_net.c935 struct sk_buff *head_skb, *curr_skb; in receive_mergeable() local
943 head_skb = NULL; in receive_mergeable()
1050 head_skb = page_to_skb(vi, rq, xdp_page, offset, in receive_mergeable()
1054 return head_skb; in receive_mergeable()
1107 head_skb = page_to_skb(vi, rq, page, offset, len, truesize, !xdp_prog, in receive_mergeable()
1109 curr_skb = head_skb; in receive_mergeable()
1143 if (curr_skb == head_skb) in receive_mergeable()
1148 head_skb->truesize += nskb->truesize; in receive_mergeable()
1151 if (curr_skb != head_skb) { in receive_mergeable()
1152 head_skb->data_len += len; in receive_mergeable()
[all …]
/linux-5.19.10/include/net/sctp/
Dstructs.h576 struct sk_buff *head_skb; member
1164 return chunk->head_skb ? : skb; in sctp_gso_headskb()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4031 struct sk_buff *head_skb = skb; in hns3_add_frag() local
4069 head_skb->truesize += hns3_buf_size(ring); in hns3_add_frag()
4070 head_skb->data_len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
4071 head_skb->len += le16_to_cpu(desc->rx.size); in hns3_add_frag()