| /freebsd-12.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-12.1/sys/netinet/ |
| H A D | tcp_timer.c | 365 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl() 466 if (inp->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep() 485 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep() 574 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist() 828 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt()
|
| H A D | tcp_input.c | 1032 if (so->so_options & SO_DEBUG) { in tcp_input() 1347 if (so->so_options & SO_DEBUG) in tcp_input() 1844 if (so->so_options & SO_DEBUG) in tcp_do_segment() 1887 if (so->so_options & SO_DEBUG) in tcp_do_segment() 3170 if (so->so_options & SO_DEBUG) in tcp_do_segment() 3215 if (so->so_options & SO_DEBUG) in tcp_do_segment() 3239 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_do_segment()
|
| H A D | tcp_sack.c | 168 if (tp->t_inpcb->inp_socket->so_options & SO_DEBUG) { in tcp_update_dsack_list()
|
| /freebsd-12.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-12.1/usr.sbin/traceroute6/ |
| H A D | traceroute6.c | 417 options |= SO_DEBUG; in main() 702 if (options & SO_DEBUG) in main() 703 (void) setsockopt(rcvsock, SOL_SOCKET, SO_DEBUG, in main() 751 if (options & SO_DEBUG) in main() 752 (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, in main()
|
| /freebsd-12.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-12.1/contrib/telnet/telnetd/ |
| H A D | telnetd.c | 356 (void) setsockopt(s, SOL_SOCKET, SO_DEBUG, in main() 366 (void) setsockopt(ns, SOL_SOCKET, SO_DEBUG, in main()
|
| /freebsd-12.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 | 298 options |= SO_DEBUG; in main()
|
| H A D | cmds.c | 1133 options |= SO_DEBUG; in setdebug() 1135 options &= ~SO_DEBUG; in setdebug()
|
| /freebsd-12.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-12.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-12.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-12.1/sys/kern/ |
| H A D | uipc_debug.c | 85 if (so_options & SO_DEBUG) { in db_print_sooptions()
|
| /freebsd-12.1/sys/sys/ |
| H A D | socket.h | 129 #define SO_DEBUG 0x00000001 /* turn on debugging info recording */ macro
|
| /freebsd-12.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-12.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-12.1/sbin/ping/ |
| H A D | ping.c | 656 (void)setsockopt(ssend, SOL_SOCKET, SO_DEBUG, (char *)&hold, in main() 658 (void)setsockopt(srecv, SOL_SOCKET, SO_DEBUG, (char *)&hold, in main()
|
| /freebsd-12.1/usr.sbin/lpr/lpd/ |
| H A D | lpd.c | 896 if (setsockopt(*s, SOL_SOCKET, SO_DEBUG, &debuglvl, in socksetup()
|
| /freebsd-12.1/usr.sbin/inetd/ |
| H A D | inetd.c | 360 options |= SO_DEBUG; in main() 1268 if (strcmp(sep->se_proto, "tcp") == 0 && (options & SO_DEBUG) && in setup() 1269 turnon(sep->se_fd, SO_DEBUG) < 0) in setup()
|
| /freebsd-12.1/sbin/ping6/ |
| H A D | ping6.c | 779 (void)setsockopt(ssend, SOL_SOCKET, SO_DEBUG, (char *)&hold, in main() 781 (void)setsockopt(srecv, SOL_SOCKET, SO_DEBUG, (char *)&hold, in main()
|
| /freebsd-12.1/contrib/netcat/ |
| H A D | netcat.c | 1194 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, in set_common_sockopts()
|