HomeSort by relevance Sort by last modified time
    Searched full:packetlen (Results 1 - 25 of 34) sorted by null

1 2

  /external/android-clat/
clatd.h 24 #define PACKETLEN (MAXMTU+sizeof(struct tun_pi))
dump.c 220 char output[PACKETLEN*3+2];
223 for(i = 0; i < len && i < PACKETLEN; i++) {
clatd.c 361 char packet[PACKETLEN];
364 memset(packet, 0, PACKETLEN);
366 readlen = read(active_fd,packet,PACKETLEN);
  /external/grub/netboot/
nic.h 27 unsigned int packetlen; member in struct:nic
3c595.c 272 nic->packetlen=rx_fifo;
282 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2);
284 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1);
285 nic->packetlen+=rx_fifo;
292 printf("=%d",nic->packetlen);
smc9000.c 341 nic->packetlen = (inw(smc9000_base + DATA_1) & 0x07ff);
344 nic->packetlen -= 6;
347 (nic->packetlen >> 1), nic->packetlen & 1);
350 insw(smc9000_base + DATA_1, nic->packet, (nic->packetlen+2) >> 1);
352 if (nic->packet[nic->packetlen+1] & 0x20)
353 nic->packetlen++;
3c509.c 262 nic->packetlen=rx_fifo;
271 insw(BASE + EP_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2);
273 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + EP_W1_RX_PIO_RD_1);
274 nic->packetlen+=rx_fifo;
281 printf("=%d",nic->packetlen);
epic100.c 355 * returns the length of the packet in nic->packetlen.
386 nic->packetlen = rx_ring[entry].rxlength - 4;
387 memcpy(nic->packet, (char*)rx_ring[entry].bufaddr, nic->packetlen);
main.c 764 if (nic.packetlen >= ETH_HLEN)
773 if (nic.packetlen >= ETH_HLEN + sizeof (struct arprequest)
824 && nic.packetlen >= ETH_HLEN + sizeof (struct arprequest)
845 if (nic.packetlen < protohdrlen || ptype != IP)
884 && (nic.packetlen
887 && (nic.packetlen
otulip.c 316 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16;
323 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen);
cs89x0.c 425 nic->packetlen = inw(eth_nic_base + RX_FRAME_PORT);
426 insw(eth_nic_base + RX_FRAME_PORT, nic->packet, nic->packetlen >> 1);
427 if (nic->packetlen & 1)
428 nic->packet[nic->packetlen-1] = inw(eth_nic_base + RX_FRAME_PORT);
fa311.c 253 nic->packetlen = (desc_status & 0x0fff) - 4; /* Omit CRC size. */
254 memcpy(nic->packet, (char*)(dev->rx_ring[entry].addr), nic->packetlen);
ni5010.c 230 nic->packetlen = inw(IE_RCNT);
234 insb(IE_RBUF, nic->packet, nic->packetlen);
rtl8139.c 420 nic->packetlen = rx_size - 4; /* no one cares about the FCS */
430 memcpy(nic->packet, rx_ring + ring_offs + 4, nic->packetlen);
tiara.c 154 nic->packetlen = len;
3c90x.c 601 *** in nic->packetlen. Return 1 if a packet was found.
651 /** Ok, got packet. Set length in nic->packetlen. **/
652 nic->packetlen = (INF_3C90X.ReceiveUPD.UpPktStatus & 0x1FFF);
eepro100.c 440 * returns the length of the packet in nic->packetlen.
458 nic->packetlen = ACCESS(rxfd)count & 0x3fff;
459 memcpy (nic->packet, ACCESS(rxfd)packet, nic->packetlen);
natsemi.c 674 * Returns the length of the packet in nic->packetlen.
693 nic->packetlen = (rx_status & DSIZE) - CRC_SIZE;
702 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen);
sis900.c 987 * Returns the length of the packet in nic->packetlen.
1006 nic->packetlen = (rx_status & DSIZE) - CRC_SIZE;
1015 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen);
davicom.c 612 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16;
626 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen);
eepro.c 349 /* nic->packetlen should contain length of data */
378 nic->packetlen = rcv_size;
config.c 491 0, /* packetlen */
via-rhine.c 1119 nic->packetlen = tp->rx_ring[tp->cur_rx].rx_status.bits.frame_length;
1120 memcpy (nic->packet, tp->rx_buffs[tp->cur_rx], nic->packetlen);
  /external/quake/quake/src/WinQuake/
net_dgrm.cpp 165 unsigned int packetLen;
193 packetLen = NET_HEADERSIZE + dataLen;
195 packetBuffer.length = BigLong(packetLen | (NETFLAG_DATA | eom));
201 if (sfunc.Write (sock->socket, (byte *)&packetBuffer, packetLen, &sock->addr) == -1)
212 unsigned int packetLen;
226 packetLen = NET_HEADERSIZE + dataLen;
228 packetBuffer.length = BigLong(packetLen | (NETFLAG_DATA | eom));
234 if (sfunc.Write (sock->socket, (byte *)&packetBuffer, packetLen, &sock->addr) == -1)
245 unsigned int packetLen;
259 packetLen = NET_HEADERSIZE + dataLen
    [all...]
  /external/mdnsresponder/mDNSPosix/
mDNSPosix.c 227 ssize_t packetLen;
242 packetLen = recvfrom_flags(skt, &packet, sizeof(packet), &flags, (struct sockaddr *) &from, &fromLen, &packetInfo, &ttl);
244 if (packetLen >= 0)
285 if (mDNSAddrIsDNSMulticast(&destAddr)) packetLen = -1;
297 packetLen = -1;
317 if (packetLen >= 0)
318 mDNSCoreReceive(m, &packet, (mDNSu8 *)&packet + packetLen,
    [all...]

Completed in 499 milliseconds

1 2