Home
last modified time | relevance | path

Searched refs:l_local (Results 1 – 2 of 2) sorted by relevance

/linux/samples/connector/
H A Ducon.c103 struct sockaddr_nl l_local; in main() local
145 l_local.nl_family = AF_NETLINK; in main()
146 l_local.nl_groups = -1; /* bitmask of requested groups */ in main()
147 l_local.nl_pid = 0; in main()
151 if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == -1) { in main()
/linux/Documentation/driver-api/
H A Dconnector.rst119 l_local.nl_family = AF_NETLINK;
120 l_local.nl_groups = 12345;
121 l_local.nl_pid = 0;
123 if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == -1) {
130 int on = l_local.nl_groups;