Home
last modified time | relevance | path

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

/xnu-8796.141.3/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
461 VERIFY(tx_offset >= UTUN_HEADER_SIZE(pcb)); in utun_netif_sync_tx()
479 UTUN_HEADER_SIZE(pcb)); in utun_netif_sync_tx()
484 tx_offset -= UTUN_HEADER_SIZE(pcb); in utun_netif_sync_tx()
485 tx_length += UTUN_HEADER_SIZE(pcb); in utun_netif_sync_tx()
672 size_t header_offset = UTUN_HEADER_SIZE(pcb); in utun_netif_sync_rx()
793 size_t header_offset = UTUN_HEADER_SIZE(pcb); in utun_netif_sync_rx()
1365 if (pcb->utun_ifp->if_mtu + UTUN_HEADER_SIZE(pcb) > pcb->utun_slot_size) { in utun_enable_channel()
1750 bpfattach(pcb->utun_ifp, DLT_NULL, UTUN_HEADER_SIZE(pcb)); in utun_ctl_connect()
2044 if (m_pktlen(m) >= (int32_t)UTUN_HEADER_SIZE((struct utun_pcb *)unitinfo)) { in utun_ctl_send()
[all …]