Lines Matching refs:rcast

95 	struct udp_replicast rcast;  member
217 struct udp_replicast *rcast; in tipc_udp_send_msg() local
238 list_for_each_entry_rcu(rcast, &ub->rcast.list, list) { in tipc_udp_send_msg()
247 err = tipc_udp_xmit(net, _skb, ub, src, &rcast->addr); in tipc_udp_send_msg()
262 struct udp_replicast *rcast, *tmp; in tipc_udp_is_known_peer() local
271 list_for_each_entry_safe(rcast, tmp, &ub->rcast.list, list) { in tipc_udp_is_known_peer()
272 if (!memcmp(&rcast->addr, addr, sizeof(struct udp_media_addr))) in tipc_udp_is_known_peer()
282 struct udp_replicast *rcast; in tipc_udp_rcast_add() local
289 rcast = kmalloc(sizeof(*rcast), GFP_ATOMIC); in tipc_udp_rcast_add()
290 if (!rcast) in tipc_udp_rcast_add()
293 memcpy(&rcast->addr, addr, sizeof(struct udp_media_addr)); in tipc_udp_rcast_add()
296 pr_info("New replicast peer: %pI4\n", &rcast->addr.ipv4); in tipc_udp_rcast_add()
299 pr_info("New replicast peer: %pI6\n", &rcast->addr.ipv6); in tipc_udp_rcast_add()
302 list_add_rcu(&rcast->list, &ub->rcast.list); in tipc_udp_rcast_add()
436 struct udp_replicast *rcast, *tmp; in tipc_udp_nl_dump_remoteip() local
493 list_for_each_entry_safe(rcast, tmp, &ub->rcast.list, list) { in tipc_udp_nl_dump_remoteip()
503 err = __tipc_nl_add_udp_addr(skb, &rcast->addr, in tipc_udp_nl_dump_remoteip()
543 if (!list_empty(&ub->rcast.list)) { in tipc_udp_nl_add_bearer_data()
658 INIT_LIST_HEAD(&ub->rcast.list); in tipc_udp_enable()
763 struct udp_replicast *rcast, *tmp; in cleanup_bearer() local
765 list_for_each_entry_safe(rcast, tmp, &ub->rcast.list, list) { in cleanup_bearer()
766 list_del_rcu(&rcast->list); in cleanup_bearer()
767 kfree_rcu(rcast, rcu); in cleanup_bearer()