Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dipmr_base.c33 struct mr_table *mrt = container_of(to_rcu_work(work), in __mr_free_table() local
36 rhltable_destroy(&mrt->mfc_hash); in __mr_free_table()
37 kfree(mrt); in __mr_free_table()
40 void mr_table_free(struct mr_table *mrt) in mr_table_free() argument
42 queue_rcu_work(system_dfl_wq, &mrt->work); in mr_table_free()
49 void (*table_set)(struct mr_table *mrt, in mr_table_alloc() argument
52 struct mr_table *mrt; in mr_table_alloc() local
55 mrt = kzalloc_obj(*mrt, GFP_KERNEL_ACCOUNT); in mr_table_alloc()
56 if (!mrt) in mr_table_alloc()
58 mrt->id = id; in mr_table_alloc()
[all …]
H A Dipmr.c75 struct mr_table *mrt; member
105 static void ipmr_free_table(struct mr_table *mrt,
108 static void ip_mr_forward(struct net *net, struct mr_table *mrt,
111 static int ipmr_cache_report(const struct mr_table *mrt,
113 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
115 static void igmpmsg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt);
116 static void mroute_clean_tables(struct mr_table *mrt, int flags,
121 #define ipmr_for_each_table(mrt, net) \ argument
122 list_for_each_entry_rcu(mrt, &net->ipv4.mr_tables, list, \
127 struct mr_table *mrt) in ipmr_mr_table_iter() argument
[all …]
/linux/net/ipv6/
H A Dip6mr.c58 struct mr_table *mrt; member
88 static void ip6mr_free_table(struct mr_table *mrt,
91 static void ip6_mr_forward(struct net *net, struct mr_table *mrt,
94 static int ip6mr_cache_report(const struct mr_table *mrt, struct sk_buff *pkt,
96 static void mr6_netlink_event(struct mr_table *mrt, struct mfc6_cache *mfc,
98 static void mrt6msg_netlink_event(const struct mr_table *mrt, struct sk_buff *pkt);
103 static void mroute_clean_tables(struct mr_table *mrt, int flags,
108 #define ip6mr_for_each_table(mrt, net) \ argument
109 list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list, \
114 struct mr_table *mrt) in ip6mr_mr_table_iter() argument
[all …]
H A Daddrconf.c113 static inline s32 rfc3315_s14_backoff_update(s32 rt, s32 mrt) in rfc3315_s14_backoff_update() argument
118 if ((s32)tmp > mrt) { in rfc3315_s14_backoff_update()
120 tmp = get_random_u32_inclusive(900000, 1100000) * (u64)mrt; in rfc3315_s14_backoff_update()
/linux/include/linux/
H A Digmp.h180 static inline u8 igmpv3_mrc(unsigned long mrt) in igmpv3_mrc() argument
182 return igmpv3_exp_field_encode(mrt); in igmpv3_mrc()
/linux/include/net/netns/
H A Dipv4.h279 struct mr_table __rcu *mrt; member
/linux/Documentation/networking/net_cachelines/
H A Dnetns_ipv4_sysctl.rst154 struct_mr_table* mrt
/linux/net/bridge/
H A Dbr_multicast.c961 unsigned long lmqt, mrt; in br_ip4_multicast_alloc_query()
1031 mrt = group ? brmctx->multicast_last_member_interval : in br_ip4_multicast_alloc_query()
1038 ih->code = mrt / (HZ / IGMP_TIMER_SCALE); in br_ip4_multicast_alloc_query()
1047 ihv3->code = igmpv3_mrc(mrt / (HZ / IGMP_TIMER_SCALE)); in br_ip4_multicast_alloc_query()
948 unsigned long lmqt, mrt; br_ip4_multicast_alloc_query() local