Home
last modified time | relevance | path

Searched refs:optname (Results 1 – 25 of 51) sorted by relevance

123

/external/ppp/pppd/plugins/radius/
Dconfig.c31 static OPTION *find_option(char *optname, unsigned int type) in find_option() argument
37 if (!strcmp(config_options[i].name, optname) && in find_option()
267 char *rc_conf_str(char *optname) in rc_conf_str() argument
271 option = find_option(optname, OT_STR); in rc_conf_str()
274 fatal("rc_conf_str: unkown config option requested: %s", optname); in rc_conf_str()
278 int rc_conf_int(char *optname) in rc_conf_int() argument
282 option = find_option(optname, OT_INT|OT_AUO); in rc_conf_int()
285 fatal("rc_conf_int: unkown config option requested: %s", optname); in rc_conf_int()
289 SERVER *rc_conf_srv(char *optname) in rc_conf_srv() argument
293 option = find_option(optname, OT_SRV); in rc_conf_srv()
[all …]
/external/syslinux/core/lwip/src/api/
Dsockets.c115 int optname; member
1442 lwip_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen) argument
1462 switch (optname) {
1508 s, optname));
1515 switch (optname) {
1548 s, optname));
1565 switch (optname) {
1577 s, optname));
1595 switch (optname) {
1602 s, optname));
[all …]
/external/ipsec-tools/src/libipsec/
Dtest-policy.c156 int proto = 0, optname = 0; local
163 optname = IP_IPSEC_POLICY;
167 optname = IPV6_IPSEC_POLICY;
179 if (setsockopt(so, proto, optname, policy, len) < 0) {
187 if (getsockopt(so, proto, optname, getbuf, &len) < 0) {
/external/android-clat/
Dsetif.c29 #define DEBUG_OPTNAME(a) case (a): { optname = #a; break; }
136 char *optname; in do_anycast_setsockopt() local
143 optname = "???"; in do_anycast_setsockopt()
149 logmsg(ANDROID_LOG_ERROR, "%s: setsockopt(%s): %s", __func__, optname, strerror(errno)); in do_anycast_setsockopt()
/external/ltp/utils/sctp/testlib/
Dsctputil.h242 static inline int test_getsockopt(int sk, int optname, void *optval, in test_getsockopt() argument
245 int error = getsockopt(sk, SOL_SCTP, optname, optval, optlen); in test_getsockopt()
247 tst_brkm(TBROK, tst_exit, "getsockopt(%d): %s", optname, in test_getsockopt()
252 static inline int test_setsockopt(int sk, int optname, const void *optval, in test_setsockopt() argument
255 int error = setsockopt(sk, SOL_SCTP, optname, optval, optlen); in test_setsockopt()
257 tst_brkm(TBROK, tst_exit, "setsockopt(%d): %s", optname, in test_setsockopt()
/external/python/cpython3/Lib/
Dconfigparser.py1011 optname = None
1043 optname and
1044 cursect[optname] is not None):
1045 cursect[optname].append('') # newlines added at join
1053 if (cursect is not None and optname and
1055 cursect[optname].append(value)
1077 optname = None
1085 optname, vi, optval = mo.group('option', 'vi', 'value')
1086 if not optname:
1088 optname = self.optionxform(optname.rstrip())
[all …]
/external/python/cpython2/Lib/
DConfigParser.py475 optname = None
490 if line[0].isspace() and cursect is not None and optname:
493 cursect[optname].append(value)
509 optname = None
517 optname, vi, optval = mo.group('option', 'vi', 'value')
518 optname = self.optionxform(optname.rstrip())
532 cursect[optname] = [optval]
535 cursect[optname] = optval
/external/iptables/extensions/
Dlibxt_iprange.c45 uint8_t family, const char *optname) in iprange_parse_spec() argument
59 optname, spec[i]); in iprange_parse_spec()
67 optname, spec[i]); in iprange_parse_spec()
74 uint8_t family, const char *optname) in iprange_parse_range() argument
83 iprange_parse_spec(arg, arg, range, family, optname); in iprange_parse_range()
89 iprange_parse_spec(arg, dash + 1, range, family, optname); in iprange_parse_range()
/external/python/cpython2/Tools/scripts/
Duntabify.py19 for optname, optvalue in opts:
20 if optname == '-t':
/external/python/cpython3/Tools/scripts/
Duntabify.py20 for optname, optvalue in opts:
21 if optname == '-t':
/external/ltp/include/
Dtst_safe_net.h32 #define SAFE_SETSOCKOPT(fd, level, optname, optval, optlen) \ argument
33 safe_setsockopt(__FILE__, __LINE__, fd, level, optname, optval, optlen)
Dsafe_net_fn.h35 int optname, const void *optval, socklen_t optlen);
/external/ltp/lib/
Dsafe_net.c101 int optname, const void *optval, socklen_t optlen) in safe_setsockopt() argument
105 rval = setsockopt(sockfd, level, optname, optval, optlen); in safe_setsockopt()
110 file, lineno, sockfd, level, optname, optval, optlen); in safe_setsockopt()
/external/valgrind/coregrind/
Dpub_core_libcfile.h75 extern Int VG_(getsockopt) ( Int sd, Int level, Int optname,
77 extern Int VG_(setsockopt) ( Int sd, Int level, Int optname,
Dm_libcfile.c1326 Int VG_(getsockopt) ( Int sd, Int level, Int optname, void *optval, in VG_()
1336 args[2] = optname; in VG_()
1347 (UWord)sd, (UWord)level, (UWord)optname, in VG_()
1354 (UWord)sd, (UWord)level, (UWord)optname, in VG_()
1360 res = VG_(do_syscall6)(__NR_getsockopt, sd, level, optname, (UWord)optval, in VG_()
1370 Int VG_(setsockopt) ( Int sd, Int level, Int optname, void *optval, in VG_()
1380 args[2] = optname; in VG_()
1391 (UWord)sd, (UWord)level, (UWord)optname, in VG_()
1398 (UWord)sd, (UWord)level, (UWord)optname, in VG_()
1405 (UWord)sd, (UWord)level, (UWord)optname, in VG_()
/external/python/cpython3/Lib/test/
Dmock_socket.py68 def setsockopt(self, level, optname, value): argument
71 def getsockopt(self, level, optname, buflen=None): argument
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt01.c74 int optname; member
145 tdat[testno].optname, in main()
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c74 int optname; member
144 tdat[testno].optname, in main()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp1034 socket_type s, int level, int optname,
1037 return ::setsockopt(s, level, optname,
1041 int setsockopt(socket_type s, state_type& state, int level, int optname,
1050 if (level == custom_socket_option_level && optname == always_fail_option)
1057 && optname == enable_connection_aborted_option)
1073 if (level == SOL_SOCKET && optname == SO_LINGER)
1078 s, level, optname, optval, optlen), ec);
1087 && level == SOL_SOCKET && optname == SO_REUSEADDR)
1100 socket_type s, int level, int optname,
1104 int result = ::getsockopt(s, level, optname, (char*)optval, &tmp_optlen);
[all …]
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket_posix.cc116 bool UdpSocketPosix::SetSockopt(int32_t level, int32_t optname, in SetSockopt() argument
119 if(0 == setsockopt(_socket, level, optname, optval, optlen )) in SetSockopt()
Dudp_socket_posix.h41 int32_t optname,
Dudp_socket_wrapper.h69 virtual bool SetSockopt(int32_t level, int32_t optname,
/external/syslinux/core/lwip/src/include/lwip/
Dsockets.h324 int lwip_getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen);
325 int lwip_setsockopt (int s, int level, int optname, const void *optval, socklen_t optlen);
/external/linux-kselftest/tools/testing/selftests/bpf/
Dbpf_helpers.h68 static int (*bpf_setsockopt)(void *ctx, int level, int optname, void *optval,
71 static int (*bpf_getsockopt)(void *ctx, int level, int optname, void *optval,
/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c132 static void do_setsockopt(int fd, int level, int optname, int val) in do_setsockopt() argument
134 if (setsockopt(fd, level, optname, &val, sizeof(val))) in do_setsockopt()
135 error(1, errno, "setsockopt %d.%d: %d", level, optname, val); in do_setsockopt()

123