Searched defs:family (Results 1 - 5 of 5) sorted by relevance

/system/core/libnl_2/genl/
H A Dfamily.c27 void genl_family_put(struct genl_family *family) argument
29 family->ce_refcnt--;
30 if (family->ce_refcnt <= 0)
31 free(family);
34 unsigned int genl_family_get_id(struct genl_family *family) argument
38 if (!family)
41 return family->gf_id;
H A Dgenl.c26 #include <netlink/genl/family.h>
49 void *genlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, int family, argument
65 nlh->nlmsg_type = family;
220 /* If this family is nl80211 */
226 /* Save the family id */
241 /* Return family id as cache pointer */
250 /* Checks the netlink cache to find family reference by name string */
265 /* Overriding cache pointer as family id for now */
/system/bluetooth/tools/
H A Dsock_shutdown_test.c69 int family = -1; local
75 family = PF_UNIX;
80 family = PF_BLUETOOTH;
85 family = PF_BLUETOOTH;
90 family = PF_BLUETOOTH;
95 family = PF_INET;
102 ret = socket(family, typ, protocol);
H A Dasocket_test.c87 int family = -1; local
93 family = PF_UNIX;
98 family = PF_BLUETOOTH;
103 family = PF_BLUETOOTH;
108 family = PF_BLUETOOTH;
113 family = PF_INET;
120 ret = socket(family, typ, protocol);
H A Dsocktest.c86 int family = -1; local
92 family = PF_UNIX;
97 family = PF_BLUETOOTH;
102 family = PF_BLUETOOTH;
107 family = PF_BLUETOOTH;
112 family = PF_INET;
119 ret = socket(family, typ, protocol);

Completed in 59 milliseconds