Lines Matching refs:names
63 } names[] = { in main() local
107 for (i = 0; i < ARRAY_SIZE(names); ++i) { in main()
112 get_sockopt(fd, names[i].val, val, len); in main()
113 printf("getsockopt(%d, SOL_NETLINK, %s, ", fd, names[i].str); in main()
122 get_sockopt(fd, names[i].val, val, len); in main()
123 printf("getsockopt(%d, SOL_NETLINK, %s, ", fd, names[i].str); in main()
135 get_sockopt(fd, names[i].val, NULL, len); in main()
137 fd, names[i].str); in main()
143 if (names[i].val != NETLINK_LIST_MEMBERSHIPS) { in main()
147 get_sockopt(fd, names[i].val, val, len); in main()
149 fd, names[i].str, val, (int) sizeof(*val) - 1); in main()
157 get_sockopt(fd, names[i].val, efault, len); in main()
159 fd, names[i].str); in main()
173 get_sockopt(fd, names[i].val, efault, len); in main()
175 fd, names[i].str, efault, *len, errstr); in main()
178 get_sockopt(fd, names[i].val, val, len + 1); in main()
180 fd, names[i].str, val, len + 1, errstr); in main()
186 set_sockopt(fd, names[i].val, val, sizeof(*val)); in main()
188 fd, names[i].str, *val, (int) sizeof(*val), errstr); in main()
191 set_sockopt(fd, names[i].val, val, sizeof(*val) + 1); in main()
193 fd, names[i].str, *val, (int) sizeof(*val) + 1, errstr); in main()
196 set_sockopt(fd, names[i].val, val, -1U); in main()
198 fd, names[i].str, val, errstr); in main()
201 set_sockopt(fd, names[i].val, val, sizeof(*val) - 1); in main()
203 fd, names[i].str, val, (int) sizeof(*val) - 1, errstr); in main()
206 set_sockopt(fd, names[i].val, efault, sizeof(*val)); in main()
208 fd, names[i].str, efault, (int) sizeof(*val), errstr); in main()