Searched refs:send (Results 1 - 25 of 65) sorted by relevance

123

/haiku/src/system/libroot/posix/string/
H A Dstrtok.c17 char *sbegin, *send; local
33 send = strpbrk(sbegin, ct);
34 if (send && *send != '\0')
35 *send++ = '\0';
37 *save_ptr = send;
/haiku/src/kits/app/
H A DPortLink.cpp16 PortLink::PortLink(port_id send, port_id receive) argument
18 fSender = new LinkSender(send);
/haiku/src/libs/libtelnet/
H A Dauth.h70 int (*send)(struct XauthP *); member in struct:XauthP
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwmem.cpp67 xfer->send.hdr.mode.hdr.dst = FWLOCALBUS | fwdev->dst;
69 xfer->send.spd = fwdev->speed;
71 xfer->send.spd = min_c(spd, fwdev->speed);
74 xfer->send.pay_len = slen;
98 fp = &xfer->send.hdr;
103 xfer->send.payload = NULL;
134 fp = &xfer->send.hdr;
140 xfer->send.payload = xfer->recv.payload = NULL;
171 fp = &xfer->send.hdr;
178 xfer->send
[all...]
H A Dfirewire.cpp159 fp = &xfer->send.hdr;
183 if (xfer->send.pay_len > MAXREC(fc->maxrec)) {
184 printf("send.pay_len > maxrec\n");
193 if (len != xfer->send.pay_len){
194 printf("len(%d) != send.pay_len(%d) %s(%x)\n",
195 len, xfer->send.pay_len, tcode_str[tcode], tcode);
318 fw_dump_hdr(&xfer->send.hdr, "send");
1078 fw_dump_hdr(&xfer->send.hdr, "send");
[all...]
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd-server.py47 def send(self, astring): self.sock.send(astring) member in class:buffsock
59 def send(self, astring): member in class:debugsock
60 print "send(%r) =" % astring,
61 rv = self.sock.send(astring)
104 asock.send(negotiation(len(abuf)))
108 asock.send(req.reply(error=0,
115 asock.send(req.reply(error=0))
/haiku/build/scripts/
H A Dbootstrap_client.py41 # send command length and command
42 controlConnection.send("%08d" % len(commandToRun))
43 controlConnection.send(commandToRun)
56 stdioConnection.send(data)
H A Dbootstrap_daemon.py39 controlConnection.send(str(exitCode))
/haiku/headers/private/drivers/
H A Dksocket.h24 #define ksend send
48 #define ksend send
76 #define ksend (gSocket->send)
/haiku/src/add-ons/kernel/file_systems/googlefs/
H A Dksocket.h24 #define ksend send
46 #define ksend send
74 #define ksend (gSocket->send)
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dksocket.h24 #define ksend send
51 #define ksend (gSocket->send)
89 #define ksend (gSocket->send)
/haiku/src/tests/system/network/sock/
H A Dsourcetcp.c21 pattern(wbuf, writelen); /* fill send buffer with a pattern */
29 if ( (n = send(sockfd, &oob, 1, MSG_OOB)) != 1)
30 err_sys("send of MSG_OOB returned %d, expected %d",
/haiku/src/bin/network/telnet/
H A Dnetwork.c142 n = send(net, (char *)netoring.consume, n, 0); /* normal write */
147 * To make ourselves compatible, we only send ONE byte
152 n = send(net, (char *)netoring.consume, 1, MSG_OOB);/* URGENT data */
172 * If we sent all, and more to send, then recurse to pick
/haiku/src/tests/system/network/
H A Dudp_connect.cpp79 send(fd, argv[2], strlen(argv[2]), 0);
82 send(fd, buffer, strlen(buffer), 0);
H A Dipv46_client.cpp74 int ret = send(fd, buffer, len, 0);
77 perror("send");
84 printf("send(): success\n");
H A Dtcp_client.c82 if ((send(sockfd, buffer, strlen(buffer), 0)) == -1) {
83 perror("send");
/haiku/src/add-ons/kernel/network/ppp/ppp/
H A Dppp.cpp196 device->stats.send.errors++;
197 dprintf("sorry! fail send ppp packet, size wrong!\n");
202 device->stats.send.errors++;
203 dprintf("Fail send ppp packet, no eth for ppp!\n");
212 device->stats.send.errors++;
217 device->stats.send.packets++;
218 device->stats.send.bytes += net_buffer_size;
/haiku/src/tests/system/network/ipv6/
H A Dtcp_udp_client.cpp86 int status = send(fd, buffer, length, 0);
89 perror("send");
95 printf("send(): success\n");
/haiku/headers/private/net/
H A Dnet_socket.h41 } send, receive; member in struct:net_socket
113 ssize_t (*send)(net_socket* socket, struct msghdr* , const void* data, member in struct:net_socket_module_info
H A Dnet_stack_interface.h46 ssize_t (*send)(net_socket* socket, const void* data, size_t length, member in struct:net_stack_interface_module_info
/haiku/headers/posix/net/
H A Dif.h29 struct ifreq_stream_stats send; member in struct:ifreq_stats
/haiku/src/kits/network/libnetapi/
H A DSocket.cpp97 ssize_t bytesSent = send(Socket(), buffer, size, 0);
/haiku/src/add-ons/kernel/network/stack/
H A Dstack_interface.cpp126 return gNetSocketModule.send(socket, NULL, data, length, flags);
144 return gNetSocketModule.send(socket, &message, data, length, flags);
159 return gNetSocketModule.send(socket, (msghdr*)message, buffer, length,
H A Dnet_socket.cpp106 send.buffer_size = 65535;
107 send.low_water_mark = 1;
108 send.timeout = B_INFINITE_TIMEOUT;
726 socket->send = parent->send;
911 if ((ssize_t)socket->send.low_water_mark <= available
950 if ((ssize_t)socket->send.low_water_mark > value && value >= B_OK)
1101 *size = socket->send.buffer_size;
1117 *size = socket->send.low_water_mark;
1138 timeout = socket->send
[all...]
/haiku/src/apps/poorman/
H A DPoorManServer.cpp379 //send mime headers
380 if (send(hc->conn_fd, hc->response, hc->responselen, 0) < 0) {
394 if (send(hc->conn_fd, (void*)buf, bytesRead, 0) < 0) {
414 int retval = send(hc->conn_fd, hc->response, hc->responselen, 0);

Completed in 242 milliseconds

123