void tcp_set_skb_tso_segs(struct sock *sk, struct sk_buff *skb) 
static void tcp_set_skb_tso_segs(struct sock *sk, struct sk_buff *skb) 
void tcp_set_skb_tso_segs(struct sock *sk, struct sk_buff *skb){	struct tcp_sock *tp = tcp_sk(sk);	if (skb->len <= tp->mss_cache_std ||	    !(sk->sk_route_caps & NETIF_F_TSO)) {		/* Avoid the costly divide in the normal		 * non-TSO case.		 */		skb_shinfo(skb)->tso_segs = 1;		skb_shinfo(skb)->tso_size = 0;	} else {		unsigned int factor;		factor = skb->len + (tp->mss_cache_std - 1);		factor /= tp->mss_cache_std;		skb_shinfo(skb)->tso_segs = factor;		skb_shinfo(skb)->tso_size = tp->mss_cache_std;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f6302d1d78f77c2d4c8bd32b0afc2df7fdf5f281/tcp_output.c/clean/net/ipv4/tcp_output.c