Searched refs:typeflags (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | psock_fanout.c | 61 static int sock_fanout_open(uint16_t typeflags, uint16_t group_id) in sock_fanout_open() argument 86 val = (((int) typeflags) << 16) | group_id; in sock_fanout_open() 116 static void sock_fanout_getopts(int fd, uint16_t *typeflags, uint16_t *group_id) in sock_fanout_getopts() argument 126 *typeflags = sockopt >> 16; in sock_fanout_getopts() 293 uint16_t typeflags, first_group_id, second_group_id; in test_unique_fanout_group_ids() local 304 sock_fanout_getopts(fds[0], &typeflags, &first_group_id); in test_unique_fanout_group_ids() 305 if (typeflags != PACKET_FANOUT_HASH) { in test_unique_fanout_group_ids() 306 fprintf(stderr, "ERROR: unexpected typeflags %x\n", typeflags); in test_unique_fanout_group_ids() 330 sock_fanout_getopts(fds[2], &typeflags, &second_group_id); in test_unique_fanout_group_ids() 344 static int test_datapath(uint16_t typeflags, int port_off, in test_datapath() argument [all …]
|