Home
last modified time | relevance | path

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

12

/freebsd-9-stable/sys/netinet/
Dtcp_timer.c282 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl()
372 if (inp->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep()
386 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep()
473 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist()
637 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt()
Dtcp_input.c1044 if (so->so_options & SO_DEBUG) { in tcp_input()
1363 if (so->so_options & SO_DEBUG) in tcp_input()
1733 if (so->so_options & SO_DEBUG) in tcp_do_segment()
1780 if (so->so_options & SO_DEBUG) in tcp_do_segment()
3023 if (so->so_options & SO_DEBUG) in tcp_do_segment()
3070 if (so->so_options & SO_DEBUG) in tcp_do_segment()
3110 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_do_segment()
Dtcp_output.c1308 if (so->so_options & SO_DEBUG) { in tcp_output()
/freebsd-9-stable/crypto/heimdal/lib/roken/
Dsocket.c256 #if defined(SO_DEBUG) && defined(HAVE_SETSOCKOPT) in socket_set_debug()
259 if (setsockopt (sock, SOL_SOCKET, SO_DEBUG, (void *) &on, sizeof (on)) < 0) in socket_set_debug()
/freebsd-9-stable/usr.bin/rsh/
Drsh.c202 if (setsockopt(rem, SOL_SOCKET, SO_DEBUG, &one, in main()
205 if (setsockopt(rfd2, SOL_SOCKET, SO_DEBUG, &one, in main()
/freebsd-9-stable/usr.sbin/traceroute6/
Dtraceroute6.c425 options |= SO_DEBUG;
697 if (options & SO_DEBUG)
698 (void) setsockopt(rcvsock, SOL_SOCKET, SO_DEBUG,
744 if (options & SO_DEBUG)
745 (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG,
/freebsd-9-stable/contrib/traceroute/
Dtraceroute.c551 options |= SO_DEBUG; in main()
764 if (options & SO_DEBUG) in main()
765 (void)setsockopt(s, SOL_SOCKET, SO_DEBUG, (char *)&on, in main()
841 if (options & SO_DEBUG) in main()
842 (void)setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, (char *)&on, in main()
/freebsd-9-stable/sys/netipx/
Dspx_usrreq.c233 if (so->so_options & SO_DEBUG || traceallspxs) { in spx_input()
379 if (so->so_options & SO_DEBUG || traceallspxs) in spx_input()
397 if (cb == NULL || (cb->s_ipxpcb->ipxp_socket->so_options & SO_DEBUG || in spx_input()
420 if (cb->s_ipxpcb->ipxp_socket->so_options & SO_DEBUG || traceallspxs) in spx_input()
756 if (so->so_options & SO_DEBUG || traceallspxs) in spx_output()
820 if (so->so_options & SO_DEBUG || traceallspxs) in spx_output()
/freebsd-9-stable/contrib/telnet/telnetd/
Dtelnetd.c360 (void) setsockopt(s, SOL_SOCKET, SO_DEBUG, in main()
370 (void) setsockopt(ns, SOL_SOCKET, SO_DEBUG, in main()
/freebsd-9-stable/contrib/tnftp/src/
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()
Dmain.c298 options |= SO_DEBUG; in main()
Dcmds.c1133 options |= SO_DEBUG; in setdebug()
1135 options &= ~SO_DEBUG; in setdebug()
/freebsd-9-stable/crypto/heimdal/appl/ftp/ftp/
Dmain.c121 options |= SO_DEBUG; in main()
Dcmds.c1017 options |= SO_DEBUG; in setdebug()
1019 options &= ~SO_DEBUG; in setdebug()
Dftp.c1217 if (options & SO_DEBUG) in passive_mode()
1284 if (options & SO_DEBUG) in active_mode()
/freebsd-9-stable/sys/sys/
Dsocket.h101 #define SO_DEBUG 0x0001 /* turn on debugging info recording */ macro
/freebsd-9-stable/sys/kern/
Duipc_debug.c83 if (so_options & SO_DEBUG) { in db_print_sooptions()
/freebsd-9-stable/crypto/heimdal/appl/rsh/
Drsh.c621 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, (void *)&one, sizeof(one)) < 0) in proto()
624 setsockopt(errsock2, SOL_SOCKET, SO_DEBUG, in proto()
/freebsd-9-stable/crypto/heimdal/appl/telnet/telnet/
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()
2246 if (debug && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) { in tn()
/freebsd-9-stable/usr.bin/rlogin/
Drlogin.c250 setsockopt(rem, SOL_SOCKET, SO_DEBUG, &one, sizeof(one)) < 0) in main()
/freebsd-9-stable/contrib/telnet/telnet/
Dcommands.c535 (SetSockOpt(net, SOL_SOCKET, SO_DEBUG, telnet_debug)) < 0) { in togdebug()
540 if (net > 0 && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) in togdebug()
2412 if (telnet_debug && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) { in tn()
/freebsd-9-stable/usr.sbin/lpr/lpd/
Dlpd.c898 if (setsockopt(*s, SOL_SOCKET, SO_DEBUG, &debuglvl, in socksetup()
/freebsd-9-stable/usr.sbin/inetd/
Dinetd.c352 options |= SO_DEBUG; in main()
1285 if (strcmp(sep->se_proto, "tcp") == 0 && (options & SO_DEBUG) && in setup()
1286 turnon(sep->se_fd, SO_DEBUG) < 0) in setup()
/freebsd-9-stable/contrib/netcat/
Dnetcat.c1040 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, in set_common_sockopts()
/freebsd-9-stable/sbin/ping/
Dping.c601 (void)setsockopt(s, SOL_SOCKET, SO_DEBUG, (char *)&hold, in main()

12