Lines Matching defs:opt
1510 struct sockopt opt;
1532 memset(&opt, 0, sizeof(opt));
1541 opt.sopt_dir = SOPT_SET;
1542 opt.sopt_level = IPPROTO_IP;
1543 opt.sopt_name = IP_PORTRANGE;
1545 opt.sopt_val = &portlow;
1546 opt.sopt_valsize = sizeof(portlow);
1547 sosetopt(nlm_socket, &opt);
1560 opt.sopt_dir = SOPT_SET;
1561 opt.sopt_level = IPPROTO_IPV6;
1562 opt.sopt_name = IPV6_PORTRANGE;
1564 opt.sopt_val = &portlow;
1565 opt.sopt_valsize = sizeof(portlow);
1566 sosetopt(nlm_socket6, &opt);