Searched refs:l_local (Results 1 – 2 of 2) sorted by relevance
103 struct sockaddr_nl l_local; in main() local145 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()
119 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;