Home
last modified time | relevance | path

Searched refs:mcast_groups (Results 1 – 5 of 5) sorted by relevance

/linux/tools/net/ynl/lib/
H A Dynl.c646 ys->mcast_groups = calloc(ys->n_mcast_groups, in ynl_get_family_info_mcast()
647 sizeof(*ys->mcast_groups)); in ynl_get_family_info_mcast()
648 if (!ys->mcast_groups) in ynl_get_family_info_mcast()
655 ys->mcast_groups[i].id = ynl_attr_get_u32(attr); in ynl_get_family_info_mcast()
657 strncpy(ys->mcast_groups[i].name, in ynl_get_family_info_mcast()
660 ys->mcast_groups[i].name[GENL_NAMSIZ - 1] = 0; in ynl_get_family_info_mcast()
721 free(ys->mcast_groups); in ynl_sock_read_family()
728 free(ys->mcast_groups); in ynl_sock_read_family()
813 free(ys->mcast_groups); in ynl_sock_destroy()
830 if (!strcmp(ys->mcast_groups[i].name, grp_name)) in ynl_subscribe()
[all …]
H A Dynl.h77 } *mcast_groups; member
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py427 def get_mcast_id(self, mcast_name, mcast_groups): argument
428 if mcast_name not in mcast_groups:
430 return mcast_groups[mcast_name].value
456 def get_mcast_id(self, mcast_name, mcast_groups): argument
536 mcast_id = self.nlproto.get_mcast_id(mcast_name, self.mcast_groups)
H A Dnlspec.py482 self.mcast_groups = collections.OrderedDict()
626 self.mcast_groups[elem['name']] = mcg
/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py2519 mcast_groups = ["packets"] variable in PsampleEvent