Home
last modified time | relevance | path

Searched refs:recv (Results 1 – 25 of 67) sorted by relevance

123

/dragonfly/crypto/libressl/ssl/
H A Dtls13_handshake.c60 .recv = tls13_client_hello_recv,
101 .recv = tls13_server_hello_recv,
549 if (action->recv(ctx, &cbs)) { in tls13_handshake_recv_action()
569 int recv; member
592 .recv = 0,
595 .recv = SSL3_ST_CR_CERT_REQ_A,
599 .recv = SSL3_ST_CR_CERT_A,
604 .recv = 0,
612 .recv = 0,
620 .recv = 0,
[all …]
/dragonfly/sys/dev/misc/ipmi/
H A Dipmi.c343 struct ipmi_recv recv; in ipmi_ioctl() member
369 recv = &thunk32.recv; in ipmi_ioctl()
370 recv->addr = PTRIN(recv32->addr); in ipmi_ioctl()
371 recv->addr_len = recv32->addr_len; in ipmi_ioctl()
436 recv->msgid = kreq->ir_msgid; in ipmi_ioctl()
438 recv->msg.cmd = kreq->ir_command; in ipmi_ioctl()
449 if (recv->msg.data_len < len && in ipmi_ioctl()
461 len = min(recv->msg.data_len, len); in ipmi_ioctl()
462 recv->msg.data_len = len; in ipmi_ioctl()
513 recv32->msgid = recv->msgid; in ipmi_ioctl()
[all …]
/dragonfly/sys/netgraph7/mppc/
H A Dng_mppc.c230 hookPtr = &priv->recv.hook; in ng_mppc_newhook()
266 &priv->xmit : &priv->recv; in ng_mppc_rcvmsg()
381 if (hook == priv->recv.hook) { in ng_mppc_rcvdata()
382 if (!priv->recv.cfg.enable) { in ng_mppc_rcvdata()
402 NG_FWD_NEW_DATA(error, item, priv->recv.hook, m); in ng_mppc_rcvdata()
425 if (priv->recv.history != NULL) in ng_mppc_shutdown()
426 kfree(priv->recv.history, M_NETGRAPH_MPPC); in ng_mppc_shutdown()
447 if (hook == priv->recv.hook) in ng_mppc_disconnect()
448 priv->recv.hook = NULL; in ng_mppc_disconnect()
600 struct ng_mppc_dir *const d = &priv->recv; in ng_mppc_decompress()
[all …]
/dragonfly/sys/netgraph/mppc/
H A Dng_mppc.c216 hookPtr = &priv->recv.hook; in ng_mppc_newhook()
251 &priv->xmit : &priv->recv; in ng_mppc_rcvmsg()
377 if (hook == priv->recv.hook) { in ng_mppc_rcvdata()
378 if (!priv->recv.cfg.enable) { in ng_mppc_rcvdata()
397 NG_SEND_DATA(error, priv->recv.hook, out, meta); in ng_mppc_rcvdata()
422 if (priv->recv.history != NULL) in ng_mppc_rmnode()
423 kfree(priv->recv.history, M_NETGRAPH); in ng_mppc_rmnode()
444 if (hook == priv->recv.hook) in ng_mppc_disconnect()
445 priv->recv.hook = NULL; in ng_mppc_disconnect()
581 struct ng_mppc_dir *const d = &priv->recv; in ng_mppc_decompress()
[all …]
/dragonfly/sys/bus/firewire/
H A Dfirewire.c957 xfer->recv.pay_len = recv_len; in fw_xfer_alloc_buf()
967 if (xfer->recv.payload == NULL) { in fw_xfer_alloc_buf()
1035 if(xfer->recv.payload != NULL){ in fw_xfer_free_buf()
1454 rfp = &xfer->recv.hdr; in fw_bus_explore_callback()
1459 qld = (u_int32_t *)xfer->recv.buf; in fw_bus_explore_callback()
1681 rb->xfer->recv.spd -= rb->spd; in fw_rcv_copy()
1687 p = (u_char *)&rb->xfer->recv.hdr; in fw_rcv_copy()
1694 res = rb->xfer->recv.pay_len; in fw_rcv_copy()
1723 rb->xfer->recv.pay_len -= res; in fw_rcv_copy()
1967 if (xfer->recv.payload == NULL) in fw_try_bmr_callback()
[all …]
H A Dfwmem.c105 xfer->recv.pay_len = rlen; in fwmem_xfer_req()
134 xfer->recv.payload = (u_int32_t *)data; in fwmem_read_quad()
170 xfer->send.payload = xfer->recv.payload = NULL; in fwmem_write_quad()
209 xfer->recv.payload = data; in fwmem_read_block()
247 xfer->recv.payload = NULL; in fwmem_write_block()
H A Dfwdev.c311 fp = &xfer->recv.hdr; in fw_read()
577 tinfo = &sc->fc->tcode[xfer->recv.hdr.mode.hdr.tcode]; in fw_ioctl()
578 if (asyreq->req.len >= xfer->recv.pay_len + tinfo->hdr_len) in fw_ioctl()
579 asyreq->req.len = xfer->recv.pay_len; in fw_ioctl()
582 bcopy(&xfer->recv.hdr, fp, tinfo->hdr_len); in fw_ioctl()
583 bcopy(xfer->recv.payload, (char *)fp + tinfo->hdr_len, in fw_ioctl()
/dragonfly/sbin/udevd/
H A Dudevd_socket.c90 n = recv(s, &sz, sizeof(sz), MSG_WAITALL); in read_xml()
97 n = recv(s, xml+r, sz-r, MSG_WAITALL); in read_xml()
/dragonfly/contrib/cvs-1.12/src/
H A Dsocket-client.c92 nbytes = recv (sb->socket, data + *got, size - *got, 0); in socket_buffer_input()
180 || (err = recv (n->socket, &tmp, 1, 0)) > 0) in socket_buffer_shutdown()
/dragonfly/usr.bin/telnet/
H A Dsys_bsd.c1036 c = recv(net, netiring.supply, canread, MSG_OOB); in process_rings()
1038 c = recv(net, netiring.supply, canread, 0); in process_rings()
1055 i = recv(net, netiring.supply + c, canread - c, MSG_OOB); in process_rings()
1078 c = recv(net, netiring.supply, canread, 0); in process_rings()
1081 c = recv(net, netiring.supply, canread, 0); in process_rings()
1085 c = recv(net, (char *)netiring.supply, canread, 0); in process_rings()
H A DREADME514 recv DO ECHO 1 (first reply, ok. expect DONT ECHO next)
516 recv DONT ECHO 1 (second reply, ok. expect DO ECHO next)
517 recv DONT ECHO 0 (third reply, wrong answer. got DONT!!!)
520 recv DO ECHO 0
522 recv DONT ECHO 0
524 recv DONT ECHO 0
525 recv DO ECHO 1
535 recv do ECHO 1
537 recv dont ECHO 1
538 recv dont ECHO 0
[all …]
/dragonfly/gnu/usr.bin/grep/libgreputils/sys/
H A Dtime.h469 # undef recv
470 # define recv recv_used_without_including_sys_socket_h macro
498 _GL_WARN_ON_USE (recv,
/dragonfly/lib/libc/sys/
H A DMakefile.inc89 read.2 readlink.2 reboot.2 recv.2 rename.2 revoke.2 rfork.2 rmdir.2 \
181 MLINKS+=recv.2 recvfrom.2 \
182 recv.2 recvmsg.2
/dragonfly/lib/libdevattr/
H A Ddevattr.c169 n = recv(s, &sz, sizeof(sz), MSG_WAITALL); in read_xml()
176 n = recv(s, xml+r, sz-r, MSG_WAITALL); in read_xml()
/dragonfly/lib/libc/net/
H A Drecv.c42 recv(int s, void *buf, size_t len, int flags) in recv() function
H A DSymbol.map111 recv;
/dragonfly/libexec/comsat/
H A Dcomsat.c86 recv(0, msgbuf, sizeof(msgbuf) - 1, 0); in main()
93 cc = recv(0, msgbuf, sizeof(msgbuf) - 1, 0); in main()
/dragonfly/libexec/tftpd/
H A Dtftpd.c619 n = recv(peer, ackbuf, sizeof (ackbuf), 0); in xmitfile()
683 n = recv(peer, dp, PKTSIZE, 0); in recvfile()
720 n = recv(peer, buf, sizeof (buf), 0); /* normally times out and quits */ in recvfile()
853 n = recv(peer, ackbuf, sizeof (ackbuf), 0); in oack()
/dragonfly/sys/net/wg/
H A Dwg_noise.c894 noise_keypair_counter_check(struct noise_keypair *kp, uint64_t recv) in noise_keypair_counter_check() argument
902 recv >= REJECT_AFTER_MESSAGES)) { in noise_keypair_counter_check()
907 if (__predict_false(recv + COUNTER_WINDOW_SIZE < kp->kp_counter_recv)) { in noise_keypair_counter_check()
912 index = recv >> COUNTER_ORDER; in noise_keypair_counter_check()
914 if (__predict_true(recv > kp->kp_counter_recv)) { in noise_keypair_counter_check()
924 atomic_store_64(&kp->kp_counter_recv, recv); in noise_keypair_counter_check()
926 kp->kp_counter_recv = recv; in noise_keypair_counter_check()
931 bit = 1UL << (recv & (COUNTER_BITS - 1)); in noise_keypair_counter_check()
/dragonfly/libexec/talkd/
H A Dtalkd.c97 cc = recv(0, (char *)mp, sizeof (*mp), 0); in main()
/dragonfly/usr.bin/talk/
H A Dctl_transact.c89 cc = recv(ctl_sockt, (char *)rp, sizeof (*rp), 0); in ctl_transact()
/dragonfly/contrib/ldns/
H A Dnet.c769 rc = recv(sockfd, (void*) (wire + bytes),
795 rc = recv(sockfd, (void*) (wire + bytes),
823 rc = recv(sockfd, (void*) (wire + bytes),
844 rc = recv(sockfd, (void*) (wire + bytes),
/dragonfly/contrib/wpa_supplicant/src/drivers/
H A Ddriver_wired.c125 len = recv(sock, buf, sizeof(buf), 0); in handle_read()
143 len = recv(sock, buf, sizeof(buf), 0); in handle_dhcp()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Datombios_dp.c59 u8 *recv, int recv_size, in amdgpu_atombios_dp_process_aux_ch() argument
113 if (recv && recv_size) in amdgpu_atombios_dp_process_aux_ch()
114 amdgpu_atombios_copy_swap(recv, base + 16, recv_bytes, false); in amdgpu_atombios_dp_process_aux_ch()
/dragonfly/contrib/dhcpcd/src/
H A Dbpf.c487 bpf_arp_rw(const struct bpf *bpf, const struct in_addr *ia, bool recv) in bpf_arp_rw() argument
513 !recv, ifp->hwaddr, ifp->hwlen); in bpf_arp_rw()
545 if (!recv) in bpf_arp_rw()

123