Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/net/
H A Dif_utun.c275 #define UTUN_HEADER_SIZE(_pcb) (sizeof(u_int32_t) + (((_pcb)->utun_flags & UTUN_FLAGS_ENABLE_PROC_U… macro
464 VERIFY(tx_offset >= UTUN_HEADER_SIZE(pcb)); in utun_netif_sync_tx()
482 UTUN_HEADER_SIZE(pcb)); in utun_netif_sync_tx()
487 tx_offset -= UTUN_HEADER_SIZE(pcb); in utun_netif_sync_tx()
488 tx_length += UTUN_HEADER_SIZE(pcb); in utun_netif_sync_tx()
675 size_t header_offset = UTUN_HEADER_SIZE(pcb); in utun_netif_sync_rx()
796 size_t header_offset = UTUN_HEADER_SIZE(pcb); in utun_netif_sync_rx()
1368 if (pcb->utun_ifp->if_mtu + UTUN_HEADER_SIZE(pcb) > pcb->utun_slot_size) { in utun_enable_channel()
1758 bpfattach(pcb->utun_ifp, DLT_NULL, UTUN_HEADER_SIZE(pcb)); in utun_ctl_connect()
2052 if (m_pktlen(m) >= (int32_t)UTUN_HEADER_SIZE((struct utun_pcb *)unitinfo)) { in utun_ctl_send()
[all …]