Home
last modified time | relevance | path

Searched refs:SO_DEBUG (Results 1 – 25 of 27) sorted by relevance

12

/src/tests/sys/capsicum/ !
H A Dsocket.cc86 EXPECT_NOTCAPABLE(setsockopt(cap_sock_rw, SOL_SOCKET, SO_DEBUG, &value, sizeof(value))); in TEST()
88 EXPECT_NOTCAPABLE(getsockopt(cap_sock_rw, SOL_SOCKET, SO_DEBUG, &value, &len)); in TEST()
96 EXPECT_OK(setsockopt(cap_sock_all, SOL_SOCKET, SO_DEBUG, &value, sizeof(value))); in TEST()
98 EXPECT_OK(getsockopt(cap_sock_all, SOL_SOCKET, SO_DEBUG, &value, &len)); in TEST()
/src/crypto/heimdal/lib/roken/ !
H A Dsocket.c244 #if defined(SO_DEBUG) && defined(HAVE_SETSOCKOPT) in socket_set_debug()
246 setsockopt (sock, SOL_SOCKET, SO_DEBUG, (void *) &on, sizeof (on)); in socket_set_debug()
/src/cddl/lib/libdtrace/ !
H A Dsocket.d34 #pragma D binding "1.13" SO_DEBUG
35 inline int SO_DEBUG = 0x0001; /* turn on debugging info recording */ variable
/src/usr.sbin/traceroute6/ !
H A Dtraceroute6.c415 options |= SO_DEBUG; in main()
723 if (options & SO_DEBUG) in main()
724 (void) setsockopt(rcvsock, SOL_SOCKET, SO_DEBUG, in main()
770 if (options & SO_DEBUG) in main()
771 (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, in main()
/src/usr.sbin/traceroute/ !
H A Dtraceroute.c584 options |= SO_DEBUG; in main()
802 if (options & SO_DEBUG) in main()
803 (void)setsockopt(s, SOL_SOCKET, SO_DEBUG, (char *)&on, in main()
846 if (options & SO_DEBUG) in main()
847 (void)setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, (char *)&on, in main()
/src/contrib/tnftp/src/ !
H A Dftp.c1231 if ((options & SO_DEBUG) && in initconn()
1232 setsockopt(data, SOL_SOCKET, SO_DEBUG, in initconn()
1524 if ((options & SO_DEBUG) && in initconn()
1525 setsockopt(data, SOL_SOCKET, SO_DEBUG, in initconn()
H A Dmain.c301 options |= SO_DEBUG; in main()
H A Dcmds.c1133 options |= SO_DEBUG; in setdebug()
1135 options &= ~SO_DEBUG; in setdebug()
/src/crypto/heimdal/appl/rsh/ !
H A Drsh.c569 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, (void *)&one, sizeof(one)) < 0) in proto()
572 setsockopt(errsock2, SOL_SOCKET, SO_DEBUG, in proto()
H A DChangeLog220 * rsh.c: iff -d, set the SO_DEBUG flags of the stdout and stderr
/src/crypto/heimdal/appl/ftp/ftp/ !
H A Dmain.c121 options |= SO_DEBUG; in main()
H A Dcmds.c1017 options |= SO_DEBUG; in setdebug()
1019 options &= ~SO_DEBUG; in setdebug()
H A Dftp.c1251 if (options & SO_DEBUG) in passive_mode()
1318 if (options & SO_DEBUG) in active_mode()
/src/sys/kern/ !
H A Duipc_debug.c83 if (so_options & SO_DEBUG) { in db_print_sooptions()
/src/usr.sbin/tcpsso/ !
H A Dtcpsso.c172 sol_entry(SO_DEBUG), /* int */
/src/sys/sys/ !
H A Dsocket.h128 #define SO_DEBUG 0x00000001 /* turn on debugging info recording */ macro
/src/crypto/heimdal/appl/telnet/telnet/ !
H A Dcommands.c443 (SetSockOpt(net, SOL_SOCKET, SO_DEBUG, debug)) < 0) { in togdebug()
448 if (net > 0 && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 0, 0) < 0) in togdebug()
2225 if (debug && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) { in tn()
/src/contrib/telnet/telnet/ !
H A Dcommands.c530 (SetSockOpt(net, SOL_SOCKET, SO_DEBUG, telnet_debug)) < 0) { in togdebug()
535 if (net > 0 && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) in togdebug()
2411 if (telnet_debug && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) { in tn()
/src/sbin/ping/ !
H A Dping.c636 (void)setsockopt(ssend, SOL_SOCKET, SO_DEBUG, (char *)&hold, in ping()
638 (void)setsockopt(srecv, SOL_SOCKET, SO_DEBUG, (char *)&hold, in ping()
H A Dping6.c777 (void)setsockopt(ssend, SOL_SOCKET, SO_DEBUG, (char *)&hold, in ping6()
779 (void)setsockopt(srecv, SOL_SOCKET, SO_DEBUG, (char *)&hold, in ping6()
/src/usr.sbin/lpr/lpd/ !
H A Dlpd.c898 if (setsockopt(*s, SOL_SOCKET, SO_DEBUG, &debuglvl, in socksetup()
/src/usr.sbin/inetd/ !
H A Dinetd.c347 options |= SO_DEBUG; in main()
1258 if (strcmp(sep->se_proto, "tcp") == 0 && (options & SO_DEBUG) && in setup()
1259 turnon(sep->se_fd, SO_DEBUG) < 0) in setup()
/src/contrib/netcat/ !
H A Dnetcat.c1369 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, in set_common_sockopts()
/src/crypto/openssh/regress/ !
H A Dnetcat.c1189 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, in set_common_sockopts()
/src/contrib/sendmail/src/ !
H A Ddaemon.c1161 SO_DEBUG, (char *)&on,
2760 (void) setsockopt(s, SOL_SOCKET, SO_DEBUG,

12