Home
last modified time | relevance | path

Searched refs:sopt_td (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/netipsec/
H A Dipsec_pcb.c448 optdata = malloc(optlen, M_TEMP, sopt->sopt_td ? M_WAITOK: M_NOWAIT); in ipsec_control_pcbpolicy()
460 sopt->sopt_td ? sopt->sopt_td->td_ucred: NULL, in ipsec4_pcbctl()
/freebsd/sys/sys/
H A Dsockopt.h55 struct thread *sopt_td; /* calling thread or null if kernel */ member
/freebsd/sys/kern/
H A Duipc_socket.c3829 if (sopt->sopt_td != NULL)
3852 sopt.sopt_td = NULL;
3988 error = mac_setsockopt_label(sopt->sopt_td->td_ucred,
4058 error = getsock(sopt->sopt_td, splice.sp_fd,
4065 fdrop(fp, sopt->sopt_td);
4111 if (sopt->sopt_td != NULL)
4255 error = mac_getsockopt_label(sopt->sopt_td->td_ucred,
4272 sopt->sopt_td->td_ucred, so, &extmac);
4356 MGET(m, sopt->sopt_td ? M_WAITOK : M_NOWAIT, MT_DATA);
4360 MCLGET(m, sopt->sopt_td ? M_WAITOK : M_NOWAIT);
[all …]
H A Duipc_syscalls.c1249 sopt.sopt_td = td; in kern_setsockopt()
1252 sopt.sopt_td = NULL; in kern_setsockopt()
1316 sopt.sopt_td = td; in kern_getsockopt()
1319 sopt.sopt_td = NULL; in kern_getsockopt()
H A Duipc_ktls.c354 if (sopt->sopt_td != NULL) { in ktls_copyin_tls_enable()
364 if (sopt->sopt_td != NULL) { in ktls_copyin_tls_enable()
374 if (sopt->sopt_td != NULL) { in ktls_copyin_tls_enable()
H A Duipc_usrreq.c2759 if (sopt->sopt_td && in uipc_ctloutput()
2760 SV_PROC_FLAG(sopt->sopt_td->td_proc, SV_ILP32)) in uipc_ctloutput()
/freebsd/sys/dev/iscsi/
H A Dicl_soft_proxy.c267 sopt.sopt_td = NULL; in icl_listen_add_tcp()
/freebsd/sys/netinet/
H A Dip_output.c1157 m = m_get(sopt->sopt_td ? M_WAITOK : M_NOWAIT, MT_DATA); in ip_ctloutput()
1176 if (sopt->sopt_td != NULL) { in ip_ctloutput()
1177 error = priv_check(sopt->sopt_td, in ip_ctloutput()
H A Dtcp_log_buf.c2062 if (sopt->sopt_td != NULL) in tcp_log_copyout()
2333 sopt.sopt_td = NULL; in tcp_log_expandlogbuf()
H A Din_pcb.c3046 sopt.sopt_td = NULL; in sysctl_setsockopt()
H A Dsctp_usrreq.c6916 p = (void *)sopt->sopt_td;
/freebsd/sys/netgraph/
H A Dng_ksocket.c912 sopt.sopt_td = NULL; in ng_ksocket_rcvmsg()
946 sopt.sopt_td = NULL; in ng_ksocket_rcvmsg()
/freebsd/sys/rpc/
H A Drpc_generic.c205 opt.sopt_td = NULL; in __rpc_socket2sockinfo()
/freebsd/sys/netinet6/
H A Dip6_output.c1499 td = sopt->sopt_td; in ip6_ctloutput()
2314 struct thread *td = sopt->sopt_td; in ip6_pcbopts()
/freebsd/sys/netpfil/ipfw/
H A Dip_dummynet.c2469 error = priv_check(sopt->sopt_td, PRIV_NETINET_DUMMYNET); in ip_dn_ctl()
2475 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); in ip_dn_ctl()
H A Dip_fw_sockopt.c3166 error = priv_check(sopt->sopt_td, PRIV_NETINET_IPFW); in ipfw_ctl3()
3198 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); in ipfw_ctl3()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c830 sopt.sopt_td = NULL; in setiwsockopt()
1652 sopt.sopt_td = NULL; in send_abort()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tom.c2224 if (sopt->sopt_td != NULL) { in t4_ctloutput_tom()
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_rfcomm.c1321 l2sopt.sopt_td = NULL; in ng_btsocket_rfcomm_session_create()