/external/iputils/ |
D | rdisc.c | 100 static int sendbcast(int s, char *packet, int packetlen); 101 static int sendmcast(int s, char *packet, int packetlen, struct sockaddr_in *); 102 static int sendbcastif(int s, char *packet, int packetlen, struct interface *ifp); 103 static int sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interfac… 544 int packetlen, i; in solicitor() local 554 packetlen = 8; in solicitor() 557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); in solicitor() 560 i = sendbcast(s, (char *)outpack, packetlen); in solicitor() 562 i = sendmcast(s, (char *)outpack, packetlen, sin); in solicitor() 564 i = sendto( s, (char *)outpack, packetlen, 0, in solicitor() [all …]
|
/external/toybox/toys/pending/ |
D | tftp.c | 219 int packetlen, retry; in read_ack() local 242 packetlen = mkpkt_err(packet, TFTP_ER_UNKID, TFTP_ES_UNKID); in read_ack() 243 (void) write_server(sd, packet, packetlen, server); in read_ack() 252 packetlen = mkpkt_err(packet, TFTP_ER_ILLEGALOP, TFTP_ES_ILLEGALOP); in read_ack() 253 (void) write_server(sd, packet, packetlen, server); in read_ack() 380 int packetlen, sd, fd, retry = 0, ret, result = -1; in file_put() local 387 packetlen = mkpkt_request(packet, TFTP_OP_WRQ, TT.remote_file, 1); in file_put() 388 ret = write_server(sd, packet, packetlen, &server); in file_put() 389 if (ret != packetlen) goto errout_with_sd; in file_put() 397 packetlen = mkpkt_data(fd, offset, packet, blockno); in file_put() [all …]
|
/external/syslinux/gpxe/src/drivers/net/ |
D | 3c5x9.c | 244 nic->packetlen=rx_fifo; in t509_poll() 253 insw(nic->ioaddr + EP_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2); in t509_poll() 255 nic->packet[nic->packetlen+rx_fifo-1]=inb(nic->ioaddr + EP_W1_RX_PIO_RD_1); in t509_poll() 256 nic->packetlen+=rx_fifo; in t509_poll() 263 printf("=%d",nic->packetlen); in t509_poll()
|
D | 3c595.c | 276 nic->packetlen=rx_fifo; in t595_poll() 286 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2); in t595_poll() 288 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1); in t595_poll() 289 nic->packetlen+=rx_fifo; in t595_poll() 296 printf("=%d",nic->packetlen); in t595_poll()
|
D | smc9000.c | 773 nic->packetlen = (inw(nic->ioaddr + DATA_1) & 0x07ff); in smc9000_poll() 776 nic->packetlen -= 6; in smc9000_poll() 779 (nic->packetlen >> 1), nic->packetlen & 1); in smc9000_poll() 782 insw(nic->ioaddr + DATA_1, nic->packet, (nic->packetlen+2) >> 1); in smc9000_poll() 784 if (nic->packet[nic->packetlen+1] & 0x20) in smc9000_poll() 785 nic->packetlen++; in smc9000_poll()
|
D | legacy.c | 51 DBG ( "Received %d bytes\n", nic->packetlen ); in legacy_poll() 52 iob_put ( iobuf, nic->packetlen ); in legacy_poll()
|
D | cs89x0.c | 454 nic->packetlen = inw(eth_nic_base + RX_FRAME_PORT); in cs89x0_poll() 455 insw(eth_nic_base + RX_FRAME_PORT, nic->packet, nic->packetlen >> 1); in cs89x0_poll() 456 if (nic->packetlen & 1) in cs89x0_poll() 457 nic->packet[nic->packetlen-1] = inw(eth_nic_base + RX_FRAME_PORT); in cs89x0_poll()
|
D | 3c515.c | 452 nic->packetlen = rx_fifo; in t515_poll() 460 insw(nic->ioaddr + RX_FIFO, nic->packet + nic->packetlen, in t515_poll() 463 nic->packet[nic->packetlen + rx_fifo - 1] = in t515_poll() 465 nic->packetlen += rx_fifo; in t515_poll() 469 DBG ( "=%d", nic->packetlen ); in t515_poll()
|
D | virtio-net.c | 118 nic->packetlen = len; in virtnet_poll() 119 memcpy(nic->packet, (char *)rx_buffer[token], nic->packetlen); in virtnet_poll()
|
D | prism2.c | 633 nic->packetlen = rxdesc.data_len; in prism2_poll() 634 if ( nic->packetlen > 0 ) { in prism2_poll() 642 nic->packet + ETH_HLEN - sizeof(wlan_80211hdr_t), nic->packetlen); in prism2_poll()
|
D | epic100.c | 407 nic->packetlen = le32_to_cpu((rx_ring[entry].buflength))- 4; in epic100_poll() 408 memcpy(nic->packet, &rx_packet[entry * PKT_BUF_SZ], nic->packetlen); in epic100_poll()
|
D | davicom.c | 595 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16; in davicom_poll() 609 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen); in davicom_poll()
|
D | amd8111e.c | 596 nic->packetlen = pkt_len; in amd8111e_poll() 597 memcpy(nic->packet, lp->rx_buf[index], nic->packetlen); in amd8111e_poll()
|
D | sundance.c | 472 nic->packetlen = pkt_len; in sundance_poll() 474 (sdc->cur_rx * PKT_BUF_SZ), nic->packetlen); in sundance_poll()
|
D | pcnet32.c | 549 nic->packetlen = in pcnet32_poll() 552 memcpy(nic->packet, &pcnet32_bufs.rxb[entry], nic->packetlen); in pcnet32_poll()
|
D | ns83820.c | 683 nic->packetlen = cmdsts & 0xffff; in ns83820_poll() 686 nic->packetlen); in ns83820_poll()
|
D | sis900.c | 1205 nic->packetlen = (rx_status & DSIZE) - CRC_SIZE; in sis900_poll() 1214 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen); in sis900_poll()
|
D | ne2k_isa.c | 307 nic->packetlen = len; /* available to caller */ in ne_poll()
|
D | via-rhine.c | 1327 nic->packetlen = tp->rx_ring[tp->cur_rx].rx_status.bits.frame_length; in rhine_poll() 1328 memcpy (nic->packet, tp->rx_buffs[tp->cur_rx], nic->packetlen); in rhine_poll()
|
D | dmfe.c | 373 nic->packetlen = rxlen; in dmfe_poll() 375 nic->packetlen); in dmfe_poll()
|
D | forcedeth.c | 1104 nic->packetlen = len; in forcedeth_poll() 1105 memcpy(nic->packet, rxb + (i * RX_NIC_BUFSIZE), nic->packetlen); in forcedeth_poll()
|
D | depca.c | 600 memcpy(nic->packet, lp.rx_memcpy[entry], nic->packetlen = lp.rx_ring[entry].msg_length);
|
D | eepro.c | 391 nic->packetlen = rcv_size; in eepro_poll()
|
/external/syslinux/gpxe/src/core/ |
D | proto_eth_slow.c | 355 (nic.packetlen < (ETH_HLEN + sizeof(pkt->header)))) { in process_eth_slow() 360 (nic.packetlen >= ETH_HLEN + sizeof(pkt->lacp))) { in process_eth_slow() 391 (nic.packetlen >= ETH_HLEN + sizeof(pkt->marker)) && in process_eth_slow()
|
/external/syslinux/gpxe/src/include/ |
D | nic.h | 44 unsigned int packetlen; member
|