Searched refs:head_skb (Results 1 – 10 of 10) sorted by relevance
| /linux/net/sctp/ |
| H A D | inqueue.c | 44 if (chunk->head_skb) in sctp_inq_chunk_free() 45 chunk->skb = chunk->head_skb; in sctp_inq_chunk_free() 135 if (chunk->head_skb == chunk->skb) { in sctp_inq_pop() 172 chunk->head_skb = chunk->skb; in sctp_inq_pop() 175 if (chunk->head_skb && chunk->skb->data_len == chunk->skb->len) { in sctp_inq_pop() 200 if (chunk->head_skb) { in sctp_inq_pop() 203 *head_cb = SCTP_INPUT_CB(chunk->head_skb); in sctp_inq_pop()
|
| H A D | ulpevent.c | 90 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 D | socket.c | 2103 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 D | sm_statefuns.c | 803 if (security_sctp_assoc_request(new_asoc, chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_1D_ce() 953 chunk->head_skb ?: chunk->skb)) in sctp_sf_do_5_1E_ca() 2324 chunk->head_skb ?: chunk->skb)) { in sctp_sf_do_5_2_4_dupcook()
|
| /linux/drivers/net/ethernet/alibaba/eea/ |
| H A D | eea_rx.c | 358 struct sk_buff *head_skb; in process_remain_buf() local 365 head_skb = rx->pkt.head_skb; in process_remain_buf() 367 nr_frags = skb_shinfo(head_skb)->nr_frags; in process_remain_buf() 376 skb_add_rx_frag(head_skb, nr_frags, page, offset, ctx->len, truesize); in process_remain_buf() 381 dev_kfree_skb(rx->pkt.head_skb); in process_remain_buf() 384 rx->pkt.head_skb = NULL; in process_remain_buf() 405 rx->pkt.head_skb = skb; in process_first_buf() 497 if (rx->pkt.head_skb) { in eea_cleanrx() 498 dev_kfree_skb(rx->pkt.head_skb); in eea_cleanrx() 527 if (!ctx->more && rx->pkt.head_skb) { in eea_cleanrx() [all …]
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_rx.c | 271 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 D | skbuff.c | 4787 * @head_skb: buffer to segment 4794 struct sk_buff *skb_segment(struct sk_buff *head_skb, in skb_segment() 4799 struct sk_buff *list_skb = skb_shinfo(head_skb)->frag_list; in skb_segment() 4800 unsigned int mss = skb_shinfo(head_skb)->gso_size; in skb_segment() 4802 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment() 4804 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment() 4807 unsigned int len = head_skb->len; in skb_segment() 4816 if ((skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY) && in skb_segment() 4817 !gso_by_frags && mss != skb_headlen(head_skb)) { in skb_segment() 4790 skb_segment(struct sk_buff * head_skb,netdev_features_t features) skb_segment() argument [all...] |
| /linux/drivers/net/ |
| H A D | virtio_net.c | 515 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() 2279 struct sk_buff *head_skb; in receive_mergeable_xdp() local 2300 head_skb = build_skb_from_xdp_buff(dev, vi, &xdp, xdp_frags_truesz); in receive_mergeable_xdp() 2301 if (unlikely(!head_skb)) in receive_mergeable_xdp() 2304 skb_mark_for_recycle(head_skb); in receive_mergeable_xdp() 2305 return head_skb; in receive_mergeable_xdp() 2327 struct sk_buff *head_skb, in virtnet_skb_append_frag() argument 2389 struct sk_buff *head_skb, *curr_skb; receive_mergeable() local [all...] |
| /linux/include/net/sctp/ |
| H A D | structs.h | 565 struct sk_buff *head_skb; member 1152 return chunk->head_skb ? : skb; in sctp_gso_headskb()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 4145 struct sk_buff *head_skb = skb; in hns3_add_frag() local 4183 head_skb->truesize += hns3_buf_size(ring); in hns3_add_frag() 4184 head_skb->data_len += le16_to_cpu(desc->rx.size); in hns3_add_frag() 4185 head_skb->len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
|