| /freebsd-13.1/contrib/capsicum-test/ |
| H A D | socket.cc | 86 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 D | socket.c | 244 #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 D | tcp_timer.c | 381 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 D | tcp_input.c | 1061 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 D | socket.d | 36 #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 D | traceroute6.c | 428 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 D | traceroute.c | 612 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 D | telnetd.c | 355 (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 D | ftp.c | 1231 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 D | main.c | 301 options |= SO_DEBUG; in main()
|
| H A D | cmds.c | 1133 options |= SO_DEBUG; in setdebug() 1135 options &= ~SO_DEBUG; in setdebug()
|
| /freebsd-13.1/crypto/heimdal/appl/rsh/ |
| H A D | rsh.c | 569 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 D | sockopt.c | 138 … 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 D | main.c | 121 options |= SO_DEBUG; in main()
|
| H A D | cmds.c | 1017 options |= SO_DEBUG; in setdebug() 1019 options &= ~SO_DEBUG; in setdebug()
|
| H A D | ftp.c | 1251 if (options & SO_DEBUG) in passive_mode() 1318 if (options & SO_DEBUG) in active_mode()
|
| /freebsd-13.1/sys/kern/ |
| H A D | uipc_debug.c | 85 if (so_options & SO_DEBUG) { in db_print_sooptions()
|
| /freebsd-13.1/sys/sys/ |
| H A D | socket.h | 129 #define SO_DEBUG 0x00000001 /* turn on debugging info recording */ macro
|
| /freebsd-13.1/crypto/heimdal/appl/telnet/telnet/ |
| H A D | commands.c | 443 (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 D | commands.c | 532 (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 D | ping.c | 665 (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 D | ping6.c | 803 (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 D | lpd.c | 896 if (setsockopt(*s, SOL_SOCKET, SO_DEBUG, &debuglvl, in socksetup()
|
| /freebsd-13.1/usr.sbin/inetd/ |
| H A D | inetd.c | 361 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 D | netcat.c | 1301 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, in set_common_sockopts()
|