Searched refs:typeflags (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| H A D | psock_fanout.c | 92 static int sock_fanout_open(uint16_t typeflags, uint16_t group_id) in sock_fanout_open() argument 120 args.type_flags = typeflags; in sock_fanout_open() 125 val = (((int) typeflags) << 16) | group_id; in sock_fanout_open() 158 static void sock_fanout_getopts(int fd, uint16_t *typeflags, uint16_t *group_id) in sock_fanout_getopts() argument 168 *typeflags = sockopt >> 16; in sock_fanout_getopts() 427 uint16_t typeflags, first_group_id, second_group_id; in test_unique_fanout_group_ids() local 438 sock_fanout_getopts(fds[0], &typeflags, &first_group_id); in test_unique_fanout_group_ids() 439 if (typeflags != PACKET_FANOUT_HASH) { in test_unique_fanout_group_ids() 440 fprintf(stderr, "ERROR: unexpected typeflags %x\n", typeflags); in test_unique_fanout_group_ids() 464 sock_fanout_getopts(fds[2], &typeflags, &second_group_id); in test_unique_fanout_group_ids() [all …]
|