Home
last modified time | relevance | path

Searched defs:sockfd (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/tools/usb/usbip/src/
H A Dusbip_network.c95 static ssize_t usbip_net_xmit(int sockfd, void *buff, size_t bufflen, in usbip_net_xmit()
122 ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen) in usbip_net_recv()
127 ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen) in usbip_net_send()
140 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status) in usbip_net_send_op_common()
162 int usbip_net_recv_op_common(int sockfd, uint16_t *code, int *status) in usbip_net_recv_op_common()
210 int usbip_net_set_reuseaddr(int sockfd) in usbip_net_set_reuseaddr()
222 int usbip_net_set_nodelay(int sockfd) in usbip_net_set_nodelay()
234 int usbip_net_set_keepalive(int sockfd) in usbip_net_set_keepalive()
246 int usbip_net_set_v6only(int sockfd) in usbip_net_set_v6only()
264 int sockfd; in usbip_net_tcp_connect() local
H A Dusbip_attach.c81 static int import_device(int sockfd, struct usbip_usb_device *udev) in import_device()
120 static int query_import_device(int sockfd, char *busid) in query_import_device()
176 int sockfd; in attach_device() local
H A Dusbip_list.c44 static int get_exported_devices(char *host, int sockfd) in get_exported_devices()
131 int sockfd; in list_exported_devices() local
/openbmc/qemu/util/
H A Doslib-win32.c294 bool qemu_socket_select(int sockfd, WSAEVENT hEventObject, in qemu_socket_select()
316 bool qemu_socket_unselect(int sockfd, Error **errp) in qemu_socket_unselect()
432 int qemu_connect_wrap(int sockfd, const struct sockaddr *addr, in qemu_connect_wrap()
455 int qemu_listen_wrap(int sockfd, int backlog) in qemu_listen_wrap()
473 int qemu_bind_wrap(int sockfd, const struct sockaddr *addr, in qemu_bind_wrap()
588 int qemu_accept_wrap(int sockfd, struct sockaddr *addr, in qemu_accept_wrap()
616 int qemu_shutdown_wrap(int sockfd, int how) in qemu_shutdown_wrap()
652 int qemu_getsockopt_wrap(int sockfd, int level, int optname, in qemu_getsockopt_wrap()
671 int qemu_setsockopt_wrap(int sockfd, int level, int optname, in qemu_setsockopt_wrap()
690 int qemu_getpeername_wrap(int sockfd, struct sockaddr *addr, in qemu_getpeername_wrap()
[all …]
H A Dqemu-coroutine-io.c32 qemu_co_sendv_recvv(int sockfd, struct iovec *iov, unsigned iov_cnt, in qemu_co_sendv_recvv()
62 qemu_co_send_recv(int sockfd, void *buf, size_t bytes, bool do_send) in qemu_co_send_recv()
/openbmc/google-misc/subprojects/ncsid/src/
H A Dnet_iface.cpp52 int IFaceBase::set_sock_flags(int sockfd, short flags) const in set_sock_flags()
57 int IFaceBase::clear_sock_flags(int sockfd, short flags) const in clear_sock_flags()
62 int IFaceBase::mod_sock_flags(int sockfd, short flags, bool set) const in mod_sock_flags()
84 int IFace::ioctl_sock(int sockfd, int request, struct ifreq* ifr) const in ioctl_sock()
H A Dncsi_sockio.h32 explicit SockIO(int sockfd) : net::SockIO(sockfd) {} in SockIO()
H A Dnet_sockio.h28 explicit SockIO(int sockfd) : sockfd_{sockfd} {} in SockIO()
/openbmc/pldm/host-bmc/test/
H A Ddbus_to_terminus_effecter_test.cpp39 int sockfd{}; in TEST() local
97 int sockfd{}; in TEST() local
111 int sockfd{}; in TEST() local
129 int sockfd{}; in TEST() local
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_features.c226 int sockfd = *(int *)arg; in dut_echo_thread() local
252 static int dut_run_echo_thread(pthread_t *t, int *sockfd) in dut_run_echo_thread()
339 static int recv_msg(int sockfd, void *buf, size_t bufsize, void *val, in recv_msg()
363 int state, err, *sockfd, ctrl_sockfd, echo_sockfd; in dut_run() local
528 static int send_and_recv_msg(int sockfd, enum test_commands cmd, void *val, in send_and_recv_msg()
553 int sockfd, n; in send_echo_msg() local
579 int i, err, sockfd; in tester_run() local
/openbmc/linux/tools/net/ynl/generated/
H A Dhandshake-user.h61 __u32 sockfd:1; member
68 __u32 sockfd; member
103 __u32 sockfd:1; member
107 __u32 sockfd; member
125 handshake_done_req_set_sockfd(struct handshake_done_req *req, __u32 sockfd) in handshake_done_req_set_sockfd()
/openbmc/qemu/include/qemu/
H A Dcoroutine.h296 #define qemu_co_recvv(sockfd, iov, iov_cnt, offset, bytes) \ argument
298 #define qemu_co_sendv(sockfd, iov, iov_cnt, offset, bytes) \ argument
306 #define qemu_co_recv(sockfd, buf, bytes) \ argument
308 #define qemu_co_send(sockfd, buf, bytes) \ argument
H A Diov.h98 #define iov_recv(sockfd, iov, iov_cnt, offset, bytes) \ argument
100 #define iov_send(sockfd, iov, iov_cnt, offset, bytes) \ argument
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c458 int sigwrap_connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen) in sigwrap_connect()
473 ssize_t sigwrap_send(int sockfd, const void *buf, size_t len, int flags) in sigwrap_send()
488 ssize_t sigwrap_sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *d… in sigwrap_sendto()
504 ssize_t sigwrap_sendsendmsg(int sockfd, const struct msghdr *msg, int flags) in sigwrap_sendsendmsg()
519 int sigwrap_accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen) in sigwrap_accept()
617 ssize_t sigwrap_recv(int sockfd, void *buf, size_t len, int flags) in sigwrap_recv()
632 ssize_t sigwrap_recvfrom(int sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, s… in sigwrap_recvfrom()
647 ssize_t sigwrap_recvmsg(int sockfd, struct msghdr *msg, int flags) in sigwrap_recvmsg()
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c401 int sigwrap_connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen) in sigwrap_connect()
416 ssize_t sigwrap_send(int sockfd, const void *buf, size_t len, int flags) in sigwrap_send()
431 ssize_t sigwrap_sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *d… in sigwrap_sendto()
447 ssize_t sigwrap_sendsendmsg(int sockfd, const struct msghdr *msg, int flags) in sigwrap_sendsendmsg()
462 int sigwrap_accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen) in sigwrap_accept()
544 ssize_t sigwrap_recv(int sockfd, void *buf, size_t len, int flags) in sigwrap_recv()
559 ssize_t sigwrap_recvfrom(int sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, s… in sigwrap_recvfrom()
574 ssize_t sigwrap_recvmsg(int sockfd, struct msghdr *msg, int flags) in sigwrap_recvmsg()
/openbmc/qemu/fsdev/
H A Dvirtfs-proxy-helper.c130 static int socket_read(int sockfd, void *buff, ssize_t size) in socket_read()
152 static int socket_write(int sockfd, void *buff, ssize_t size) in socket_write()
171 static int read_request(int sockfd, struct iovec *iovec, ProxyHeader *header) in read_request()
203 static int send_fd(int sockfd, int fd) in send_fd()
245 static int send_status(int sockfd, struct iovec *iovec, int status) in send_status()
/openbmc/linux/tools/usb/usbip/libsrc/
H A Dvhci_driver.c53 int sockfd; in parse_status() local
357 int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid, in usbip_vhci_attach_device2()
391 int usbip_vhci_attach_device(uint8_t port, int sockfd, uint8_t busnum, in usbip_vhci_attach_device()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dskc_to_unix_sock.c14 int err, sockfd = 0; in test_skc_to_unix_sock() local
H A Ddecap_sanity.c25 int sockfd, err; in test_decap_sanity() local
H A Dd_path.c43 int sockfd = -1, procfd = -1, devfd = -1; in trigger_fstat_events() local
/openbmc/phosphor-ipmi-flash/internal/
H A Dsys.cpp101 int SysImpl::connect(int sockfd, const struct sockaddr* addr, in connect()
107 ssize_t SysImpl::send(int sockfd, const void* buf, size_t len, int flags) const in send()
/openbmc/phosphor-networkd/test/
H A Dmock_syscall.cpp228 ssize_t sendmsg(int sockfd, const struct msghdr* msg, int flags) in sendmsg()
266 ssize_t recvmsg(int sockfd, struct msghdr* msg, int flags) in recvmsg()
/openbmc/slpd-lite/
H A Dsock_channel.hpp111 int sockfd; member in udpsocket::Channel
/openbmc/qemu/hw/9pfs/
H A D9p-proxy.c35 int sockfd; member
46 static int v9fs_receivefd(int sockfd, int *status) in v9fs_receivefd()
97 static ssize_t socket_read(int sockfd, void *buff, size_t size) in socket_read()
1134 int sockfd; in connect_namedsocket() local
/openbmc/linux/drivers/usb/usbip/
H A Dvudc_sysfs.c99 int sockfd = 0; in usbip_sockfd_store() local

12