Home
last modified time | relevance | path

Searched refs:typeflags (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dpsock_fanout.c64 static int sock_fanout_open(uint16_t typeflags, uint16_t group_id) in sock_fanout_open() argument
92 args.type_flags = typeflags; in sock_fanout_open()
97 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()
357 uint16_t typeflags, first_group_id, second_group_id; in test_unique_fanout_group_ids() local
368 sock_fanout_getopts(fds[0], &typeflags, &first_group_id); in test_unique_fanout_group_ids()
369 if (typeflags != PACKET_FANOUT_HASH) { in test_unique_fanout_group_ids()
370 fprintf(stderr, "ERROR: unexpected typeflags %x\n", typeflags); in test_unique_fanout_group_ids()
394 sock_fanout_getopts(fds[2], &typeflags, &second_group_id); in test_unique_fanout_group_ids()
[all …]