Lines Matching refs:mfc_un
728 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved))) { in ipmr_destroy_unres()
768 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_expire_process()
769 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_expire_process()
793 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
794 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
795 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_thresholds()
800 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ipmr_update_thresholds()
801 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_thresholds()
802 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()
803 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()
804 cache->mfc_un.res.maxvif = vifi + 1; in ipmr_update_thresholds()
807 cache->mfc_un.res.lastuse = jiffies; in ipmr_update_thresholds()
960 c->_c.mfc_un.res.last_assert = jiffies - MFC_ASSERT_THRESH - 1; in ipmr_cache_alloc()
961 c->_c.mfc_un.res.minvif = MAXVIFS; in ipmr_cache_alloc()
963 refcount_set(&c->_c.mfc_un.res.refcount, 1); in ipmr_cache_alloc()
973 skb_queue_head_init(&c->_c.mfc_un.unres.unresolved); in ipmr_cache_alloc_unres()
974 c->_c.mfc_un.unres.expires = jiffies + 10 * HZ; in ipmr_cache_alloc_unres()
987 while ((skb = __skb_dequeue(&uc->_c.mfc_un.unres.unresolved))) { in ipmr_cache_resolve()
1155 c->_c.mfc_un.unres.expires); in ipmr_cache_unresolved()
1159 if (c->_c.mfc_un.unres.unresolved.qlen > 3) { in ipmr_cache_unresolved()
1167 skb_queue_tail(&c->_c.mfc_un.unres.unresolved, skb); in ipmr_cache_unresolved()
1638 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_ioctl()
1639 sr.bytecnt = c->_c.mfc_un.res.bytes; in ipmr_ioctl()
1640 sr.wrong_if = c->_c.mfc_un.res.wrong_if; in ipmr_ioctl()
1713 sr.pktcnt = c->_c.mfc_un.res.pkt; in ipmr_compat_ioctl()
1714 sr.bytecnt = c->_c.mfc_un.res.bytes; in ipmr_compat_ioctl()
1715 sr.wrong_if = c->_c.mfc_un.res.wrong_if; in ipmr_compat_ioctl()
1949 c->_c.mfc_un.res.pkt++; in ip_mr_forward()
1950 c->_c.mfc_un.res.bytes += skb->len; in ip_mr_forward()
1951 c->_c.mfc_un.res.lastuse = jiffies; in ip_mr_forward()
1961 cache_proxy->_c.mfc_un.res.ttls[true_vifi] < 255) in ip_mr_forward()
1982 c->_c.mfc_un.res.wrong_if++; in ip_mr_forward()
1991 c->_c.mfc_un.res.ttls[true_vifi] < 255) && in ip_mr_forward()
1993 c->_c.mfc_un.res.last_assert + in ip_mr_forward()
1995 c->_c.mfc_un.res.last_assert = jiffies; in ip_mr_forward()
2016 c->_c.mfc_un.res.ttls[c->_c.mfc_parent]) { in ip_mr_forward()
2026 for (ct = c->_c.mfc_un.res.maxvif - 1; in ip_mr_forward()
2027 ct >= c->_c.mfc_un.res.minvif; ct--) { in ip_mr_forward()
2031 ip_hdr(skb)->ttl > c->_c.mfc_un.res.ttls[ct]) { in ip_mr_forward()
2985 mfc->_c.mfc_un.res.pkt, in ipmr_mfc_seq_show()
2986 mfc->_c.mfc_un.res.bytes, in ipmr_mfc_seq_show()
2987 mfc->_c.mfc_un.res.wrong_if); in ipmr_mfc_seq_show()
2988 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
2989 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
2991 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
2994 n, mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()