Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdpsubr.c52 SO_KEEPALIVE|SO_DONTROUTE|SO_BROADCAST|SO_USELOOPBACK| in sosdp_so_inherit()
H A Dsocksdp.c673 case SO_DONTROUTE: in sosdp_getsockopt()
716 case SO_DONTROUTE: in sosdp_getsockopt()
840 case SO_DONTROUTE: in sosdp_setsockopt()
894 case SO_DONTROUTE: in sosdp_setsockopt()
H A Dsocksctpsubr.c498 SO_KEEPALIVE|SO_DONTROUTE|SO_BROADCAST|SO_USELOOPBACK| in sosctp_so_inherit()
/illumos-gate/usr/src/uts/common/netinet/
H A Dip_var.h111 #define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */
/illumos-gate/usr/src/uts/common/inet/ip/
H A Drts_opt_data.c54 { SO_DONTROUTE, SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
H A Dicmp_opt_data.c56 { SO_DONTROUTE, SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
H A Dconn_opt.c651 case SO_DONTROUTE: in conn_opt_get()
653 SO_DONTROUTE : 0; in conn_opt_get()
1138 case SO_DONTROUTE: in conn_opt_set_socket()
/illumos-gate/usr/src/stand/lib/sock/
H A Dsocket.c201 case SO_DONTROUTE: in getsockopt()
204 (sockets[i].out_flags & SO_DONTROUTE); in getsockopt()
322 case SO_DONTROUTE: in setsockopt()
325 sockets[i].out_flags |= SO_DONTROUTE; in setsockopt()
327 sockets[i].out_flags &= ~SO_DONTROUTE; in setsockopt()
H A Dsock_test.c122 { "dontroute", SO_DONTROUTE, SOL_SOCKET },
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c447 options |= SO_DONTROUTE; in main()
502 if ((gw_count > 0) && (options & SO_DONTROUTE)) { in main()
1269 if (options & SO_DONTROUTE) { in setup_socket()
1270 if (setsockopt(rsock, SOL_SOCKET, SO_DONTROUTE, (char *)&on, in setup_socket()
1366 if (options & SO_DONTROUTE) { in setup_socket()
1367 if (setsockopt(ssock, SOL_SOCKET, SO_DONTROUTE, in setup_socket()
1648 if ((ttl == (first_ttl + 1)) && (options & SO_DONTROUTE)) { in traceroute()
/illumos-gate/usr/src/boot/include/netinet/
H A Dip_var.h162 #define IP_ROUTETOIF SO_DONTROUTE /* 0x10 bypass routing tables */
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Drpc.c238 (void) setsockopt(s, SOL_SOCKET, SO_DONTROUTE, in brpc_call()
H A Dclnt_btcp.c168 (void) setsockopt(*sockp, SOL_SOCKET, SO_DONTROUTE, in clntbtcp_create()
H A Dclnt_budp.c176 (void) setsockopt(*sockp, SOL_SOCKET, SO_DONTROUTE, in clntbudp_bufcreate()
/illumos-gate/usr/src/uts/common/sys/
H A Dsocket.h136 #define SO_DONTROUTE 0x0010 /* just use interface addresses */ macro
/illumos-gate/usr/src/boot/sys/sys/
H A Dsocket.h123 #define SO_DONTROUTE 0x0010 /* just use interface addresses */ macro
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_opt_data.c63 { SO_DONTROUTE, SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dti_opts.c488 case SO_DONTROUTE: in __rpc_tli_set_options()
/illumos-gate/usr/src/stand/lib/inet/
H A Dipv4.c997 if (sockets[index].out_flags & SO_DONTROUTE) in ipv4_output()
1080 if (sockets[sock_id].out_flags & SO_DONTROUTE) in ipv4_tcp_output()
H A Ddhcpv4.c349 (void) setsockopt(sd, SOL_SOCKET, SO_DONTROUTE, in inet()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c1864 SO_DONTROUTE|SO_BROADCAST|SO_USELOOPBACK| in sotpi_accept()
4290 if ((flags & MSG_DONTROUTE) && !(so->so_options & SO_DONTROUTE)) { in sotpi_sendmsg()
4294 error = sotpi_setsockopt(so, SOL_SOCKET, SO_DONTROUTE, in sotpi_sendmsg()
4385 (void) sotpi_setsockopt(so, SOL_SOCKET, SO_DONTROUTE, in sotpi_sendmsg()
5056 case SO_DONTROUTE: in sotpi_getsockopt()
5143 case SO_DONTROUTE: in sotpi_getsockopt()
5442 case SO_DONTROUTE: in sotpi_setsockopt()
5529 case SO_DONTROUTE: in sotpi_setsockopt()
H A Dsockcommon_subr.c1296 SO_KEEPALIVE|SO_DONTROUTE|SO_BROADCAST|SO_USELOOPBACK| in socket_init_common()
1765 case SO_DONTROUTE: in socket_getopt_common()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c401 options |= SO_DONTROUTE; in main()
1465 if (options & SO_DONTROUTE) { in setup_socket()
1466 if (setsockopt(send_sock, SOL_SOCKET, SO_DONTROUTE, (char *)&on, in setup_socket()
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_opt_data.c66 { SO_DONTROUTE, SOL_SOCKET, OA_RW, OA_RW, OP_NP, 0, sizeof (int), 0 },
H A Dtcp_socket.c885 opts |= SO_DONTROUTE; in tcp_fallback_noneager()

12