/freebsd-10.1-release/contrib/ipfilter/lib/ |
H A D | optvalue.c | 25 u_32_t getoptbyvalue(optval) 26 int optval; 31 if (io->on_value == optval)
|
H A D | v6optvalue.c | 28 u_32_t getv6optbyvalue(optval) 29 int optval; 35 if (io->on_value == optval)
|
/freebsd-10.1-release/crypto/openssh/ |
H A D | roaming_common.c | 56 int optval; local 57 socklen_t optvallen = sizeof(optval); 59 if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &optval, &optvallen) != 0) 60 optval = DEFAULT_ROAMBUF; 61 return optval; 68 int optval; local 69 socklen_t optvallen = sizeof(optval); 71 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &optval, &optvallen) != 0) 72 optval = DEFAULT_ROAMBUF; 73 return optval; [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/roken/ |
H A D | socket_wrapper.h | 46 int swrap_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen); 47 int swrap_setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen); 92 #define getsockopt(s,level,optname,optval,optlen) swrap_getsockopt(s,level,optname,optval,optlen) 97 #define setsockopt(s,level,optname,optval,optlen) swrap_setsockopt(s,level,optname,optval,optlen)
|
/freebsd-10.1-release/sys/netinet/ |
H A D | ip_output.c | 897 int error, optval; local 899 error = optval = 0; 988 error = sooptcopyin(sopt, &optval, sizeof optval, 989 sizeof optval); 995 inp->inp_ip_tos = optval; 999 inp->inp_ip_ttl = optval; 1003 if (optval >= 0 && optval <= MAXTTL) 1004 inp->inp_ip_minttl = optval; [all...] |
H A D | tcp_usrreq.c | 1307 int error, opt, optval; local 1348 error = sooptcopyin(sopt, &optval, sizeof optval, 1349 sizeof optval); 1354 if (optval > 0) 1364 error = sooptcopyin(sopt, &optval, sizeof optval, 1365 sizeof optval); 1382 if (optval) 1398 error = sooptcopyin(sopt, &optval, sizeo [all...] |
H A D | sctp_usrreq.c | 1431 sctp_do_connect_x(struct socket *so, struct sctp_inpcb *inp, void *optval, argument 1474 totaddrp = (int *)optval; 1561 a_id = (sctp_assoc_t *) optval; 1622 sctp_getopt(struct socket *so, int optname, void *optval, size_t *optsize, argument 1629 if (optval == NULL) { 1694 *(int *)optval = val; 1704 SCTP_CHECK_AND_CAST(target, optval, uint8_t, *optsize); 1722 SCTP_CHECK_AND_CAST(value, optval, uint32_t, *optsize); 1731 SCTP_CHECK_AND_CAST(value, optval, uint32_t, *optsize); 1740 SCTP_CHECK_AND_CAST(value, optval, uint32_ 3592 sctp_setopt(struct socket *so, int optname, void *optval, size_t optsize, void *p) argument 6368 void *optval = NULL; local [all...] |
H A D | udp_usrreq.c | 936 int isudplite, error, optval; local 967 error = sooptcopyin(sopt, &optval, sizeof optval, 968 sizeof optval); 978 switch (optval) { 989 if (optval == UDP_ENCAP_ESPINUDP) 991 else if (optval == UDP_ENCAP_ESPINUDP_NON_IKE) 1009 error = sooptcopyin(sopt, &optval, sizeof(optval), 1010 sizeof(optval)); [all...] |
H A D | raw_ip.c | 556 int error, optval; local 572 optval = inp->inp_flags & INP_HDRINCL; 573 error = sooptcopyout(sopt, &optval, sizeof optval); 625 error = sooptcopyin(sopt, &optval, sizeof optval, 626 sizeof optval); 629 if (optval)
|
/freebsd-10.1-release/tools/regression/usr.bin/env/ |
H A D | regress-sb.rb | 331 def RGTestOptions.parse(optname, optval) 349 optval.gsub!(/\[%- testpgm\.basename -%\]/x, File.basename($testpgm)) 350 optval.gsub!(/\[%- script\.pathname -%\]/x, $scriptfile) 355 if optval =~ /^\d+$/ 356 $testdata.cmdvalue = optval.to_i 361 if optval =~ /^\s*([A-Za-z]\w*)\s*$/ 367 $testdata.shebang_args = optval 369 $testdata.add_script(optval) 371 if optval =~ /^\s*([A-Za-z]\w*)=(.*)$/ 377 $testdata.add_expecterr(optval) [all...] |
/freebsd-10.1-release/usr.sbin/rrenumd/ |
H A D | rrenumd.c | 275 int optval; local 330 optval = IPSEC_LEVEL_REQUIRE; 332 &optval, sizeof(optval)) == -1) { 339 optval = IPSEC_LEVEL_REQUIRE; 341 &optval, sizeof(optval)) == -1) { 362 int optval; local 396 optval = IPSEC_LEVEL_REQUIRE; 398 &optval, sizeo [all...] |
/freebsd-10.1-release/sys/sys/ |
H A D | sockopt.h | 70 void *optval, size_t optlen);
|
/freebsd-10.1-release/sys/netinet6/ |
H A D | ip6_output.c | 1447 int error, optval; local 1458 optval = 0; 1565 error = sooptcopyin(sopt, &optval, 1566 sizeof optval, sizeof optval); 1572 if (optval < -1 || optval >= 256) 1576 in6p->in6p_hops = optval; 1579 in6p->inp_ip_ttl = optval; 1585 if (optval) \ 2132 int error = 0, optval, optlen; local [all...] |
/freebsd-10.1-release/usr.sbin/mtest/ |
H A D | mtest.c | 386 void *optval; local 450 optval = (void *)&mr.mrs; 459 optval = (void *)&mr.mr; 465 } else if (setsockopt(s, level, optname, optval, 490 optval = (void *)&mr.gr; 501 optval = (void *)&mr.mr6; 507 } else if (setsockopt(s6, level, optname, optval, 631 optval = (void *)&mr.mrs; 653 if (setsockopt(s, level, optname, optval, 688 optval [all...] |
/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_console_io.c | 168 int optval = 1; local 177 &optval, sizeof(optval));
|
/freebsd-10.1-release/sbin/ping6/ |
H A D | ping6.c | 308 int ch, hold, packlen, preload, optval, ret_ga; local 751 optval = 1; 754 &optval, sizeof(optval)) == -1) 761 optval = IPV6_DEFHLIM; 764 &optval, sizeof(optval)) == -1) 768 optval = mflag > 1 ? 0 : 1; 771 &optval, sizeof(optval)) [all...] |
/freebsd-10.1-release/sys/ofed/drivers/infiniband/core/ |
H A D | ucma.c | 839 void *optval, size_t optlen) 849 rdma_set_service_type(ctx->cm_id, *((u8 *) optval)); 888 void *optval, size_t optlen) 894 ret = ucma_set_ib_path(ctx, optval, optlen); 904 int optname, void *optval, size_t optlen) 910 ret = ucma_set_option_id(ctx, optname, optval, optlen); 913 ret = ucma_set_option_ib(ctx, optname, optval, optlen); 927 void *optval; local 937 optval = kmalloc(cmd.optlen, GFP_KERNEL); 938 if (!optval) { 838 ucma_set_option_id(struct ucma_context *ctx, int optname, void *optval, size_t optlen) argument 887 ucma_set_option_ib(struct ucma_context *ctx, int optname, void *optval, size_t optlen) argument 903 ucma_set_option_level(struct ucma_context *ctx, int level, int optname, void *optval, size_t optlen) argument [all...] |
/freebsd-10.1-release/sys/kern/ |
H A D | uipc_socket.c | 2369 so_setsockopt(struct socket *so, int level, int optname, void *optval, argument 2377 sopt.sopt_val = optval; 2386 int error, optval; local 2440 error = sooptcopyin(sopt, &optval, sizeof optval, 2441 sizeof optval); 2445 if (optval) 2453 error = sooptcopyin(sopt, &optval, sizeof optval, 2454 sizeof optval); 2623 int error, optval; local [all...] |
/freebsd-10.1-release/sys/compat/linux/ |
H A D | linux_socket.c | 576 int error, optval, size_val; local 578 size_val = sizeof(optval); 580 &optval, UIO_SYSSPACE, &size_val); 584 return (optval == 0); 1476 l_uintptr_t optval; member in struct:linux_setsockopt_args 1503 error = copyin(PTRIN(args->optval), &linux_tv, 1531 bsd_args.val = PTRIN(args->optval); 1549 l_uintptr_t optval; member in struct:linux_getsockopt_args 1586 return (copyout(&linux_tv, PTRIN(args->optval), 1604 return (copyout(&lxu, PTRIN(args->optval), sizeo [all...] |
/freebsd-10.1-release/sys/netipx/ |
H A D | ipx_usrreq.c | 355 int mask, error, optval; local 428 error = sooptcopyin(sopt, &optval, sizeof optval, 429 sizeof optval); 433 if (optval)
|
/freebsd-10.1-release/usr.sbin/ppp/ |
H A D | bundle.c | 1056 optval(struct bundle *bundle, int opt) function 1119 optval(arg->bundle, OPT_FILTERDECAP)); 1121 optval(arg->bundle, OPT_IDCHECK)); 1123 optval(arg->bundle, OPT_IFACEALIAS)); 1126 optval(arg->bundle, OPT_IPCP)); 1128 optval(arg->bundle, OPT_IPV6CP)); 1131 optval(arg->bundle, OPT_KEEPSESSION)); 1133 optval(arg->bundle, OPT_LOOPBACK)); 1135 optval(arg->bundle, OPT_PASSWDAUTH)); 1137 optval(ar [all...] |
/freebsd-10.1-release/contrib/ofed/librdmacm/include/rdma/ |
H A D | rdma_cma.h | 563 * @optval: Reference to the option data. 564 * @optlen: The size of the %optval buffer. 567 void *optval, size_t optlen);
|
H A D | rdma_cma_abi.h | 218 __u64 optval; member in struct:ucma_abi_set_option
|
/freebsd-10.1-release/sbin/ipfw/ |
H A D | ipfw2.h | 229 int do_cmd(int optname, void *optval, uintptr_t optlen);
|
/freebsd-10.1-release/sys/ofed/include/rdma/ |
H A D | rdma_user_cm.h | 229 __u64 optval; member in struct:rdma_ucm_set_option
|