Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c1138 uint32_t n_pkts = 0, total_hlen = 0, total_len = 0; in estimate_gso_pkts() local
1144 total_hlen = sizeof(struct ip) + sizeof(struct tcphdr); in estimate_gso_pkts()
1146 total_hlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr); in estimate_gso_pkts()
1148 if (total_hlen != 0 && mss != 0) { in estimate_gso_pkts()
1151 (SK_ROUNDUP((total_len - total_hlen), mss) / mss); in estimate_gso_pkts()
1154 uint32_t, total_hlen, uint32_t, total_len, uint16_t, mss, in estimate_gso_pkts()
3757 uint16_t total_hlen = ip_hlen + tcp_hlen; in do_gso() local
3779 if (mss == 0 || mss > (mtu - total_hlen)) { in do_gso()
3781 mss, mtu, total_hlen); in do_gso()
3784 uint32_t, total_hlen); in do_gso()
[all …]