Searched refs:SO_DONTROUTE (Results 1 – 18 of 18) sorted by relevance
/freebsd/cddl/lib/libdtrace/ |
H A D | socket.d | 42 #pragma D binding "1.13" SO_DONTROUTE 43 inline int SO_DONTROUTE = 0x0010; /* just use interface addresses */ variable
|
/freebsd/tests/sys/netinet/ |
H A D | udp_dontroute.c | 93 ret = setsockopt(s, SOL_SOCKET, SO_DONTROUTE, &opt, sizeof(opt)); in main()
|
/freebsd/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 512 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 D | traceroute.c | 649 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 D | ip_var.h | 178 #define IP_ROUTETOIF SO_DONTROUTE /* 0x10 bypass routing tables */
|
H A D | sctp_os_bsd.h | 417 o_flgs |= local_inp->sctp_socket->so_options & SO_DONTROUTE; \
|
H A D | ip_divert.c | 480 ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0) in div_output_outbound()
|
H A D | tcp_output.c | 1471 ((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 D | raw_ip.c | 445 flags = ((so->so_options & SO_DONTROUTE) ? IP_ROUTETOIF : 0) | in rip_send()
|
H A D | udp_usrreq.c | 1395 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_send()
|
H A D | in_pcb.c | 1093 if ((inp->inp_socket->so_options & SO_DONTROUTE) == 0) in in_pcbladdr()
|
/freebsd/tools/regression/netinet/ipbroadcast/ |
H A D | ipbroadcast.c | 221 ret = setsockopt(s, SOL_SOCKET, SO_DONTROUTE, &soptval, in main()
|
/freebsd/sys/kern/ |
H A D | uipc_debug.c | 99 if (so_options & SO_DONTROUTE) { in db_print_sooptions()
|
H A D | uipc_socket.c | 1171 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 D | socket.h | 131 #define SO_DONTROUTE 0x00000010 /* just use interface addresses */ macro
|
/freebsd/sbin/ping/ |
H A D | ping.c | 642 (void)setsockopt(ssend, SOL_SOCKET, SO_DONTROUTE, (char *)&hold, in ping()
|
/freebsd/sys/nfs/ |
H A D | bootp_subr.c | 529 sopt.sopt_name = SO_DONTROUTE; in bootpc_call()
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 530 return (SO_DONTROUTE); in linux_to_bsd_so_sockopt()
|