Searched refs:total_len (Results 1 – 4 of 4) sorted by relevance
| /xnu-8019.80.24/bsd/net/ |
| H A D | rtsock.c | 1756 int total_len = 0, total_buffer_len = 0, current_len = 0; in sysctl_iflist() local 1785 total_len += len; in sysctl_iflist() 1789 if (current_len + len > total_len) { in sysctl_iflist() 1836 total_len += len; in sysctl_iflist() 1840 if (current_len + len > total_len) { in sysctl_iflist() 1873 len, total_len); in sysctl_iflist() 1880 if (total_len == 0) { in sysctl_iflist() 1881 total_len = 1; in sysctl_iflist() 1883 total_len += total_len >> 3; in sysctl_iflist() 1884 total_buffer_len = total_len; in sysctl_iflist() [all …]
|
| H A D | if_bridge.c | 8990 int total_len = m0->m_pkthdr.len; 8995 if (total_len <= hdr_len + mss) { 9009 for (n = 1; off < total_len; off += mss, n++) { 9039 if (off + mss >= total_len) { /* last segment */ 9040 mss = total_len - off; 9074 m_adj(m0, hdr_len + firstlen - total_len); 9084 m_adj(m0, hdr_len - total_len); 9295 int total_len = m0->m_pkthdr.len; 9381 GSOSTAT_SET_MAX(tcp.gsos_maxsegmented, total_len); 9382 GSOSTAT_SET_MIN(tcp.gsos_minsegmented, total_len); [all …]
|
| /xnu-8019.80.24/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-8019.80.24/tools/lldbmacros/ |
| H A D | utils.py | 551 total_len = len(data) 554 while index < total_len: 565 if index and index < total_len and index % 8 == 0: 567 if index > 1 and index < total_len and (index % 16) == 0:
|