Searched refs:total_len (Results 1 – 5 of 5) sorted by relevance
| /xnu-8020.101.4/bsd/net/ |
| H A D | rtsock.c | 1751 int total_len = 0, total_buffer_len = 0, current_len = 0; in sysctl_iflist() local 1780 total_len += len; in sysctl_iflist() 1784 if (current_len + len > total_len) { in sysctl_iflist() 1831 total_len += len; in sysctl_iflist() 1835 if (current_len + len > total_len) { in sysctl_iflist() 1868 len, total_len); in sysctl_iflist() 1875 if (total_len == 0) { in sysctl_iflist() 1876 total_len = 1; in sysctl_iflist() 1878 total_len += total_len >> 3; in sysctl_iflist() 1879 total_buffer_len = total_len; in sysctl_iflist() [all …]
|
| H A D | if_bridge.c | 9169 int total_len = m0->m_pkthdr.len; 9174 if (total_len <= hdr_len + mss) { 9188 for (n = 1; off < total_len; off += mss, n++) { 9218 if (off + mss >= total_len) { /* last segment */ 9219 mss = total_len - off; 9253 m_adj(m0, hdr_len + firstlen - total_len); 9263 m_adj(m0, hdr_len - total_len); 9474 int total_len = m0->m_pkthdr.len; 9560 GSOSTAT_SET_MAX(tcp.gsos_maxsegmented, total_len); 9561 GSOSTAT_SET_MIN(tcp.gsos_minsegmented, total_len); [all …]
|
| /xnu-8020.101.4/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_gso.c | 250 int32_t off = 0, total_len = m->m_pkthdr.len; in netif_gso_tcp_segment_mbuf() local 257 VERIFY(total_len > state->hlen); in netif_gso_tcp_segment_mbuf() 264 n_pkts = (uint32_t)(SK_ROUNDUP((total_len - state->hlen), mss) / mss); in netif_gso_tcp_segment_mbuf() 288 for (n = 1, off = state->hlen; off < total_len; off += mss, n++) { in netif_gso_tcp_segment_mbuf() 312 if (off + mss > total_len) { in netif_gso_tcp_segment_mbuf() 314 mss = (uint16_t)(total_len - off); in netif_gso_tcp_segment_mbuf() 364 ASSERT(off == total_len); in netif_gso_tcp_segment_mbuf() 371 n_bytes = total_len + (state->hlen * (n_pkts - 1)); in netif_gso_tcp_segment_mbuf()
|
| /xnu-8020.101.4/tools/lldbmacros/ |
| H A D | utils.py | 573 total_len = len(data) 576 while index < total_len: 587 if index and index < total_len and index % 8 == 0: 589 if index > 1 and index < total_len and (index % 16) == 0:
|
| H A D | mbufs.py | 120 total_len = 0 129 total_len += total[0] 131 …ng = "Total packets: {0:d} mbufs: {1:d} length: {2:d} ".format(count_packet, count_mbuf, total_len)
|