Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/ !
H A Dfsw_dp.c1034 uint32_t n_pkts = 0, total_hlen = 0, total_len = 0; in estimate_gso_pkts() local
1040 total_hlen = sizeof(struct ip) + sizeof(struct tcphdr); in estimate_gso_pkts()
1042 total_hlen = sizeof(struct ip6_hdr) + sizeof(struct tcphdr); in estimate_gso_pkts()
1044 if (total_hlen != 0 && mss != 0) { in estimate_gso_pkts()
1047 (SK_ROUNDUP((total_len - total_hlen), mss) / mss); in estimate_gso_pkts()
1050 uint32_t, total_hlen, uint32_t, total_len, uint16_t, mss, in estimate_gso_pkts()
3523 uint16_t total_hlen = ip_hlen + tcp_hlen; in do_gso() local
3544 if (mss == 0 || mss > (mtu - total_hlen)) { in do_gso()
3546 mss, mtu, total_hlen); in do_gso()
3549 uint32_t, total_hlen); in do_gso()
[all …]