4
#include "utils.h" // ARRAY_SIZE
8
#define NR_SOL_IUCV_OPTS ARRAY_SIZE(iucv_opts)
9
static const unsigned int iucv_opts[] = {
10
SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE };
12
void iucv_setsockopt(struct sockopt *so)
18
val = rand() % NR_SOL_IUCV_OPTS;
19
so->optname = iucv_opts[val];
21
so->optval = sizeof(int);