Searched refs:typeflags (Results 1 – 1 of 1) sorted by relevance
| /Linux-v4.19/tools/testing/selftests/net/ |
| D | psock_fanout.c | 75 static int sock_fanout_open(uint16_t typeflags, uint16_t group_id) in sock_fanout_open() argument 100 val = (((int) typeflags) << 16) | group_id; in sock_fanout_open() 130 static void sock_fanout_getopts(int fd, uint16_t *typeflags, uint16_t *group_id) in sock_fanout_getopts() argument 140 *typeflags = sockopt >> 16; in sock_fanout_getopts() 307 uint16_t typeflags, first_group_id, second_group_id; in test_unique_fanout_group_ids() local 318 sock_fanout_getopts(fds[0], &typeflags, &first_group_id); in test_unique_fanout_group_ids() 319 if (typeflags != PACKET_FANOUT_HASH) { in test_unique_fanout_group_ids() 320 fprintf(stderr, "ERROR: unexpected typeflags %x\n", typeflags); in test_unique_fanout_group_ids() 344 sock_fanout_getopts(fds[2], &typeflags, &second_group_id); in test_unique_fanout_group_ids() 358 static int test_datapath(uint16_t typeflags, int port_off, in test_datapath() argument [all …]
|