Home
last modified time | relevance | path

Searched defs:sock (Results 101 – 125 of 349) sorted by relevance

12345678910>>...14

/openbmc/linux/crypto/
H A Daf_alg.c122 int af_alg_release(struct socket *sock) in af_alg_release()
148 static int alg_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in alg_bind()
357 static int alg_setsockopt(struct socket *sock, int level, int optname, in alg_setsockopt()
471 static int alg_accept(struct socket *sock, struct socket *newsock, int flags, in alg_accept()
504 static int alg_create(struct net *net, struct socket *sock, int protocol, in alg_create()
937 int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size, in af_alg_sendmsg()
1164 __poll_t af_alg_poll(struct file *file, struct socket *sock, in af_alg_poll()
H A Dalgif_rng.c107 static int rng_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rng_recvmsg()
117 static int rng_test_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rng_test_recvmsg()
133 static int rng_test_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in rng_test_sendmsg()
/openbmc/linux/drivers/pcmcia/
H A Dyenta_socket.c213 static int yenta_get_status(struct pcmcia_socket *sock, unsigned int *value) in yenta_get_status()
330 static int yenta_set_socket(struct pcmcia_socket *sock, socket_state_t *state) in yenta_set_socket()
405 static int yenta_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io) in yenta_set_io_map()
442 static int yenta_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem) in yenta_set_mem_map()
580 static int yenta_sock_init(struct pcmcia_socket *sock) in yenta_sock_init()
601 static int yenta_sock_suspend(struct pcmcia_socket *sock) in yenta_sock_suspend()
802 struct yenta_socket *sock = pci_get_drvdata(dev); in yenta_close() local
/openbmc/linux/net/sunrpc/
H A Dsvcsock.c93 static void svc_reclassify_socket(struct socket *sock) in svc_reclassify_socket()
120 static void svc_reclassify_socket(struct socket *sock) in svc_reclassify_socket()
231 svc_tcp_sock_process_cmsg(struct socket *sock, struct msghdr *msg, in svc_tcp_sock_process_cmsg()
266 struct socket *sock = svsk->sk_sock; in svc_tcp_sock_recv_cmsg() local
343 struct socket *sock = svsk->sk_sock; in svc_sock_setbufsize() local
886 struct socket *sock = svsk->sk_sock; in svc_tcp_accept() local
1397 struct socket *sock, in svc_setup_socket()
1514 struct socket *sock; in svc_create_socket() local
1623 struct socket *sock = svsk->sk_sock; in svc_sock_free() local
/openbmc/linux/net/netlink/
H A Daf_netlink.c638 static int __netlink_create(struct net *net, struct socket *sock, in __netlink_create()
751 static int netlink_release(struct socket *sock) in netlink_release()
835 static int netlink_autobind(struct socket *sock) in netlink_autobind()
1004 static int netlink_bind(struct socket *sock, struct sockaddr *addr, in netlink_bind()
1092 static int netlink_connect(struct socket *sock, struct sockaddr *addr, in netlink_connect()
1139 static int netlink_getname(struct socket *sock, struct sockaddr *addr, in netlink_getname()
1163 static int netlink_ioctl(struct socket *sock, unsigned int cmd, in netlink_ioctl()
1173 struct sock *sock; in netlink_getsockbyportid() local
1194 struct sock *sock; in netlink_getsockbyfilp() local
1661 static int netlink_setsockopt(struct socket *sock, int level, int optname, in netlink_setsockopt()
[all …]
/openbmc/linux/drivers/xen/
H A Dpvcalls-back.c58 struct socket *sock; member
78 struct socket *sock; member
289 static void pvcalls_sk_state_change(struct sock *sock) in pvcalls_sk_state_change()
300 static void pvcalls_sk_data_ready(struct sock *sock) in pvcalls_sk_data_ready()
321 struct socket *sock) in pvcalls_new_active_socket()
397 struct socket *sock; in pvcalls_back_connect() local
523 struct socket *sock; in __pvcalls_back_accept() local
586 static void pvcalls_pass_sk_data_ready(struct sock *sock) in pvcalls_pass_sk_data_ready()
/openbmc/linux/security/tomoyo/
H A Dtomoyo.c452 static int tomoyo_socket_listen(struct socket *sock, int backlog) in tomoyo_socket_listen()
466 static int tomoyo_socket_connect(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_connect()
481 static int tomoyo_socket_bind(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_bind()
496 static int tomoyo_socket_sendmsg(struct socket *sock, struct msghdr *msg, in tomoyo_socket_sendmsg()
H A Dnetwork.c650 int tomoyo_socket_listen_permission(struct socket *sock) in tomoyo_socket_listen_permission()
686 int tomoyo_socket_connect_permission(struct socket *sock, in tomoyo_socket_connect_permission()
723 int tomoyo_socket_bind_permission(struct socket *sock, struct sockaddr *addr, in tomoyo_socket_bind_permission()
758 int tomoyo_socket_sendmsg_permission(struct socket *sock, struct msghdr *msg, in tomoyo_socket_sendmsg_permission()
/openbmc/qemu/tests/qemu-iotests/
H A Dnbd-fault-injector.py79 def recvall(sock, bufsize): argument
105 def __init__(self, sock, rules): argument
191 def run_server(sock, rules, use_export): argument
/openbmc/linux/drivers/staging/gdm724x/
H A Dnetlink_k.c79 struct sock *sock; in netlink_init() local
92 int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len, in netlink_send()
/openbmc/linux/samples/seccomp/
H A Duser-trap.c32 static int send_fd(int sock, int fd) in send_fd()
61 static int recv_fd(int sock) in recv_fd()
/openbmc/linux/net/handshake/
H A Dnetlink.c95 struct socket *sock; in handshake_nl_accept_doit() local
141 struct socket *sock; in handshake_nl_done_doit() local
/openbmc/qemu/fsdev/
H A Dvirtfs-proxy-helper.c378 static int send_response(int sock, struct iovec *iovec, int size) in send_response()
750 int sock, client; in proxy_socket() local
818 static int process_reply(int sock, int type, in process_reply()
861 static int process_requests(int sock) in process_requests()
1053 int sock; in main() local
/openbmc/linux/net/mctp/test/
H A Droute-test.c291 struct socket *sock; in __mctp_route_test_init() local
318 struct socket *sock) in __mctp_route_test_fini()
337 struct socket *sock; in mctp_test_route_input_sk() local
407 struct socket *sock; in mctp_test_route_input_sk_reasm() local
545 struct socket *sock; in mctp_test_route_input_sk_keys() local
/openbmc/linux/net/ieee802154/
H A Dsocket.c80 static int ieee802154_sock_release(struct socket *sock) in ieee802154_sock_release()
91 static int ieee802154_sock_sendmsg(struct socket *sock, struct msghdr *msg, in ieee802154_sock_sendmsg()
99 static int ieee802154_sock_bind(struct socket *sock, struct sockaddr *uaddr, in ieee802154_sock_bind()
110 static int ieee802154_sock_connect(struct socket *sock, struct sockaddr *uaddr, in ieee802154_sock_connect()
152 static int ieee802154_sock_ioctl(struct socket *sock, unsigned int cmd, in ieee802154_sock_ioctl()
1001 static int ieee802154_create(struct net *net, struct socket *sock, in ieee802154_create()
/openbmc/linux/net/nfc/
H A Dllcp_core.c39 void nfc_llcp_socket_remote_param_init(struct nfc_llcp_sock *sock) in nfc_llcp_socket_remote_param_init()
45 static void nfc_llcp_socket_purge(struct nfc_llcp_sock *sock) in nfc_llcp_socket_purge()
231 static void nfc_llcp_sock_put(struct nfc_llcp_sock *sock) in nfc_llcp_sock_put()
411 struct nfc_llcp_sock *sock) in nfc_llcp_get_sdp_ssap()
710 static void nfc_llcp_set_nrns(struct nfc_llcp_sock *sock, struct sk_buff *pdu) in nfc_llcp_set_nrns()
909 struct nfc_llcp_sock *sock, *new_sock; in nfc_llcp_recv_connect() local
1036 int nfc_llcp_queue_i_frames(struct nfc_llcp_sock *sock) in nfc_llcp_queue_i_frames()
/openbmc/linux/net/packet/
H A Daf_packet.c1989 static void packet_parse_headers(struct sk_buff *skb, struct socket *sock) in packet_parse_headers()
2013 static int packet_sendmsg_spkt(struct socket *sock, struct msghdr *msg, in packet_sendmsg_spkt()
2649 struct socket *sock = po->sk.sk_socket; in tpacket_fill_skb() local
3192 static int packet_release(struct socket *sock) in packet_release()
3358 static int packet_bind_spkt(struct socket *sock, struct sockaddr *uaddr, in packet_bind_spkt()
3669 static int packet_getname(struct socket *sock, struct sockaddr *uaddr, in packet_getname()
4302 static int packet_ioctl(struct socket *sock, unsigned int cmd, in packet_ioctl()
4350 static __poll_t packet_poll(struct file *file, struct socket *sock, in packet_poll()
4382 struct socket *sock = file->private_data; in packet_mm_open() local
4392 struct socket *sock = file->private_data; in packet_mm_close() local
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dutils.cpp29 int sock; in setupUnixSocket() local
101 int writeToUnixSocket(const int sock, const char* buf, const uint64_t blockSize) in writeToUnixSocket()
/openbmc/openbmc/poky/bitbake/lib/bb/server/
H A Dprocess.py86 def __init__(self, lock, lockname, sock, sockname, server_timeout, xmlrpcinterface): argument
556 def __init__(self, ui_channel, recv, eq, sock): argument
753 def sendfds(sock, fds): argument
759 def recvfds(sock, size): argument
/openbmc/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c61 static int recv_msg(struct sockaddr_nl sock_addr, int sock) in recv_msg()
255 int sock, seq = 0; in get_route_table() local
392 int sock, seq = 0; in get_arp_table() local
455 int sock, sock_arp, nll; in monitor_routes_thread() local
H A Dsock_example.h16 int sock; in open_raw_sock() local
/openbmc/linux/net/rxrpc/
H A Dsendmsg.c755 int rxrpc_kernel_send_data(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_send_data()
792 bool rxrpc_kernel_abort_call(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_abort_call()
818 void rxrpc_kernel_set_tx_length(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_set_tx_length()
/openbmc/linux/include/linux/
H A Dmroute6.h37 static inline int ip6_mroute_setsockopt(struct sock *sock, int optname, in ip6_mroute_setsockopt()
44 int ip6_mroute_getsockopt(struct sock *sock, in ip6_mroute_getsockopt()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlocal_storage.c138 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG()
184 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type, in BPF_PROG()
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dqemurunner.py724 def __init__(self, logfunc, sock, logger, qemuoutput): argument
842 def recv(self, count, sock): argument
877 def close_socket(self, sock): argument

12345678910>>...14