Searched refs:utun_flags (Results 1 - 5 of 5) sorted by relevance

/xnu-2422.115.4/bsd/net/
H A Dif_utun.h46 u_int32_t utun_flags; member in struct:utun_pcb
H A Dif_utun_crypto.c53 pcb->utun_flags &= ~UTUN_FLAGS_CRYPTO;
124 pcb->utun_flags |= (UTUN_FLAGS_CRYPTO | UTUN_FLAGS_CRYPTO_STOP_DATA_TRAFFIC);
183 pcb->utun_flags &= ~(UTUN_FLAGS_CRYPTO | UTUN_FLAGS_CRYPTO_STOP_DATA_TRAFFIC);
624 if ((pcb->utun_flags & UTUN_FLAGS_CRYPTO) == 0) {
638 pcb->utun_flags |= UTUN_FLAGS_CRYPTO_STOP_DATA_TRAFFIC;
684 if ((pcb->utun_flags & UTUN_FLAGS_CRYPTO) == 0) {
698 pcb->utun_flags &= ~UTUN_FLAGS_CRYPTO_STOP_DATA_TRAFFIC;
H A Dif_utun.c497 pcb->utun_flags = *(u_int32_t *)data;
607 *(u_int32_t *)data = pcb->utun_flags;
646 if (pcb->utun_flags & UTUN_FLAGS_NO_OUTPUT) {
657 if ((pcb->utun_flags & (UTUN_FLAGS_CRYPTO | UTUN_FLAGS_CRYPTO_STOP_DATA_TRAFFIC)) == UTUN_FLAGS_CRYPTO) {
867 if (pcb->utun_flags & UTUN_FLAGS_NO_INPUT) {
874 if (protocol == AF_UTUN && pcb->utun_flags & UTUN_FLAGS_CRYPTO) {
878 printf("%s: utun_pkt_crypto_output failed, flags %x\n", __FUNCTION__, pcb->utun_flags);
H A Dif_utun_crypto_dtls.c351 //printf("%s: entering, flags %x, kpi-handle %x, kpi-ref %p, kpi-refcnt %d\n", __FUNCTION__, pcb->utun_flags, crypto_ctx->kpi_handle, crypto_ctx->kpi_ref, crypto_ctx->kpi_refcnt);
385 //printf("%s: entering, flags %x, kpi-handle %d, kpi-ref %p, kpi-refcnt %d\n", __FUNCTION__, pcb->utun_flags, crypto_ctx->kpi_handle, crypto_ctx->kpi_ref, crypto_ctx->kpi_refcnt);
826 //printf("%s: entering, flags %x, kpi-handle %d, kpi-ref %p, kpi-refcnt %d\n", __FUNCTION__, pcb->utun_flags, crypto_ctx->kpi_handle, crypto_ctx->kpi_ref, crypto_ctx->kpi_refcnt);
857 //printf("%s: leaving, flags %x, kpi-handle %d, kpi-ref %p, kpi-refcnt %d\n", __FUNCTION__, pcb->utun_flags, crypto_ctx->kpi_handle, crypto_ctx->kpi_ref, crypto_ctx->kpi_refcnt);
872 //printf("%s: entering, flags %x, kpi-ref %p, kpi-refcnt %d\n", __FUNCTION__, pcb->utun_flags, crypto_ctx->kpi_ref, crypto_ctx->kpi_refcnt);
930 //printf("%s: entering, flags %x, ifp %p\n", __FUNCTION__, pcb->utun_flags, pcb->utun_ifp);
932 if (!(pcb->utun_flags & UTUN_FLAGS_CRYPTO)) {
994 if (!(pcb->utun_flags & UTUN_FLAGS_CRYPTO)) {
H A Dif_utun_crypto_ipsec.c951 if (!(pcb->utun_flags & UTUN_FLAGS_CRYPTO)) {
1052 if (!(pcb->utun_flags & UTUN_FLAGS_CRYPTO)) {

Completed in 25 milliseconds