Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/capsicum-test/
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()
/freebsd-13.1/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()
/freebsd-13.1/sys/netinet/
H A Dtcp_timer.c381 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl()
484 if (inp->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep()
503 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep()
594 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist()
876 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt()
H A Dtcp_input.c1061 if (so->so_options & SO_DEBUG) { in tcp_input_with_port()
1369 if (so->so_options & SO_DEBUG) in tcp_input_with_port()
1901 if (so->so_options & SO_DEBUG) in tcp_do_segment()
1953 if (so->so_options & SO_DEBUG) in tcp_do_segment()
3312 if (so->so_options & SO_DEBUG) in tcp_do_segment()
3357 if (so->so_options & SO_DEBUG) in tcp_do_segment()
3381 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_do_segment()
/freebsd-13.1/cddl/lib/libdtrace/
H A Dsocket.d36 #pragma D binding "1.13" SO_DEBUG
37 inline int SO_DEBUG = 0x0001; /* turn on debugging info recording */ variable
/freebsd-13.1/usr.sbin/traceroute6/
H A Dtraceroute6.c428 options |= SO_DEBUG; in main()
725 if (options & SO_DEBUG) in main()
726 (void) setsockopt(rcvsock, SOL_SOCKET, SO_DEBUG, in main()
772 if (options & SO_DEBUG) in main()
773 (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, in main()
/freebsd-13.1/contrib/traceroute/
H A Dtraceroute.c612 options |= SO_DEBUG; in main()
833 if (options & SO_DEBUG) in main()
834 (void)setsockopt(s, SOL_SOCKET, SO_DEBUG, (char *)&on, in main()
910 if (options & SO_DEBUG) in main()
911 (void)setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, (char *)&on, in main()
/freebsd-13.1/contrib/telnet/telnetd/
H A Dtelnetd.c355 (void) setsockopt(s, SOL_SOCKET, SO_DEBUG, in main()
365 (void) setsockopt(ns, SOL_SOCKET, SO_DEBUG, in main()
/freebsd-13.1/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()
/freebsd-13.1/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()
/freebsd-13.1/contrib/apr/network_io/unix/
H A Dsockopt.c138 … if (setsockopt(sock->socketdes, SOL_SOCKET, SO_DEBUG, (void *)&one, sizeof(int)) == -1) { in apr_socket_opt_set()
/freebsd-13.1/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()
/freebsd-13.1/sys/kern/
H A Duipc_debug.c85 if (so_options & SO_DEBUG) { in db_print_sooptions()
/freebsd-13.1/sys/sys/
H A Dsocket.h129 #define SO_DEBUG 0x00000001 /* turn on debugging info recording */ macro
/freebsd-13.1/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()
/freebsd-13.1/contrib/telnet/telnet/
H A Dcommands.c532 (SetSockOpt(net, SOL_SOCKET, SO_DEBUG, telnet_debug)) < 0) { in togdebug()
537 if (net > 0 && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) in togdebug()
2409 if (telnet_debug && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) { in tn()
/freebsd-13.1/sbin/ping/
H A Dping.c665 (void)setsockopt(ssend, SOL_SOCKET, SO_DEBUG, (char *)&hold, in ping()
667 (void)setsockopt(srecv, SOL_SOCKET, SO_DEBUG, (char *)&hold, in ping()
H A Dping6.c803 (void)setsockopt(ssend, SOL_SOCKET, SO_DEBUG, (char *)&hold, in ping6()
805 (void)setsockopt(srecv, SOL_SOCKET, SO_DEBUG, (char *)&hold, in ping6()
/freebsd-13.1/usr.sbin/lpr/lpd/
H A Dlpd.c896 if (setsockopt(*s, SOL_SOCKET, SO_DEBUG, &debuglvl, in socksetup()
/freebsd-13.1/usr.sbin/inetd/
H A Dinetd.c361 options |= SO_DEBUG; in main()
1272 if (strcmp(sep->se_proto, "tcp") == 0 && (options & SO_DEBUG) && in setup()
1273 turnon(sep->se_fd, SO_DEBUG) < 0) in setup()
/freebsd-13.1/contrib/netcat/
H A Dnetcat.c1301 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, in set_common_sockopts()

12