Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c1119 uint32_t n_pkts = 0, total_hlen = 0, total_len = 0; in estimate_gso_pkts() local
1125 total_hlen = sizeof(struct ip) + sizeof(struct tcphdr); in estimate_gso_pkts()
1127 total_hlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr); in estimate_gso_pkts()
1129 if (total_hlen != 0 && mss != 0) { in estimate_gso_pkts()
1132 (SK_ROUNDUP((total_len - total_hlen), mss) / mss); in estimate_gso_pkts()
1135 uint32_t, total_hlen, uint32_t, total_len, uint16_t, mss, in estimate_gso_pkts()
3670 uint16_t total_hlen = ip_hlen + tcp_hlen; in do_gso() local
3692 if (mss == 0 || mss > (mtu - total_hlen)) { in do_gso()
3694 mss, mtu, total_hlen); in do_gso()
3697 uint32_t, total_hlen); in do_gso()
[all …]