Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/net/
H A Dif_utun.c291 #define UTUN_HEADER_SIZE(_pcb) (sizeof(u_int32_t) + (((_pcb)->utun_external_flags & UTUN_FLAGS_ENAB… macro
558 VERIFY(tx_offset >= UTUN_HEADER_SIZE(pcb)); in utun_netif_sync_tx()
576 UTUN_HEADER_SIZE(pcb)); in utun_netif_sync_tx()
581 tx_offset -= UTUN_HEADER_SIZE(pcb); in utun_netif_sync_tx()
582 tx_length += UTUN_HEADER_SIZE(pcb); in utun_netif_sync_tx()
807 size_t header_offset = UTUN_HEADER_SIZE(pcb); in utun_netif_sync_rx()
933 size_t header_offset = UTUN_HEADER_SIZE(pcb); in utun_netif_sync_rx()
1567 if (pcb->utun_ifp->if_mtu + UTUN_HEADER_SIZE(pcb) > pcb->utun_slot_size) { in utun_enable_channel()
1992 bpfattach(pcb->utun_ifp, DLT_NULL, UTUN_HEADER_SIZE(pcb)); in utun_ctl_connect()
2267 if (m_pktlen(m) >= (int32_t)UTUN_HEADER_SIZE((struct utun_pcb *)unitinfo)) { in utun_ctl_send()
[all …]