Home
last modified time | relevance | path

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

/linux/net/sctp/
H A 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()
197 if (chunk->head_skb) { in sctp_inq_pop()
200 *head_cb = SCTP_INPUT_CB(chunk->head_skb); in sctp_inq_pop()
H A 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()
H A Dsocket.c2103 struct sk_buff *skb, *head_skb; in sctp_recvmsg() local
2146 if (event->chunk && event->chunk->head_skb) in sctp_recvmsg()
2147 head_skb = event->chunk->head_skb; in sctp_recvmsg()
2149 head_skb = skb; in sctp_recvmsg()
2150 sock_recv_cmsgs(msg, sk, head_skb); in sctp_recvmsg()
2155 sp->pf->skb_msgname(head_skb, msg->msg_name, &msg->msg_namelen); in sctp_recvmsg()
H A Dsm_statefuns.c786 if (security_sctp_assoc_request(new_asoc, chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_1D_ce()
937 chunk->head_skb ?: chunk->skb)) in sctp_sf_do_5_1E_ca()
2288 chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_2_4_dupcook()
/linux/drivers/net/ethernet/huawei/hinic/
H A 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/net/core/
H A Dskbuff.c4764 * @head_skb: buffer to segment
4771 struct sk_buff *skb_segment(struct sk_buff *head_skb, in skb_segment()
4776 struct sk_buff *list_skb = skb_shinfo(head_skb)->frag_list; in skb_segment()
4777 unsigned int mss = skb_shinfo(head_skb)->gso_size; in skb_segment()
4778 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment()
4780 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment()
4783 unsigned int len = head_skb->len; in skb_segment()
4792 if ((skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY) && in skb_segment()
4793 mss != GSO_BY_FRAGS && mss != skb_headlen(head_skb)) { in skb_segment()
4768 skb_segment(struct sk_buff * head_skb,netdev_features_t features) skb_segment() argument
[all...]
/linux/drivers/net/
H A Dvirtio_net.c515 struct sk_buff *head_skb,
1171 struct sk_buff *head_skb, in xsk_append_merge_buffer() argument
1182 curr_skb = head_skb; in xsk_append_merge_buffer()
1215 curr_skb = virtnet_skb_append_frag(rq, head_skb, curr_skb, page, in xsk_append_merge_buffer()
2276 struct sk_buff *head_skb; in receive_mergeable_xdp() local
2297 head_skb = build_skb_from_xdp_buff(dev, vi, &xdp, xdp_frags_truesz); in receive_mergeable_xdp()
2298 if (unlikely(!head_skb)) in receive_mergeable_xdp()
2301 skb_mark_for_recycle(head_skb); in receive_mergeable_xdp()
2302 return head_skb; in receive_mergeable_xdp()
2324 struct sk_buff *head_skb, in virtnet_skb_append_frag() argument
2386 struct sk_buff *head_skb, *curr_skb; receive_mergeable() local
[all...]
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c4149 struct sk_buff *head_skb = skb; in hns3_add_frag()
4187 head_skb->truesize += hns3_buf_size(ring); in hns3_add_frag()
4188 head_skb->data_len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
4189 head_skb->len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
4136 struct sk_buff *head_skb = skb; hns3_add_frag() local