/net/sctp/ |
D | offload.c | 54 pinfo->gso_segs = 0; in sctp_gso_segment() 57 pinfo->gso_segs++; in sctp_gso_segment() 61 pinfo->gso_segs++; in sctp_gso_segment()
|
D | output.c | 509 skb_shinfo(head)->gso_segs = pkt_count; in sctp_packet_pack()
|
/net/ipv4/ |
D | tcp_offload.c | 87 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment() 110 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment() 296 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in tcp_gro_complete()
|
D | udp_offload.c | 298 mss *= skb_shinfo(segs)->gso_segs; in __udp_gso_segment() 608 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp_gro_complete_segment() 661 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp4_gro_complete()
|
D | tcp_ipv4.c | 1683 u32 gso_segs; in tcp_add_backlog() local 1735 gso_segs = shinfo->gso_segs ?: 1; in tcp_add_backlog() 1739 tail_gso_segs = shinfo->gso_segs ?: 1; in tcp_add_backlog() 1768 shinfo->gso_segs = min_t(u32, gso_segs + tail_gso_segs, 0xFFFF); in tcp_add_backlog()
|
D | esp4_offload.c | 269 xo->seq.low += skb_shinfo(skb)->gso_segs; in esp_xmit()
|
D | ip_input.c | 470 max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); in ip_rcv_core()
|
D | ip_tunnel_core.c | 76 __ip_select_ident(net, iph, skb_shinfo(skb)->gso_segs ?: 1); in iptunnel_xmit()
|
D | tcp_input.c | 3770 num_dupack = max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_ack() 4525 u32 gso_segs = max_t(u16, 1, skb_shinfo(to)->gso_segs) + in tcp_ooo_try_coalesce() local 4526 max_t(u16, 1, skb_shinfo(from)->gso_segs); in tcp_ooo_try_coalesce() 4528 skb_shinfo(to)->gso_segs = min_t(u32, gso_segs, 0xFFFF); in tcp_ooo_try_coalesce() 4631 tp->rcv_ooopack += max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_data_queue_ofo()
|
D | tcp.c | 933 size_goal = tp->gso_segs * mss_now; in tcp_xmit_size_goal() 936 tp->gso_segs = min_t(u16, new_size_goal / mss_now, in tcp_xmit_size_goal() 938 size_goal = tp->gso_segs * mss_now; in tcp_xmit_size_goal()
|
D | af_inet.c | 1374 id += skb_shinfo(skb)->gso_segs; in inet_gso_segment()
|
D | ip_output.c | 535 skb_shinfo(skb)->gso_segs ?: 1); in __ip_queue_xmit()
|
D | udp.c | 871 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(datalen, in udp_send_skb()
|
/net/core/ |
D | tso.c | 12 return skb_shinfo(skb)->gso_segs * 2 + skb_shinfo(skb)->nr_frags; in tso_count_descs()
|
D | lwt_bpf.c | 530 shinfo->gso_segs = 0; in handle_gso_type()
|
D | skbuff.c | 766 sh->gso_size, sh->gso_type, sh->gso_segs, in skb_dump() 1499 skb_shinfo(new)->gso_segs = skb_shinfo(old)->gso_segs; in skb_copy_header() 4126 skb_shinfo(iter)->gso_segs = partial_segs; in skb_segment() 4134 skb_shinfo(tail)->gso_segs = DIV_ROUND_UP(tail->len - doffset, gso_size); in skb_segment()
|
D | dev.c | 3143 u16 gso_segs = skb_shinfo(skb)->gso_segs; in gso_features_check() local 3145 if (gso_segs > dev->gso_max_segs) in gso_features_check() 3369 u16 gso_segs = shinfo->gso_segs; in qdisc_pkt_len_init() local 3392 gso_segs = DIV_ROUND_UP(skb->len - hdr_len, in qdisc_pkt_len_init() 3395 qdisc_skb_cb(skb)->pkt_len += (gso_segs - 1) * hdr_len; in qdisc_pkt_len_init()
|
D | filter.c | 2900 shinfo->gso_segs = 0; in bpf_skb_proto_4_to_6() 2939 shinfo->gso_segs = 0; in bpf_skb_proto_6_to_4() 3135 shinfo->gso_segs = 0; in bpf_skb_net_grow() 3173 shinfo->gso_segs = 0; in bpf_skb_net_shrink() 7650 case offsetof(struct __sk_buff, gso_segs): in bpf_convert_ctx_access() 7652 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct skb_shared_info, gso_segs), in bpf_convert_ctx_access() 7655 gso_segs, 2, in bpf_convert_ctx_access()
|
/net/xfrm/ |
D | xfrm_replay.c | 570 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload() 609 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload_bmp() 653 oseq += skb_shinfo(skb)->gso_segs; in xfrm_replay_overflow_offload_esn()
|
/net/ipv6/ |
D | udp_offload.c | 157 skb_shinfo(skb)->gso_segs = NAPI_GRO_CB(skb)->count; in udp6_gro_complete()
|
D | esp6_offload.c | 297 xo->seq.low += skb_shinfo(skb)->gso_segs; in esp6_xmit()
|
D | ip6_input.c | 177 max_t(unsigned short, 1, skb_shinfo(skb)->gso_segs)); in ip6_rcv_core()
|
D | udp.c | 1165 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(datalen, in udp_v6_send_skb()
|
/net/sched/ |
D | sch_qfq.c | 1216 unsigned int len = qdisc_pkt_len(skb), gso_segs; in qfq_enqueue() local 1242 gso_segs = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 1; in qfq_enqueue() 1255 cl->bstats.packets += gso_segs; in qfq_enqueue()
|
D | sch_cake.c | 1351 segs = shinfo->gso_segs; in cake_overhead()
|