Searched refs:sopt_td (Results 1 – 12 of 12) sorted by relevance
| /f-stack/freebsd/sys/ |
| H A D | sockopt.h | 57 struct thread *sopt_td; /* calling thread or null if kernel */ member
|
| /f-stack/freebsd/netipsec/ |
| H A D | ipsec_pcb.c | 432 optdata = malloc(optlen, M_TEMP, sopt->sopt_td ? M_WAITOK: M_NOWAIT); in ipsec_control_pcbpolicy() 444 sopt->sopt_td ? sopt->sopt_td->td_ucred: NULL, in ipsec_control_pcbpolicy()
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_socket.c | 2961 if (sopt->sopt_td != NULL) 2984 sopt.sopt_td = NULL; 3148 error = mac_setsockopt_label(sopt->sopt_td->td_ucred, 3213 if (sopt->sopt_td != NULL) 3335 error = mac_getsockopt_label(sopt->sopt_td->td_ucred, 3352 sopt->sopt_td->td_ucred, so, &extmac); 3403 MGET(m, sopt->sopt_td ? M_WAITOK : M_NOWAIT, MT_DATA); 3407 MCLGET(m, sopt->sopt_td ? M_WAITOK : M_NOWAIT); 3427 MCLGET(m, sopt->sopt_td != NULL ? M_WAITOK : 3453 if (sopt->sopt_td != NULL) { [all …]
|
| H A D | uipc_syscalls.c | 1262 sopt.sopt_td = td; in kern_setsockopt() 1265 sopt.sopt_td = NULL; in kern_setsockopt() 1327 sopt.sopt_td = td; in kern_getsockopt() 1330 sopt.sopt_td = NULL; in kern_getsockopt()
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_output.c | 1176 m = m_get(sopt->sopt_td ? M_WAITOK : M_NOWAIT, MT_DATA); in ip_ctloutput() 1195 if (sopt->sopt_td != NULL) { in ip_ctloutput() 1196 error = priv_check(sopt->sopt_td, in ip_ctloutput()
|
| H A D | tcp_log_buf.c | 1841 if (sopt->sopt_td != NULL) in tcp_log_copyout() 2114 sopt.sopt_td = NULL; in tcp_log_expandlogbuf()
|
| H A D | sctp_usrreq.c | 6922 p = (void *)sopt->sopt_td;
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_ksocket.c | 824 sopt.sopt_td = NULL; in ng_ksocket_rcvmsg() 858 sopt.sopt_td = NULL; in ng_ksocket_rcvmsg()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_sockopt.c | 3669 error = priv_check(sopt->sopt_td, PRIV_NETINET_IPFW); in ipfw_ctl3() 3701 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); in ipfw_ctl3() 3817 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); in ipfw_ctl()
|
| H A D | ip_dummynet.c | 2459 error = priv_check(sopt->sopt_td, PRIV_NETINET_DUMMYNET); in ip_dn_ctl() 2465 error = securelevel_ge(sopt->sopt_td->td_ucred, 3); in ip_dn_ctl()
|
| /f-stack/freebsd/netinet6/ |
| H A D | ip6_output.c | 1631 td = sopt->sopt_td; in ip6_ctloutput() 2499 struct thread *td = sopt->sopt_td; in ip6_pcbopts()
|
| /f-stack/freebsd/netgraph/bluetooth/socket/ |
| H A D | ng_btsocket_rfcomm.c | 1332 l2sopt.sopt_td = NULL; in ng_btsocket_rfcomm_session_create()
|