/net/ipv6/ |
D | reassembly.c | 132 struct inet_frags *frags) in ip6_expire_frag_queue() argument 141 inet_frag_kill(&fq->q, frags); in ip6_expire_frag_queue() 169 inet_frag_put(&fq->q, frags); in ip6_expire_frag_queue() 179 net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_expire() 201 q = inet_frag_find(&net->ipv6.frags, &ip6_frags, &arg, hash); in fq_find() 382 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm() 444 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in ip6_frag_reasm() 592 .data = &init_net.ipv6.frags.high_thresh, 596 .extra1 = &init_net.ipv6.frags.low_thresh 600 .data = &init_net.ipv6.frags.low_thresh, [all …]
|
D | udp.c | 902 struct sk_buff *frags = skb_shinfo(skb)->frag_list; in udp6_hwcsum_outgoing() local 905 if (!frags) { in udp6_hwcsum_outgoing() 923 csum = csum_add(csum, frags->csum); in udp6_hwcsum_outgoing() 924 } while ((frags = frags->next)); in udp6_hwcsum_outgoing()
|
D | ip6_output.c | 1591 skb_frag_size_add(&skb_shinfo(skb)->frags[i - 1], copy); in __ip6_append_data()
|
/net/ieee802154/6lowpan/ |
D | reassembly.c | 89 net = container_of(fq->q.net, struct net, ieee802154_lowpan.frags); in lowpan_frag_expire() 120 q = inet_frag_find(&ieee802154_lowpan->frags, in fq_find() 274 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in lowpan_frag_reasm() 455 .data = &init_net.ieee802154_lowpan.frags.high_thresh, 459 .extra1 = &init_net.ieee802154_lowpan.frags.low_thresh 463 .data = &init_net.ieee802154_lowpan.frags.low_thresh, 468 .extra2 = &init_net.ieee802154_lowpan.frags.high_thresh 472 .data = &init_net.ieee802154_lowpan.frags.timeout, 507 table[0].data = &ieee802154_lowpan->frags.high_thresh; in lowpan_frags_ns_sysctl_register() 508 table[0].extra1 = &ieee802154_lowpan->frags.low_thresh; in lowpan_frags_ns_sysctl_register() [all …]
|
/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 71 .data = &init_net.nf_frag.frags.timeout, 78 .data = &init_net.nf_frag.frags.low_thresh, 83 .extra2 = &init_net.nf_frag.frags.high_thresh 87 .data = &init_net.nf_frag.frags.high_thresh, 91 .extra1 = &init_net.nf_frag.frags.low_thresh 108 table[0].data = &net->nf_frag.frags.timeout; in nf_ct_frag6_sysctl_register() 109 table[1].data = &net->nf_frag.frags.low_thresh; in nf_ct_frag6_sysctl_register() 110 table[1].extra2 = &net->nf_frag.frags.high_thresh; in nf_ct_frag6_sysctl_register() 111 table[2].data = &net->nf_frag.frags.high_thresh; in nf_ct_frag6_sysctl_register() 112 table[2].extra1 = &net->nf_frag.frags.low_thresh; in nf_ct_frag6_sysctl_register() [all …]
|
/net/ipv4/ |
D | ip_fragment.c | 93 return sum_frag_mem_limit(&net->ipv4.frags); in ip_frag_mem() 139 frags); in ip4_frag_init() 199 net = container_of(qp->q.net, struct net, ipv4.frags); in ip_expire() 273 q = inet_frag_find(&net->ipv4.frags, &ip4_frags, &arg, hash); in ip_find() 302 net = container_of(qp->q.net, struct net, ipv4.frags); in ip_frag_too_far() 534 struct net *net = container_of(qp->q.net, struct net, ipv4.frags); in ip_frag_reasm() 598 plen += skb_frag_size(&skb_shinfo(head)->frags[i]); in ip_frag_reasm() 737 .data = &init_net.ipv4.frags.high_thresh, 741 .extra1 = &init_net.ipv4.frags.low_thresh 745 .data = &init_net.ipv4.frags.low_thresh, [all …]
|
D | udp.c | 742 struct sk_buff *frags; in udp4_hwcsum() local 749 skb_walk_frags(skb, frags) { in udp4_hwcsum() 750 csum = csum_add(csum, frags->csum); in udp4_hwcsum() 751 hlen -= frags->len; in udp4_hwcsum()
|
D | tcp_output.c | 1268 int size = skb_frag_size(&shinfo->frags[i]); in __pskb_trim_head() 1274 shinfo->frags[k] = shinfo->frags[i]; in __pskb_trim_head() 1276 shinfo->frags[k].page_offset += eat; in __pskb_trim_head() 1277 skb_frag_size_sub(&shinfo->frags[k], eat); in __pskb_trim_head()
|
D | tcp.c | 952 skb_frag_size_add(&skb_shinfo(skb)->frags[i - 1], copy); in do_tcp_sendpages() 1297 skb_frag_size_add(&skb_shinfo(skb)->frags[i - 1], copy); in tcp_sendmsg() 3224 const struct skb_frag_struct *f = &shi->frags[i]; in tcp_md5_hash_skb_data()
|
D | ip_output.c | 1136 skb_frag_size_add(&skb_shinfo(skb)->frags[i - 1], copy); in __ip_append_data()
|
/net/core/ |
D | skbuff.c | 545 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_coalesce_rx_frag() 594 __skb_frag_unref(&shinfo->frags[i]); in skb_release_data() 963 skb_frag_t *f = &skb_shinfo(skb)->frags[i]; in skb_copy_ubufs() 991 skb_shinfo(skb)->frags[i].size); in skb_copy_ubufs() 1162 skb_shinfo(n)->frags[i] = skb_shinfo(skb)->frags[i]; in __pskb_copy_fclone() 1225 offsetof(struct skb_shared_info, frags[skb_shinfo(skb)->nr_frags])); in pskb_expand_head() 1514 int end = offset + skb_frag_size(&skb_shinfo(skb)->frags[i]); in ___pskb_trim() 1521 skb_frag_size_set(&skb_shinfo(skb)->frags[i++], len - offset); in ___pskb_trim() 1630 int size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in __pskb_pull_tail() 1697 int size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in __pskb_pull_tail() [all …]
|
D | tso.c | 54 skb_frag_t *frag = &skb_shinfo(skb)->frags[tso->next_frag_idx]; in tso_build_data() 78 skb_frag_t *frag = &skb_shinfo(skb)->frags[tso->next_frag_idx]; in tso_start()
|
D | datagram.c | 401 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_datagram_iter() 490 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_datagram_from_iter() 619 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in skb_copy_and_csum_datagram()
|
D | pktgen.c | 2723 int frags = pkt_dev->nfrags; in pktgen_finalize_skb() local 2728 if (frags > MAX_SKB_FRAGS) in pktgen_finalize_skb() 2729 frags = MAX_SKB_FRAGS; in pktgen_finalize_skb() 2730 len = datalen - frags * PAGE_SIZE; in pktgen_finalize_skb() 2733 datalen = frags * PAGE_SIZE; in pktgen_finalize_skb() 2737 frag_len = (datalen/frags) < PAGE_SIZE ? in pktgen_finalize_skb() 2738 (datalen/frags) : PAGE_SIZE; in pktgen_finalize_skb() 2751 skb_shinfo(skb)->frags[i].page_offset = 0; in pktgen_finalize_skb() 2753 if (i == (frags - 1)) in pktgen_finalize_skb() 2754 skb_frag_size_set(&skb_shinfo(skb)->frags[i], in pktgen_finalize_skb() [all …]
|
D | dev.c | 2803 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in illegal_highdma() 2815 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in illegal_highdma() 4506 const skb_frag_t *frag0 = &pinfo->frags[0]; in skb_gro_reset_offset() 4533 pinfo->frags[0].page_offset += grow; in gro_pull_from_frag0() 4534 skb_frag_size_sub(&pinfo->frags[0], grow); in gro_pull_from_frag0() 4536 if (unlikely(!skb_frag_size(&pinfo->frags[0]))) { in gro_pull_from_frag0() 4538 memmove(pinfo->frags, pinfo->frags + 1, in gro_pull_from_frag0() 4539 --pinfo->nr_frags * sizeof(pinfo->frags[0])); in gro_pull_from_frag0()
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_crypto.c | 556 struct scatterlist frags[4]; member 572 sg_set_page(&desc->frags[desc->fragno], sg_page(sg), sg->length, in decryptor() 583 sg_mark_end(&desc->frags[desc->fragno - 1]); in decryptor() 585 skcipher_request_set_crypt(desc->req, desc->frags, desc->frags, in decryptor() 592 sg_init_table(desc->frags, 4); in decryptor() 595 sg_set_page(&desc->frags[0], sg_page(sg), fraglen, in decryptor() 625 sg_init_table(desc.frags, 4); in gss_decrypt_xdr_buf() 899 sg_init_table(desc.frags, 4); in gss_krb5_aes_decrypt()
|
/net/sctp/ |
D | outqueue.c | 1181 sctp_sack_variable_t *frags; in sctp_sack_update_unack_data() local 1187 frags = sack->variable; in sctp_sack_update_unack_data() 1189 unack_data -= ((ntohs(frags[i].gab.end) - in sctp_sack_update_unack_data() 1190 ntohs(frags[i].gab.start) + 1)); in sctp_sack_update_unack_data() 1208 sctp_sack_variable_t *frags = sack->variable; in sctp_outq_sack() local 1264 highest_tsn += ntohs(frags[gap_ack_blocks - 1].gab.end); in sctp_outq_sack() 1722 sctp_sack_variable_t *frags; in sctp_acked() local 1741 frags = sack->variable; in sctp_acked() 1745 if (tsn_offset >= ntohs(frags[i].gab.start) && in sctp_acked() 1746 tsn_offset <= ntohs(frags[i].gab.end)) in sctp_acked()
|
/net/xfrm/ |
D | xfrm_ipcomp.c | 79 frag = skb_shinfo(skb)->frags + skb_shinfo(skb)->nr_frags; in ipcomp_decompress()
|
/net/kcm/ |
D | kcmsock.c | 638 frag = &skb_shinfo(skb)->frags[fragidx]; in kcm_write_msgs() 787 skb_frag_size_add(&skb_shinfo(skb)->frags[i - 1], size); in kcm_sendpage() 997 skb_frag_size_add(&skb_shinfo(skb)->frags[i - 1], copy); in kcm_sendmsg()
|
/net/mac80211/ |
D | ieee80211_i.h | 824 struct sk_buff_head frags; member 1512 return !(skb_queue_empty(&txqi->frags) && !txqi->tin.backlog_packets); in txq_has_queue()
|
D | tx.c | 1404 __skb_queue_head_init(&txqi->frags); in ieee80211_txq_init() 1427 ieee80211_purge_tx_queue(&local->hw, &txqi->frags); in ieee80211_txq_purge() 3391 skb = __skb_dequeue(&txqi->frags); in ieee80211_tx_dequeue() 3445 skb_queue_splice_tail(&tx.skbs, &txqi->frags); in ieee80211_tx_dequeue()
|
D | util.c | 3447 skb_queue_walk(&txqi->frags, skb) { in ieee80211_txq_get_depth()
|
/net/iucv/ |
D | af_iucv.c | 1199 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in iucv_sock_sendmsg() 1299 skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in iucv_process_message()
|
/net/wireless/ |
D | util.c | 666 const skb_frag_t *frag = &sh->frags[0]; in __ieee80211_amsdu_copy_frag()
|
/net/appletalk/ |
D | ddp.c | 952 const skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; in atalk_sum_skb()
|