Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/net/
H A Dif_utun.c272 #define UTUN_HEADER_SIZE(_pcb) (sizeof(u_int32_t) + (((_pcb)->utun_flags & UTUN_FLAGS_ENABLE_PROC_U… macro
462 VERIFY(tx_offset >= UTUN_HEADER_SIZE(pcb)); in utun_netif_sync_tx()
480 UTUN_HEADER_SIZE(pcb)); in utun_netif_sync_tx()
485 tx_offset -= UTUN_HEADER_SIZE(pcb); in utun_netif_sync_tx()
486 tx_length += UTUN_HEADER_SIZE(pcb); in utun_netif_sync_tx()
673 size_t header_offset = UTUN_HEADER_SIZE(pcb); in utun_netif_sync_rx()
794 size_t header_offset = UTUN_HEADER_SIZE(pcb); in utun_netif_sync_rx()
1366 if (pcb->utun_ifp->if_mtu + UTUN_HEADER_SIZE(pcb) > pcb->utun_slot_size) { in utun_enable_channel()
1751 bpfattach(pcb->utun_ifp, DLT_NULL, UTUN_HEADER_SIZE(pcb)); in utun_ctl_connect()
2045 if (m_pktlen(m) >= (int32_t)UTUN_HEADER_SIZE((struct utun_pcb *)unitinfo)) { in utun_ctl_send()
[all …]