Searched refs:mcast_groups (Results 1 – 4 of 4) sorted by relevance
493 ys->mcast_groups = calloc(ys->n_mcast_groups, in ynl_get_family_info_mcast()494 sizeof(*ys->mcast_groups)); in ynl_get_family_info_mcast()495 if (!ys->mcast_groups) in ynl_get_family_info_mcast()502 ys->mcast_groups[i].id = mnl_attr_get_u32(attr); in ynl_get_family_info_mcast()504 strncpy(ys->mcast_groups[i].name, in ynl_get_family_info_mcast()507 ys->mcast_groups[i].name[GENL_NAMSIZ - 1] = 0; in ynl_get_family_info_mcast()571 free(ys->mcast_groups); in ynl_sock_read_family()578 free(ys->mcast_groups); in ynl_sock_read_family()643 free(ys->mcast_groups); in ynl_sock_destroy()660 if (!strcmp(ys->mcast_groups[i].name, grp_name)) in ynl_subscribe()[all …]
371 def get_mcast_id(self, mcast_name, mcast_groups): argument372 if mcast_name not in mcast_groups:374 return mcast_groups[mcast_name].value396 def get_mcast_id(self, mcast_name, mcast_groups): argument440 mcast_id = self.nlproto.get_mcast_id(mcast_name, self.mcast_groups)
79 } *mcast_groups; member
408 self.mcast_groups = collections.OrderedDict()545 self.mcast_groups[elem['name']] = mcg