Searched refs:rcvbuf (Results 1 - 15 of 15) sorted by relevance

/freebsd-9.3-release/contrib/ofed/management/libibmad/src/
H A Dgs.c52 pma_query_via(void *rcvbuf, ib_portid_t *dest, int port, argument
70 mad_set_field(rcvbuf, 0, IB_PC_PORT_SELECT_F, port);
81 return mad_rpc(srcport, &rpc, dest, rcvbuf, rcvbuf);
83 return madrpc(&rpc, dest, rcvbuf, rcvbuf);
88 pma_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, unsigned id) argument
90 return pma_query_via(rcvbuf, dest, port, timeout, id, NULL);
94 perf_classportinfo_query_via(void *rcvbuf, ib_portid_t *dest, int port, argument
97 return pma_query_via(rcvbuf, des
102 perf_classportinfo_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
108 port_performance_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, const void *srcport) argument
116 port_performance_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
122 performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, unsigned id, const void *srcport) argument
163 performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, unsigned id) argument
171 port_performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, const void *srcport) argument
179 port_performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout) argument
186 port_performance_ext_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, const void *srcport) argument
194 port_performance_ext_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
200 port_performance_ext_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout, const void *srcport) argument
209 port_performance_ext_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, unsigned timeout) argument
216 port_samples_control_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, const void *srcport) argument
224 port_samples_control_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
230 port_samples_result_query_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, const void *srcport) argument
238 port_samples_result_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) argument
[all...]
H A Dsmp.c88 smp_query_via(void *rcvbuf, ib_portid_t *portid, unsigned attrid, unsigned mod, argument
112 return mad_rpc(srcport, &rpc, portid, 0, rcvbuf);
114 return madrpc(&rpc, portid, 0, rcvbuf);
119 smp_query(void *rcvbuf, ib_portid_t *portid, unsigned attrid, unsigned mod, argument
122 return smp_query_via(rcvbuf, portid, attrid, mod, timeout, NULL);
H A Drpc.c113 _do_madrpc(int port_id, void *sndbuf, void *rcvbuf, int agentid, int len, argument
150 if (umad_recv(port_id, rcvbuf, &length, timeout) < 0) {
157 xdump(stderr, "rcv buf\n", umad_get_mad(rcvbuf), IB_MAD_SIZE);
159 } while ((uint32_t)mad_get_field64(umad_get_mad(rcvbuf), 0, IB_MAD_TRID_F) != trid);
161 status = umad_status(rcvbuf);
178 uint8_t sndbuf[1024], rcvbuf[1024], *mad; local
186 if ((len = _do_madrpc(p->port_id, sndbuf, rcvbuf,
193 mad = umad_get_mad(rcvbuf);
218 uint8_t sndbuf[1024], rcvbuf[1024], *mad; local
227 if ((len = _do_madrpc(p->port_id, sndbuf, rcvbuf,
395 sa_call(void *rcvbuf, ib_portid_t *portid, ib_sa_call_t *sa, unsigned timeout) argument
[all...]
H A Dsa.c52 sa_rpc_call(const void *ibmad_port, void *rcvbuf, ib_portid_t *portid, argument
80 p = mad_rpc_rmpp(ibmad_port, &rpc, portid, 0/*&sa->rmpp*/, rcvbuf); /* TODO: RMPP */
/freebsd-9.3-release/contrib/ofed/management/libibmad/include/infiniband/
H A Dmad.h759 safe_smp_query(void *rcvbuf, ib_portid_t *portid, unsigned attrid, unsigned mod, argument
765 p = smp_query(rcvbuf, portid, attrid, mod, timeout);
772 safe_smp_set(void *rcvbuf, ib_portid_t *portid, unsigned attrid, unsigned mod, argument
778 p = smp_set(rcvbuf, portid, attrid, mod, timeout);
785 uint8_t * sa_call(void *rcvbuf, ib_portid_t *portid, ib_sa_call_t *sa,
787 uint8_t * sa_rpc_call(const void *ibmad_port, void *rcvbuf, ib_portid_t *portid,
795 safe_sa_call(void *rcvbuf, ib_portid_t *portid, ib_sa_call_t *sa, argument
801 p = sa_call(rcvbuf, portid, sa, timeout);
827 uint8_t *perf_classportinfo_query(void *rcvbuf, ib_portid_t *dest, int port,
829 uint8_t *port_performance_query(void *rcvbuf, ib_portid_
[all...]
/freebsd-9.3-release/usr.bin/rlogin/
H A Drlogin.c512 char rcvbuf[8 * 1024]; variable
531 if (rcvcnt < (int)sizeof(rcvbuf)) {
532 n = read(rem, rcvbuf + rcvcnt,
533 sizeof(rcvbuf) - rcvcnt);
611 bufp = rcvbuf;
613 while ((remaining = rcvcnt - (bufp - rcvbuf)) > 0) {
623 bufp = rcvbuf;
627 rcvcnt = read(rem, rcvbuf, sizeof (rcvbuf));
/freebsd-9.3-release/libexec/bootpd/tools/bootptest/
H A Dbootptest.c112 char *rcvbuf; /* Receive packet buffer */ variable
174 rcvbuf = malloc(BUFLEN);
175 if (!sndbuf || !rcvbuf) {
416 n = recvfrom(s, rcvbuf, BUFLEN, 0,
431 snapend = (unsigned char *) rcvbuf + snaplen;
432 bootp_print(rcvbuf, n, sin_from.sin_port, 0);
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_oncore.c358 #define rcvbuf instance->Rcvbuf macro
1464 if (rcvbuf+rcvptr+i > &rcvbuf[sizeof rcvbuf])
1465 i = sizeof(rcvbuf) - rcvptr; /* and some char will be lost */
1466 memcpy(rcvbuf+rcvptr, p, i);
1485 if (rcvbuf[0] != '@' || rcvbuf[1] != '@') {
1488 if (rcvbuf[i] == '@' && rcvbuf[
[all...]
/freebsd-9.3-release/sbin/ggate/shared/
H A Dggate.h63 extern unsigned rcvbuf, sndbuf;
H A Dggate.c272 unsigned rcvbuf = G_GATE_RCVBUF; variable
291 bsize = rcvbuf;
/freebsd-9.3-release/usr.sbin/flowctl/
H A Dflowctl.c105 int rcvbuf = SORCVBUF_SIZE; local
131 if (setsockopt(cs, SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof(int)) == -1)
/freebsd-9.3-release/sbin/ggate/ggatec/
H A Dggatec.c80 "[-q queue_size] [-R rcvbuf] [-S sndbuf] [-s sectorsize] "
83 "[-R rcvbuf] [-S sndbuf] <-u unit> <host> <path>\n", getprogname());
556 rcvbuf = strtoul(optarg, NULL, 10);
557 if (rcvbuf == 0 && errno != 0)
558 errx(EXIT_FAILURE, "Invalid rcvbuf.");
/freebsd-9.3-release/crypto/openssh/
H A Dmisc.c1043 sock_get_rcvbuf(int *size, int rcvbuf) argument
1062 if (rcvbuf)
1063 setsockopt(sock, SOL_SOCKET, SO_RCVBUF, (void *)&rcvbuf,
1064 sizeof(rcvbuf));
/freebsd-9.3-release/sbin/ggate/ggated/
H A Dggated.c113 fprintf(stderr, "usage: %s [-nv] [-a address] [-p port] [-R rcvbuf] "
982 rcvbuf = strtoul(optarg, NULL, 10);
983 if (rcvbuf == 0 && errno != 0)
984 errx(EXIT_FAILURE, "Invalid rcvbuf.");
/freebsd-9.3-release/contrib/bsnmp/snmpd/
H A Dmain.c660 snmp_input_finish(struct snmp_pdu *pdu, const u_char *rcvbuf, size_t rcvlen, argument
671 pdu_b.asn_cptr = rcvbuf;

Completed in 90 milliseconds