Home
last modified time | relevance | path

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

/linux-6.1.9/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.c2089 struct sk_buff *skb, *head_skb; in sctp_recvmsg() local
2125 if (event->chunk && event->chunk->head_skb) in sctp_recvmsg()
2126 head_skb = event->chunk->head_skb; in sctp_recvmsg()
2128 head_skb = skb; in sctp_recvmsg()
2129 sock_recv_cmsgs(msg, sk, head_skb); in sctp_recvmsg()
2134 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-6.1.9/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.1.9/net/core/
Dskbuff.c4118 struct sk_buff *skb_segment(struct sk_buff *head_skb, in skb_segment() argument
4123 struct sk_buff *list_skb = skb_shinfo(head_skb)->frag_list; in skb_segment()
4124 skb_frag_t *frag = skb_shinfo(head_skb)->frags; in skb_segment()
4125 unsigned int mss = skb_shinfo(head_skb)->gso_size; in skb_segment()
4126 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment()
4127 struct sk_buff *frag_skb = head_skb; in skb_segment()
4129 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment()
4132 unsigned int len = head_skb->len; in skb_segment()
4135 int nfrags = skb_shinfo(head_skb)->nr_frags; in skb_segment()
4140 if ((skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY) && in skb_segment()
[all …]
/linux-6.1.9/drivers/net/
Dvirtio_net.c950 struct sk_buff *head_skb, *curr_skb; in receive_mergeable() local
958 head_skb = NULL; in receive_mergeable()
1065 head_skb = page_to_skb(vi, rq, xdp_page, offset, in receive_mergeable()
1069 return head_skb; in receive_mergeable()
1122 head_skb = page_to_skb(vi, rq, page, offset, len, truesize, !xdp_prog, in receive_mergeable()
1124 curr_skb = head_skb; in receive_mergeable()
1158 if (curr_skb == head_skb) in receive_mergeable()
1163 head_skb->truesize += nskb->truesize; in receive_mergeable()
1166 if (curr_skb != head_skb) { in receive_mergeable()
1167 head_skb->data_len += len; in receive_mergeable()
[all …]
/linux-6.1.9/include/net/sctp/
Dstructs.h576 struct sk_buff *head_skb; member
1164 return chunk->head_skb ? : skb; in sctp_gso_headskb()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c4073 struct sk_buff *head_skb = skb; in hns3_add_frag() local
4111 head_skb->truesize += hns3_buf_size(ring); in hns3_add_frag()
4112 head_skb->data_len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
4113 head_skb->len += le16_to_cpu(desc->rx.size); in hns3_add_frag()