Lines Matching refs:mfc_un

495 				   mfc->_c.mfc_un.res.pkt,  in ipmr_mfc_seq_show()
496 mfc->_c.mfc_un.res.bytes, in ipmr_mfc_seq_show()
497 mfc->_c.mfc_un.res.wrong_if); in ipmr_mfc_seq_show()
498 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
499 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
501 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
504 mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()
779 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved)) != NULL) { in ip6mr_destroy_unres()
805 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_do_expire_process()
807 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_do_expire_process()
845 cache->mfc_un.res.minvif = MAXMIFS; in ip6mr_update_thresholds()
846 cache->mfc_un.res.maxvif = 0; in ip6mr_update_thresholds()
847 memset(cache->mfc_un.res.ttls, 255, MAXMIFS); in ip6mr_update_thresholds()
852 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ip6mr_update_thresholds()
853 if (cache->mfc_un.res.minvif > vifi) in ip6mr_update_thresholds()
854 cache->mfc_un.res.minvif = vifi; in ip6mr_update_thresholds()
855 if (cache->mfc_un.res.maxvif <= vifi) in ip6mr_update_thresholds()
856 cache->mfc_un.res.maxvif = vifi + 1; in ip6mr_update_thresholds()
859 cache->mfc_un.res.lastuse = jiffies; in ip6mr_update_thresholds()
986 c->_c.mfc_un.res.last_assert = jiffies - MFC_ASSERT_THRESH - 1; in ip6mr_cache_alloc()
987 c->_c.mfc_un.res.minvif = MAXMIFS; in ip6mr_cache_alloc()
989 refcount_set(&c->_c.mfc_un.res.refcount, 1); in ip6mr_cache_alloc()
998 skb_queue_head_init(&c->_c.mfc_un.unres.unresolved); in ip6mr_cache_alloc_unres()
999 c->_c.mfc_un.unres.expires = jiffies + 10 * HZ; in ip6mr_cache_alloc_unres()
1016 while ((skb = __skb_dequeue(&uc->_c.mfc_un.unres.unresolved))) { in ip6mr_cache_resolve()
1198 if (c->_c.mfc_un.unres.unresolved.qlen > 3) { in ip6mr_cache_unresolved()
1206 skb_queue_tail(&c->_c.mfc_un.unres.unresolved, skb); in ip6mr_cache_unresolved()
1925 sr.pktcnt = c->_c.mfc_un.res.pkt; in ip6mr_ioctl()
1926 sr.bytecnt = c->_c.mfc_un.res.bytes; in ip6mr_ioctl()
1927 sr.wrong_if = c->_c.mfc_un.res.wrong_if; in ip6mr_ioctl()
2000 sr.pktcnt = c->_c.mfc_un.res.pkt; in ip6mr_compat_ioctl()
2001 sr.bytecnt = c->_c.mfc_un.res.bytes; in ip6mr_compat_ioctl()
2002 sr.wrong_if = c->_c.mfc_un.res.wrong_if; in ip6mr_compat_ioctl()
2127 c->_c.mfc_un.res.pkt++; in ip6_mr_forward()
2128 c->_c.mfc_un.res.bytes += skb->len; in ip6_mr_forward()
2129 c->_c.mfc_un.res.lastuse = jiffies; in ip6_mr_forward()
2139 cache_proxy->_c.mfc_un.res.ttls[true_vifi] < 255) in ip6_mr_forward()
2147 c->_c.mfc_un.res.wrong_if++; in ip6_mr_forward()
2156 c->_c.mfc_un.res.ttls[true_vifi] < 255) && in ip6_mr_forward()
2158 c->_c.mfc_un.res.last_assert + in ip6_mr_forward()
2160 c->_c.mfc_un.res.last_assert = jiffies; in ip6_mr_forward()
2183 c->_c.mfc_un.res.ttls[c->_c.mfc_parent]) { in ip6_mr_forward()
2193 for (ct = c->_c.mfc_un.res.maxvif - 1; in ip6_mr_forward()
2194 ct >= c->_c.mfc_un.res.minvif; ct--) { in ip6_mr_forward()
2197 ipv6_hdr(skb)->hop_limit > c->_c.mfc_un.res.ttls[ct]) { in ip6_mr_forward()