Home
last modified time | relevance | path

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

/freebsd/cddl/lib/libdtrace/
H A Dsocket.d42 #pragma D binding "1.13" SO_DONTROUTE
43 inline int SO_DONTROUTE = 0x0010; /* just use interface addresses */ variable
/freebsd/tests/sys/netinet/
H A Dudp_dontroute.c93 ret = setsockopt(s, SOL_SOCKET, SO_DONTROUTE, &opt, sizeof(opt)); in main()
/freebsd/usr.sbin/traceroute6/
H A Dtraceroute6.c512 options |= SO_DONTROUTE; in main()
726 if (options & SO_DONTROUTE) in main()
727 (void) setsockopt(rcvsock, SOL_SOCKET, SO_DONTROUTE, in main()
773 if (options & SO_DONTROUTE) in main()
774 (void) setsockopt(sndsock, SOL_SOCKET, SO_DONTROUTE, in main()
/freebsd/usr.sbin/traceroute/
H A Dtraceroute.c649 options |= SO_DONTROUTE; in main()
805 if (options & SO_DONTROUTE) in main()
806 (void)setsockopt(s, SOL_SOCKET, SO_DONTROUTE, (char *)&on, in main()
849 if (options & SO_DONTROUTE) in main()
850 (void)setsockopt(sndsock, SOL_SOCKET, SO_DONTROUTE, (char *)&on, in main()
/freebsd/sys/netinet/
H A Dip_var.h178 #define IP_ROUTETOIF SO_DONTROUTE /* 0x10 bypass routing tables */
H A Dsctp_os_bsd.h417 o_flgs |= local_inp->sctp_socket->so_options & SO_DONTROUTE; \
H A Dip_divert.c480 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0) in div_output_outbound()
H A Dtcp_output.c1471 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0), in tcp_default_output()
1516 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0), 0, inp); in tcp_default_output()
H A Draw_ip.c445 flags = ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0) | in rip_send()
H A Dudp_usrreq.c1395 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_send()
H A Din_pcb.c1093 if ((inp->inp_socket->so_options & SO_DONTROUTE) == 0) in in_pcbladdr()
/freebsd/tools/regression/netinet/ipbroadcast/
H A Dipbroadcast.c221 ret = setsockopt(s, SOL_SOCKET, SO_DONTROUTE, &soptval, in main()
/freebsd/sys/kern/
H A Duipc_debug.c99 if (so_options & SO_DONTROUTE) { in db_print_sooptions()
H A Duipc_socket.c1171 SO_DONTROUTE | SO_LINGER | SO_OOBINLINE | SO_NOSIGPIPE);
2141 (flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0;
2221 so->so_options |= SO_DONTROUTE;
2248 so->so_options &= ~SO_DONTROUTE;
2317 (flags & MSG_DONTROUTE) && (so->so_options & SO_DONTROUTE) == 0 &&
2460 so->so_options |= SO_DONTROUTE;
2498 so->so_options &= ~SO_DONTROUTE;
3809 case SO_DONTROUTE:
4075 case SO_DONTROUTE:
/freebsd/sys/sys/
H A Dsocket.h131 #define SO_DONTROUTE 0x00000010 /* just use interface addresses */ macro
/freebsd/sbin/ping/
H A Dping.c642 (void)setsockopt(ssend, SOL_SOCKET, SO_DONTROUTE, (char *)&hold, in ping()
/freebsd/sys/nfs/
H A Dbootp_subr.c529 sopt.sopt_name = SO_DONTROUTE; in bootpc_call()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c530 return (SO_DONTROUTE); in linux_to_bsd_so_sockopt()