Searched refs:packetlen (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dnic.h34 unsigned int packetlen; member in struct:nic
H A D3c595.c272 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);
H A Dnic.c148 0, /* packetlen */
284 if (nic.packetlen < ETH_HLEN + sizeof(struct arprequest))
461 if (nic.packetlen < ETH_HLEN + sizeof(struct arprequest))
536 len = nic.packetlen - (ETH_HLEN + sizeof(struct iphdr) +
633 len = nic.packetlen - (ETH_HLEN + sizeof(struct iphdr) +
781 (nic.packetlen < sizeof(struct iphdr) + sizeof(struct igmp))) {
919 if (nic.packetlen >= ETH_HLEN) {
925 if ((ptype == IP) && (nic.packetlen >= ETH_HLEN + sizeof(struct iphdr))) {
951 nic.packetlen - ipoptlen);
952 nic.packetlen
[all...]
H A Depic100.c364 * returns the length of the packet in nic->packetlen.
397 nic->packetlen = le32_to_cpu((rx_ring[entry].buflength))- 4;
398 memcpy(nic->packet, &rx_packet[entry * PKT_BUF_SZ], nic->packetlen);
H A Drtl8139.c457 nic->packetlen = rx_size - 4; /* no one cares about the FCS */
467 memcpy(nic->packet, rx_ring + ring_offs + 4, nic->packetlen);
H A Dpnic.c149 nic->packetlen = length;
H A Dundi.c997 nic->packetlen = 0;
1025 memcpy ( nic->packet + nic->packetlen,
1029 nic->packetlen += undi.pxs->undi_isr.BufferLength;
1037 return nic->packetlen > 0 ? 1 : 0;
H A Ddavicom.c599 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16;
613 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen);
H A Deepro100.c479 * returns the length of the packet in nic->packetlen.
523 nic->packetlen = ACCESS(rxfd)count & 0x3fff;
524 memcpy (nic->packet, ACCESS(rxfd)packet, nic->packetlen);
H A Dnatsemi.c672 * 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);
H A Dr8169.c450 /* nic->packetlen should contain length of data */
467 nic->packetlen = (int) (tpc->RxDescArray[cur_rx].
470 nic->packetlen);
H A Dtlan.c533 /* nic->packetlen should contain length of data */
556 nic->packetlen = framesize;
563 (priv->cur_rx * TLAN_MAX_FRAME_SIZE), nic->packetlen);
567 hex_dump(nic->packet, nic->packetlen);
H A Dforcedeth.c804 /* nic->packetlen should contain length of data */
821 nic->packetlen = len;
824 (i * RX_NIC_BUFSIZE), nic->packetlen);
H A Dns83820.c677 /* nic->packetlen should contain length of data */
693 nic->packetlen = cmdsts & 0xffff;
696 nic->packetlen);
H A Dpcnet32.c546 /* nic->packetlen should contain length of data */
560 nic->packetlen =
562 memcpy(nic->packet, &rxb[entry], nic->packetlen);
H A Dsis900.c1144 * Returns the length of the packet in nic->packetlen.
1165 nic->packetlen = (rx_status & DSIZE) - CRC_SIZE;
1174 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen);
H A Dsundance.c472 /* nic->packetlen should contain length of data */
497 nic->packetlen = pkt_len;
499 (sdc->cur_rx * PKT_BUF_SZ), nic->packetlen);
H A Dvia-rhine.c1232 nic->packetlen = tp->rx_ring[tp->cur_rx].rx_status.bits.frame_length;
1233 memcpy (nic->packet, tp->rx_buffs[tp->cur_rx], nic->packetlen);
H A D3c90x.c599 *** 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);
H A Dw89c840.c383 /* nic->packetlen should contain length of data */
447 nic->packetlen = pkt_len;
H A Dns8390.c544 nic->packetlen = len; /* available to caller */
H A Dtulip.c1147 nic->packetlen = (rx_ring[tp->cur_rx].status & 0x3FFF0000) >> 16;
1158 memcpy(nic->packet, rxb + tp->cur_rx * BUFLEN, nic->packetlen);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c150 static int sendbcast(int s, char *packet, int packetlen);
151 static int sendbcastif(int s, char *packet, int packetlen,
153 static int sendmcast(int s, char *packet, int packetlen,
155 static int sendmcastif(int s, char *packet, int packetlen,
554 int packetlen, i; local
564 packetlen = 8;
567 icp->icmp_cksum = in_cksum((ushort_t *)icp, packetlen);
570 i = sendbcast(s, (char *)outpack, packetlen);
572 i = sendmcast(s, (char *)outpack, packetlen, sin);
585 i = sendto(s, (char *)outpack, packetlen,
613 int packetlen, cc; local
1129 sendbcast(int s, char *packet, int packetlen) argument
1158 sendbcastif(int s, char *packet, int packetlen, struct logint *li) argument
1198 sendmcast(int s, char *packet, int packetlen, struct sockaddr_in *sin) argument
1227 sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct logint *li) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c179 int packetlen = 0; local
188 packetlen += sizeof (*rs);
192 packetlen += add_opt_lla(pi, (struct nd_opt_lla *)pptr);
195 print_route_sol("Sending solicitation to ", pi, rs, packetlen,
198 sendpacket(sin6, pi->pi_sock, packetlen, 0);
214 int packetlen = 0; local
234 packetlen = sizeof (*ra);
240 ra, packetlen, sin6);
242 sendpacket(sin6, pi->pi_sock, packetlen, 0);
244 loopback_ra_enqueue(pi, ra, packetlen);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_netbios.c204 int packetlen; local
235 packetlen = getshort(data);
237 packetlen);
248 packetlen - 68);

Completed in 137 milliseconds

12