Home
last modified time | relevance | path

Searched refs:mcast_groups (Results 1 – 4 of 4) 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[ in ynl_subscribe()
[all...]
H A Dynl.h77 } *mcast_groups;
73 } *mcast_groups; global() member
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py596 def get_mcast_id(self, mcast_name, mcast_groups):
597 if mcast_name not in mcast_groups:
599 return mcast_groups[mcast_name].value
625 def get_mcast_id(self, mcast_name, mcast_groups):
746 mcast_id = self.nlproto.get_mcast_id(mcast_name, self.mcast_groups)
405 get_mcast_id(self, mcast_name, mcast_groups) global() argument
433 get_mcast_id(self, mcast_name, mcast_groups) global() argument
/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py2526 mcast_groups = ["packets"] variable in PsampleEvent