Home
last modified time | relevance | path

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

/dragonfly/sys/netinet/
H A Dtcp_timer.c294 if (tp && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl_handler()
365 if (tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep_handler()
375 if (tp && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep_handler()
434 if (tp && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist_handler()
664 if (tp && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt_handler()
H A Dtcp_input.c938 if (so->so_options & SO_DEBUG) { in tcp_input()
2540 if (so->so_options & SO_DEBUG) in tcp_input()
2586 if (so->so_options & SO_DEBUG) in tcp_input()
2625 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_input()
2648 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_input()
H A Dtcp_output.c1194 if (so->so_options & SO_DEBUG) { in tcp_output()
H A Dtcp_usrreq.c154 #define TCPDEBUG2(req) if (tp && (so->so_options & SO_DEBUG)) \
H A Dtcp_subr.c689 if (tp == NULL || (inp->inp_socket->so_options & SO_DEBUG)) in tcp_respond()
/dragonfly/usr.sbin/traceroute/
H A Dtraceroute.c359 options |= SO_DEBUG; in main()
555 if (options & SO_DEBUG) in main()
556 setsockopt(s, SOL_SOCKET, SO_DEBUG, (char *)&on, sizeof(on)); in main()
567 if (options & SO_DEBUG) in main()
568 setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, in main()
/dragonfly/usr.sbin/traceroute6/
H A Dtraceroute6.c384 options |= SO_DEBUG; in main()
629 if (options & SO_DEBUG) in main()
630 (void) setsockopt(rcvsock, SOL_SOCKET, SO_DEBUG, in main()
643 if (options & SO_DEBUG) in main()
644 (void) setsockopt(sndsock, SOL_SOCKET, SO_DEBUG, in main()
/dragonfly/sys/sys/
H A Dsocket.h114 #define SO_DEBUG 0x0001 /* turn on debugging info recording */ macro
/dragonfly/contrib/tnftp/src/
H A Dftp.c1278 if ((options & SO_DEBUG) && in initconn()
1279 setsockopt(data, SOL_SOCKET, SO_DEBUG, in initconn()
1578 if ((options & SO_DEBUG) && in initconn()
1579 setsockopt(data, SOL_SOCKET, SO_DEBUG, in initconn()
H A Dmain.c303 options |= SO_DEBUG; in main()
H A Dcmds.c1138 options |= SO_DEBUG; in setdebug()
1140 options &= ~SO_DEBUG; in setdebug()
/dragonfly/usr.bin/telnet/
H A Dcommands.c498 (SetSockOpt(net, SOL_SOCKET, SO_DEBUG, telnet_debug)) < 0) { in togdebug()
503 if (net > 0 && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) in togdebug()
2346 if (telnet_debug && SetSockOpt(net, SOL_SOCKET, SO_DEBUG, 1) < 0) { in tn()
/dragonfly/usr.sbin/inetd/
H A Dinetd.c326 options |= SO_DEBUG; in main()
1180 if (strcmp(sep->se_proto, "tcp") == 0 && (options & SO_DEBUG) && in setup()
1181 turnon(sep->se_fd, SO_DEBUG) < 0) in setup()
/dragonfly/usr.sbin/lpr/lpd/
H A Dlpd.c886 if (setsockopt(*s, SOL_SOCKET, SO_DEBUG, &debuglvl, in socksetup()
/dragonfly/sys/kern/
H A Duipc_socket.c2145 case SO_DEBUG: in sosetopt()
2357 case SO_DEBUG: in sogetopt()
/dragonfly/sbin/ping/
H A Dping.c555 setsockopt(s, SOL_SOCKET, SO_DEBUG, (char *)&hold, in main()
/dragonfly/crypto/libressl/apps/nc/
H A Dnetcat.c1581 if (setsockopt(s, SOL_SOCKET, SO_DEBUG, in set_common_sockopts()
/dragonfly/sbin/ping6/
H A Dping6.c661 setsockopt(s, SOL_SOCKET, SO_DEBUG, (char *)&hold, in main()