Searched refs:sopt_td (Results 1 – 18 of 18) sorted by relevance
/freebsd/sys/netipsec/ |
H A D | ipsec_pcb.c | 448 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 D | sockopt.h | 55 struct thread *sopt_td; /* calling thread or null if kernel */ member
|
/freebsd/sys/kern/ |
H A D | uipc_socket.c | 3762 if (sopt->sopt_td != NULL) 3785 sopt.sopt_td = NULL; 3924 error = mac_setsockopt_label(sopt->sopt_td->td_ucred, 3994 error = getsock(sopt->sopt_td, splice.sp_fd, 4001 fdrop(fp, sopt->sopt_td); 4047 if (sopt->sopt_td != NULL) 4194 error = mac_getsockopt_label(sopt->sopt_td->td_ucred, 4211 sopt->sopt_td->td_ucred, so, &extmac); 4295 MGET(m, sopt->sopt_td ? M_WAITOK : M_NOWAIT, MT_DATA); 4299 MCLGET(m, sopt->sopt_td ? M_WAITOK : M_NOWAIT); [all …]
|
H A D | uipc_syscalls.c | 1239 sopt.sopt_td = td; in kern_setsockopt() 1242 sopt.sopt_td = NULL; in kern_setsockopt() 1306 sopt.sopt_td = td; in kern_getsockopt() 1309 sopt.sopt_td = NULL; in kern_getsockopt()
|
H A D | uipc_ktls.c | 354 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()
|
/freebsd/sys/dev/iscsi/ |
H A D | icl_soft_proxy.c | 267 sopt.sopt_td = NULL; in icl_listen_add_tcp()
|
/freebsd/sys/netinet/ |
H A D | ip_output.c | 1144 m = m_get(sopt->sopt_td ? M_WAITOK : M_NOWAIT, MT_DATA); in ip_ctloutput() 1163 if (sopt->sopt_td != NULL) { in ip_ctloutput() 1164 error = priv_check(sopt->sopt_td, in ip_ctloutput()
|
H A D | tcp_log_buf.c | 2050 if (sopt->sopt_td != NULL) in tcp_log_copyout() 2322 sopt.sopt_td = NULL; in tcp_log_expandlogbuf()
|
H A D | in_pcb.c | 3040 sopt.sopt_td = NULL; in sysctl_setsockopt()
|
H A D | sctp_usrreq.c | 6915 p = (void *)sopt->sopt_td;
|
/freebsd/sys/netgraph/ |
H A D | ng_ksocket.c | 912 sopt.sopt_td = NULL; in ng_ksocket_rcvmsg() 946 sopt.sopt_td = NULL; in ng_ksocket_rcvmsg()
|
/freebsd/sys/rpc/ |
H A D | rpc_generic.c | 205 opt.sopt_td = NULL; in __rpc_socket2sockinfo()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_sockopt.c | 3681 error = priv_check(sopt->sopt_td, PRIV_NETINET_IPFW); in ipfw_ctl3() 3713 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); in ipfw_ctl3() 3827 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); in ipfw_ctl()
|
H A D | ip_dummynet.c | 2503 error = priv_check(sopt->sopt_td, PRIV_NETINET_DUMMYNET); in ip_dn_ctl() 2509 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); in ip_dn_ctl()
|
/freebsd/sys/netinet6/ |
H A D | ip6_output.c | 1639 td = sopt->sopt_td; in ip6_ctloutput() 2466 struct thread *td = sopt->sopt_td; in ip6_pcbopts()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 830 sopt.sopt_td = NULL; in setiwsockopt() 1652 sopt.sopt_td = NULL; in send_abort()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_tom.c | 2187 if (sopt->sopt_td != NULL) { in t4_ctloutput_tom()
|
/freebsd/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_rfcomm.c | 1321 l2sopt.sopt_td = NULL; in ng_btsocket_rfcomm_session_create()
|