Searched refs:optname (Results 1 - 25 of 64) sorted by relevance

123

/freebsd-current/contrib/less/
H A Doption.h48 struct optname struct
51 struct optname *onext; /* List of synonymous option names */
59 struct optname *onames; /* Long (GNU-style) option name */
H A Dopttbl.c92 static struct optname a_optname = { "search-skip-screen", NULL };
93 static struct optname b_optname = { "buffers", NULL };
94 static struct optname B__optname = { "auto-buffers", NULL };
95 static struct optname c_optname = { "clear-screen", NULL };
96 static struct optname d_optname = { "dumb", NULL };
97 static struct optname D__optname = { "color", NULL };
98 static struct optname e_optname = { "quit-at-eof", NULL };
99 static struct optname f_optname = { "force", NULL };
100 static struct optname F__optname = { "quit-if-one-screen", NULL };
102 static struct optname g_optnam
788 char *optname = *p_optname; local
[all...]
H A Doption.c68 char *optname; local
103 optname = NULL;
122 optname = ++s;
179 if (optname == NULL)
186 printopt = optname;
187 lc = ASCII_IS_LOWER(optname[0]);
188 o = findopt_name(&optname, NULL, &err);
189 s = optname;
190 optname = NULL;
/freebsd-current/sbin/ipf/libipf/
H A Doptvalue.c13 getoptbyname(char *optname) argument
18 if (!strcasecmp(optname, io->on_name))
H A Dv6optvalue.c13 u_32_t getv6optbyname(char *optname) argument
19 if (!strcasecmp(optname, io->on_name))
H A Doptname.c14 optname(char ***cp, u_short *sp, int linenum) function
/freebsd-current/crypto/heimdal/appl/ftp/common/
H A Dsockbuf.c49 int optname = read ? SO_RCVBUF : SO_SNDBUF; local
56 if(getsockopt(fd, SOL_SOCKET, optname, (void *)&curr, &optlen) == 0) {
65 setsockopt(fd, SOL_SOCKET, optname, (void *)&size, sizeof(size)) < 0)
/freebsd-current/sbin/setkey/
H A Dtest-policy.c96 int so, proto, optname; local
103 optname = IP_IPSEC_POLICY;
107 optname = IPV6_IPSEC_POLICY;
114 if (setsockopt(so, proto, optname, policy, PFKEY_EXTLEN(policy)) < 0)
119 if (getsockopt(so, proto, optname, getbuf, &len) < 0)
/freebsd-current/crypto/openssl/Configurations/platform/
H A DVMS.pm33 sub optname { return $_[1] } subroutine
34 sub opt { return $_[0]->optname($_[1]) . $_[0]->optext() }
/freebsd-current/usr.sbin/config/
H A Dmkoptions.cc323 insert_option(const char *fname, char *optname, char *val) argument
327 check_duplicate(fname, optname);
331 po->o_name = optname;
338 update_option(const char *optname, char *val, int flags) argument
343 if (eq(po->o_name, optname)) {
362 char *optname, *val; local
376 optname = ns(wd);
379 free(optname);
385 " words per line at %s\n", fname, optname);
388 char *s = ns(optname);
[all...]
/freebsd-current/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.h46 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-current/tools/regression/priv/
H A Dpriv_netinet_ipsec.c196 int error, level, optname; local
201 optname = IP_IPSEC_POLICY;
206 optname = IPV6_IPSEC_POLICY;
213 error = setsockopt(sd, level, optname,
249 int error, level, optname; local
254 optname = IP_IPSEC_POLICY;
259 optname = IPV6_IPSEC_POLICY;
266 error = setsockopt(sd, level, optname,
/freebsd-current/contrib/flex/src/
H A Dscanopt.c503 const char *optname = "";
513 optname = optchar;
516 optname = s->argv[s->index];
526 optname);
531 optname);
535 optname);
539 optname);
554 * optname will point to str + 2
557 static int matchlongopt (char *str, char **optname, int *optlen, char **arg, int *arglen)
561 *optname
502 const char *optname = ""; local
555 matchlongopt(char *str, char **optname, int *optlen, char **arg, int *arglen) argument
609 const char *optname; local
657 char *optname = NULL, *optarg = NULL, *pstart; local
[all...]
/freebsd-current/sys/sys/
H A Dsockopt.h65 int so_setsockopt(struct socket *so, int level, int optname,
/freebsd-current/bin/sh/
H A Doptions.h78 static const unsigned char optname[] = variable
/freebsd-current/tools/regression/netinet/msocket/
H A Dmsocket.c73 * Test that a given IP socket option (optname) has a default value of
80 test_u_char(int optname, const char *optstring, u_char defaultv, argument
94 ret = getsockopt(sock, IPPROTO_IP, optname, &uc, &socklen);
109 ret = setsockopt(sock, IPPROTO_IP, optname, &uc, sizeof(uc));
119 ret = getsockopt(sock, IPPROTO_IP, optname, &uc, &socklen);
136 test_in_addr(int optname, const char *optstring, struct in_addr defaultv, argument
150 ret = getsockopt(sock, IPPROTO_IP, optname, &ia, &socklen);
166 ret = setsockopt(sock, IPPROTO_IP, optname, &ia, sizeof(ia));
176 ret = getsockopt(sock, IPPROTO_IP, optname, &ia, &socklen);
/freebsd-current/lib/libc/net/
H A Dsourcefilter.c281 int level, optname; local
298 optname = IP_MSFILTER;
309 optname = IPV6_MSFILTER;
324 return (_setsockopt(s, level, optname, &msfr, sizeof(msfr)));
339 int err, level, nsrcs, optname; local
361 optname = IP_MSFILTER;
372 optname = IPV6_MSFILTER;
394 err = _getsockopt(s, level, optname, &msfr, &optlen);
/freebsd-current/usr.sbin/mtest/
H A Dmtest.c389 int af, error, f, flags, i, level, n, optname; local
445 optname = (*cmd == 'j') ?
456 optname = (*cmd == 'j') ?
466 } else if (setsockopt(s, level, optname, optval,
485 optname = (*cmd == 'j') ?
496 optname = (*cmd == 'j') ?
508 } else if (setsockopt(s6, level, optname, optval,
638 optname = (*cmd == 't') ?
646 optname = (*cmd == 't') ?
653 if (setsockopt(s, level, optname, optva
[all...]
/freebsd-current/lib/libipsec/
H A 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) {
/freebsd-current/sys/netinet6/
H A Dip6_output.c1613 int level, op, optname; local
1632 optname = sopt->sopt_name;
1668 switch (optname) {
1736 if (optname == IPV6_BINDANY && td != NULL) {
1751 switch (optname) {
1958 error = ip6_pcbopt(optname,
1980 switch (optname) {
2050 error = ip6_pcbopt(optname, optbuf, optlen,
2119 switch (optname) {
2158 switch (optname) {
2372 int level, op, optname; local
2507 ip6_pcbopt(int optname, u_char *buf, int len, struct ip6_pktopts **pktopt, struct ucred *cred, int uproto) argument
2560 ip6_getpcbopt(struct inpcb *inp, int optname, struct sockopt *sopt) argument
2646 ip6_clearpktopts(struct ip6_pktopts *pktopt, int optname) argument
2860 ip6_setpktopt(int optname, u_char *buf, int len, struct ip6_pktopts *opt, struct ucred *cred, int sticky, int cmsg, int uproto) argument
[all...]
/freebsd-current/contrib/ofed/librdmacm/
H A Drsocket.h85 int rsetsockopt(int socket, int level, int optname,
87 int rgetsockopt(int socket, int level, int optname,
/freebsd-current/contrib/ntp/libntp/lib/isc/win32/
H A Dnet.c223 int optname; local
247 optname = IPV6_RECVPKTINFO;
249 optname = IPV6_PKTINFO;
252 if (setsockopt(s, IPPROTO_IPV6, optname, (const char *) &on,
/freebsd-current/tools/regression/usr.bin/env/
H A Dregress-sb.rb330 def RGTestOptions.parse(optname, optval)
333 if not @@rgtest_opts.has_key?(optname)
335 optname
353 case optname
402 optname
408 optname, optval
/freebsd-current/usr.sbin/tcpsso/
H A Dtcpsso.c294 int i, level, optname, optval_int; local
329 optname = so_names[i].value;
340 optname = (int)arg;
358 switch (optname) {
375 params->sop_optname = optname;
376 switch (optname) {
/freebsd-current/contrib/ntp/libntp/lib/isc/unix/
H A Dnet.c326 int optname; local
350 optname = IPV6_RECVPKTINFO;
352 optname = IPV6_PKTINFO;
355 if (setsockopt(s, IPPROTO_IPV6, optname, &on, sizeof(on)) < 0) {

Completed in 223 milliseconds

123