Lines Matching refs:kcih
117 if (!CTF_ENAB(kcih))
128 if (ctf_isenabled(kcih, dev) && (skb->len <= dev->mtu))
185 tcph = (struct tcphdr *)ctf_ipc_lkup_l4proto(kcih, ip6h, &protocol);
264 if ((skb->dev != NULL) && ctf_isbridge(kcih, skb->dev)) {
265 ipc_entry.brcp = ctf_brc_lkup(kcih, eth_hdr(skb)->h_source, FALSE);
320 if (((ipc_entry.tuple.proto == IPPROTO_TCP) && (kcih->ipc_suspend & CTF_SUSPEND_TCP_MASK)) ||
321 ((ipc_entry.tuple.proto == IPPROTO_UDP) && (kcih->ipc_suspend & CTF_SUSPEND_UDP_MASK))) {
325 _popcounts(kcih->ipc_suspend & CTF_SUSPEND_TCP_MASK) :
326 _popcounts(kcih->ipc_suspend & CTF_SUSPEND_UDP_MASK));
364 if (ctf_isbridge(kcih, ipc_entry.txif)) {
367 ctf_brc_acquire(kcih);
369 if ((brcp = ctf_brc_lkup(kcih, ipc_entry.dhost.octet, TRUE)) != NULL) {
376 ctf_brc_release(kcih);
412 ctf_ipc_add(kcih, &ipc_entry, !IPVERSION_IS_4(ipver));
417 ipct = ctf_ipc_lkup(kcih, &ipc_entry, ipver == 6);
420 ctf_ipc_release(kcih, ipct);
437 if (!CTF_ENAB(kcih))
474 ipct = ctf_ipc_lkup(kcih, &orig_ipct, v6);
481 ctf_live(kcih, ipct, v6);
485 ctf_ipc_release(kcih, ipct);
490 ctf_ipc_release(kcih, ipct);
493 ipct = ctf_ipc_lkup(kcih, &repl_ipct, v6);
497 ctf_live(kcih, ipct, v6);
501 ctf_ipc_release(kcih, ipct);
506 ctf_ipc_release(kcih, ipct);
513 ctf_ipc_delete(kcih, &orig_ipct, v6);
515 ctf_ipc_delete(kcih, &repl_ipct, v6);
547 ctf_cfg_req_process(kcih, &req);
594 tcph = (struct tcphdr *)ctf_ipc_lkup_l4proto(kcih, ip6h, &protocol);
641 ctf_cfg_req_process(kcih, &req);
649 ctf_cfg_req_process(kcih, &req);
659 ctf_cfg_req_process(kcih, &req);