Searched refs:mcid (Results 1 – 2 of 2) sorted by relevance
| /tools/lib/thermal/ |
| A D | thermal_nl.c | 188 int mcid; in nl_unsubscribe_thermal() local 190 mcid = nl_get_multicast_id(nl_sock, nl_cb, THERMAL_GENL_FAMILY_NAME, in nl_unsubscribe_thermal() 192 if (mcid < 0) in nl_unsubscribe_thermal() 195 if (nl_socket_drop_membership(nl_sock, mcid)) in nl_unsubscribe_thermal() 204 int mcid; in nl_subscribe_thermal() local 206 mcid = nl_get_multicast_id(nl_sock, nl_cb, THERMAL_GENL_FAMILY_NAME, in nl_subscribe_thermal() 208 if (mcid < 0) in nl_subscribe_thermal() 211 if (nl_socket_add_membership(nl_sock, mcid)) in nl_subscribe_thermal()
|
| /tools/testing/selftests/net/ovpn/ |
| A D | ovpn-cli.c | 1584 int mcid, ret; in ovpn_listen_mcast() local 1601 mcid = ovpn_get_mcast_id(sock, OVPN_FAMILY_NAME, OVPN_MCGRP_PEERS); in ovpn_listen_mcast() 1602 if (mcid < 0) { in ovpn_listen_mcast() 1604 nl_geterror(mcid)); in ovpn_listen_mcast() 1608 ret = nl_socket_add_membership(sock, mcid); in ovpn_listen_mcast()
|
Completed in 6 milliseconds