Searched refs:total_len (Results 1 – 5 of 5) sorted by relevance
| /xnu-8792.41.9/bsd/net/ |
| H A D | rtsock.c | 1751 size_t len = 0, total_len = 0, total_buffer_len = 0, current_len = 0; in sysctl_iflist() local 1780 if (os_add_overflow(total_len, len, &total_len)) { in sysctl_iflist() 1788 if (current_len + len > total_len) { in sysctl_iflist() 1816 VERIFY(current_len <= total_len); in sysctl_iflist() 1836 if (os_add_overflow(total_len, len, &total_len)) { in sysctl_iflist() 1844 if (current_len + len > total_len) { in sysctl_iflist() 1863 VERIFY(current_len <= total_len); in sysctl_iflist() 1878 len, total_len); in sysctl_iflist() 1885 if (total_len == 0) { in sysctl_iflist() 1886 total_len = 1; in sysctl_iflist() [all …]
|
| H A D | if_bridge.c | 9229 int total_len = m0->m_pkthdr.len; 9234 if (total_len <= hdr_len + mss) { 9248 for (n = 1; off < total_len; off += mss, n++) { 9278 if (off + mss >= total_len) { /* last segment */ 9279 mss = total_len - off; 9313 m_adj(m0, hdr_len + firstlen - total_len); 9323 m_adj(m0, hdr_len - total_len); 9534 int total_len = m0->m_pkthdr.len; 9625 GSOSTAT_SET_MAX(tcp.gsos_maxsegmented, total_len); 9626 GSOSTAT_SET_MIN(tcp.gsos_minsegmented, total_len); [all …]
|
| /xnu-8792.41.9/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_gso.c | 275 int32_t off = 0, total_len = m->m_pkthdr.len; in netif_gso_tcp_segment_mbuf() local 282 VERIFY(total_len > state->hlen); in netif_gso_tcp_segment_mbuf() 289 n_pkts = (uint32_t)(SK_ROUNDUP((total_len - state->hlen), mss) / mss); in netif_gso_tcp_segment_mbuf() 313 for (n = 1, off = state->hlen; off < total_len; off += mss, n++) { in netif_gso_tcp_segment_mbuf() 337 if (off + mss > total_len) { in netif_gso_tcp_segment_mbuf() 339 mss = (uint16_t)(total_len - off); in netif_gso_tcp_segment_mbuf() 389 ASSERT(off == total_len); in netif_gso_tcp_segment_mbuf() 396 n_bytes = total_len + (state->hlen * (n_pkts - 1)); in netif_gso_tcp_segment_mbuf()
|
| /xnu-8792.41.9/tools/lldbmacros/ |
| H A D | utils.py | 593 total_len = len(data) 596 while index < total_len: 607 if index and index < total_len and index % 8 == 0: 609 if index > 1 and index < total_len and (index % 16) == 0:
|
| H A D | mbufs.py | 159 total_len = 0 168 total_len += total[0] 170 …ng = "Total packets: {0:d} mbufs: {1:d} length: {2:d} ".format(count_packet, count_mbuf, total_len)
|