Home
last modified time | relevance | path

Searched refs:so_options (Results 1 – 25 of 35) sorted by relevance

12

/xnu-8020.140.41/bsd/netinet6/
H A Dudp6_usrreq.c212 (last->in6p_socket->so_options & SO_TIMESTAMP) != 0 || in udp6_append()
213 (last->in6p_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in udp6_append()
214 (last->in6p_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in udp6_append()
419 reuse_sock = in6p->inp_socket->so_options & in udp6_input()
616 (in6p->in6p_socket->so_options & SO_TIMESTAMP) != 0 || in udp6_input()
617 (in6p->in6p_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in udp6_input()
618 (in6p->in6p_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in udp6_input()
H A Din6_pcb.c191 int wild = 0, reuseport = (so->so_options & SO_REUSEPORT); in in6_pcbbind()
203 if (!(so->so_options & (SO_REUSEADDR | SO_REUSEPORT))) { in in6_pcbbind()
258 if (so->so_options & SO_REUSEADDR) { in in6_pcbbind()
386 !(t->inp_socket->so_options & SO_REUSEPORT)) && in in6_pcbbind()
405 !(t->inp_socket->so_options & SO_REUSEPORT) && in in6_pcbbind()
440 (reuseport & t->inp_socket->so_options) == 0 && in in6_pcbbind()
459 t->inp_socket->so_options) == 0 && in in6_pcbbind()
H A Draw_ip6.c214 (last->in6p_socket->so_options & SO_TIMESTAMP) != 0 || in rip6_input()
215 (last->in6p_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in rip6_input()
216 (last->in6p_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in rip6_input()
252 (last->in6p_socket->so_options & SO_TIMESTAMP) != 0 || in rip6_input()
253 (last->in6p_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in rip6_input()
254 (last->in6p_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in rip6_input()
H A Dicmp6.c2153 (last->in6p_socket->so_options & SO_TIMESTAMP) != 0 || in icmp6_rip6_input()
2154 (last->in6p_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in icmp6_rip6_input()
2155 (last->in6p_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in icmp6_rip6_input()
2180 (last->in6p_socket->so_options & SO_TIMESTAMP) != 0 || in icmp6_rip6_input()
2181 (last->in6p_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in icmp6_rip6_input()
2182 (last->in6p_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in icmp6_rip6_input()
H A Dip6_input.c1775 if ((inp->inp_socket->so_options & SO_TIMESTAMP) != 0) { in ip6_savecontrol_v4()
1785 if ((inp->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0) { in ip6_savecontrol_v4()
1795 if ((inp->inp_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in ip6_savecontrol_v4()
H A Din6_src.c193 ((inp)->inp_socket->so_options & SO_DEBUG))
1584 if ((so->so_options & (SO_REUSEADDR | SO_REUSEPORT)) == 0) { in in6_pcbsetport()
/xnu-8020.140.41/bsd/netinet/
H A Draw_ip.c245 (last->inp_socket->so_options & SO_TIMESTAMP) != 0 || in rip_input()
246 (last->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in rip_input()
247 (last->inp_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in rip_input()
299 (last->inp_socket->so_options & SO_TIMESTAMP) != 0 || in rip_input()
300 (last->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in rip_input()
301 (last->inp_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in rip_input()
355 int flags = (so->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST; in rip_output()
H A Dtcp_timer.h303 ((tp)->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) ? \
H A Dudp_usrreq.c508 reuse_sock = (inp->inp_socket->so_options & in udp_input()
721 (inp->inp_socket->so_options & SO_TIMESTAMP) != 0 || in udp_input()
722 (inp->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in udp_input()
723 (inp->inp_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in udp_input()
810 (last->inp_socket->so_options & SO_TIMESTAMP) != 0 || in udp_append()
811 (last->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) != 0 || in udp_append()
812 (last->inp_socket->so_options & SO_TIMESTAMP_CONTINUOUS) != 0) { in udp_append()
1927 if (cfil_tag && (inp->inp_socket->so_options != cfil_so_options)) { in udp_output()
1931 soopts |= (inp->inp_socket->so_options & (SO_DONTROUTE | SO_BROADCAST)); in udp_output()
2420 if (so->so_options & SO_NOWAKEFROMSLEEP) { in udp_detach()
H A Din_pcblist.c121 xso->so_options = so->so_options; in sotoxsocket_n()
560 if ((so->so_options & SO_NOWAKEFROMSLEEP) && in inpcb_get_if_ports_used()
H A Din_pcb.c751 int wild = 0, reuseport = (so->so_options & SO_REUSEPORT); in in_pcbbind()
761 if (!(so->so_options & (SO_REUSEADDR | SO_REUSEPORT))) { in in_pcbbind()
803 if (so->so_options & SO_REUSEADDR) { in in_pcbbind()
925 !(t->inp_socket->so_options & SO_REUSEPORT)) && in in_pcbbind()
951 (reuseport & t->inp_socket->so_options) == 0 && in in_pcbbind()
1263 if (so && (so->so_options & SO_NOAPNFALLBK)) { in apn_fallback_required()
1496 (inp->inp_socket->so_options & SO_DONTROUTE)) { in in_pcbladdr()
1502 if (!(inp->inp_socket->so_options & SO_DONTROUTE) && in in_pcbladdr()
3964 if (so->so_options & SO_NOWAKEFROMSLEEP) { in inp_update_netns_flags()
H A Dtcp_output.c605 int so_options = so->so_options; in tcp_output() local
1051 (so_options & SO_DONTROUTE), in tcp_output()
1573 tp_inp_options, (so_options & SO_DONTROUTE), in tcp_output()
2538 if (so_options & SO_DEBUG) { in tcp_output()
2711 (so_options & SO_DONTROUTE), in tcp_output()
H A Dtcp_input.c2362 (so->so_options & SO_ACCEPTCONN) == 0) { in tcp_input()
2367 if (so->so_options & (SO_DEBUG | SO_ACCEPTCONN)) { in tcp_input()
2369 if (so->so_options & SO_DEBUG) { in tcp_input()
2380 if (so->so_options & SO_ACCEPTCONN) { in tcp_input()
5080 && (so->so_options & SO_OOBINLINE) == 0 in tcp_input()
5361 if (so->so_options & SO_DEBUG) { in tcp_input()
5409 if (so->so_options & SO_DEBUG) { in tcp_input()
5450 if (tp == 0 || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) { in tcp_input()
5489 if (tp == 0 || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) { in tcp_input()
6512 if ((head->so_options & SO_ACCEPTCONN) == 0) { in tcp_dropdropablreq()
H A Dtcp_usrreq.c145 #define TCPDEBUG2(req) if (tp && (so->so_options & SO_DEBUG)) \
186 if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in tcp_usr_attach()
1292 so->so_options & SO_OOBINLINE || in tcp_usr_rcvoob()
3019 } else if ((so->so_options & SO_LINGER) && so->so_linger == 0) { in tcp_disconnect()
H A Dtcp_timer.c583 if (tp->t_inpcb->inp_socket->so_options & SO_NOWAKEFROMSLEEP) { in add_to_time_wait()
1477 (tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) || in tcp_timers()
1863 if (tp->t_inpcb->inp_socket->so_options & SO_DEBUG) { in tcp_timers()
H A Dmptcp_usrreq.c137 if ((mp_so->so_options & SO_LINGER) && mp_so->so_linger == 0) { in mptcp_usr_attach()
919 } else if ((mp_so->so_options & SO_LINGER) && in mptcp_disconnect()
H A Dtcp_log.c368 tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE, in tcp_log_keepalive()
H A Dip_input.c3743 if (inp->inp_socket->so_options & SO_TIMESTAMP) { in ip_savecontrol()
3753 if (inp->inp_socket->so_options & SO_TIMESTAMP_MONOTONIC) { in ip_savecontrol()
3763 if (inp->inp_socket->so_options & SO_TIMESTAMP_CONTINUOUS) { in ip_savecontrol()
/xnu-8020.140.41/bsd/dev/dtrace/scripts/
H A Dsocket.d65 options = T->so_options;
/xnu-8020.140.41/bsd/kern/
H A Duipc_socket.c793 so->so_options |= SO_DEBUG; in socreate_internal()
1047 so->so_options |= SO_ACCEPTCONN; in solisten()
1302 if ((so->so_options & SO_ACCEPTCONN)) { in soclose_locked()
1311 so->so_options &= ~SO_ACCEPTCONN; in soclose_locked()
1421 if (so->so_options & SO_LINGER) { in soclose_locked()
1665 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) { in soconnectlock()
1788 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) { in soconnectxlocked()
2242 (so->so_options & SO_DONTROUTE) == 0 && in sosend()
2514 so->so_options |= SO_DONTROUTE; in sosend()
2565 so->so_options &= ~SO_DONTROUTE; in sosend()
[all …]
H A Duipc_socket2.c373 so->so_options = head->so_options & ~SO_ACCEPTCONN; in sonewconn_internal()
439 if ((head->so_options & SO_ACCEPTCONN) == 0) { in sonewconn_internal()
2745 xso->so_options = (short)(so->so_options & 0xffff); in sotoxsocket()
2776 xso->so_options = (short)(so->so_options & 0xffff); in sotoxsocket64()
H A Dsocket_info.c76 si->soi_options = (short)(so->so_options & 0xffff); in fill_common_sockinfo()
/xnu-8020.140.41/bsd/sys/
H A Dsocketvar.h134 u_int32_t so_options; /* from socket call, see socket.h */ member
432 short so_options; member
455 short so_options; member
490 u_int32_t so_options; member
/xnu-8020.140.41/bsd/netkey/
H A Dkeysock.c414 so->so_options |= SO_USELOOPBACK; in key_attach()
/xnu-8020.140.41/bsd/net/
H A Drtsock.c209 so->so_options |= SO_USELOOPBACK; in rts_attach()
355 if (!(so->so_options & SO_USELOOPBACK)) { in route_output()
742 if (!(so->so_options & SO_USELOOPBACK)) { in route_output()

12