Lines Matching refs:frame

113 static void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr);
396 // Allocate invalid frame
806 * Enable/Disable LLC frame promiscuous mode reception
1117 int frame_status; // HWM tx frame status.
1133 // Check if the frame may/must be sent as a synchronous frame.
1136 // It's an LLC frame.
1143 // Send as sync. frame.
1152 // Unable to send the frame.
1170 } // if (unable to send frame)
1188 if (!(frame_status & LAN_TX)) { // local only frame
1208 static void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr)
1212 if ((((unsigned long) frame[1 + 6]) & ~0x01) != 0) // source routing bit
1215 if ((unsigned short) frame[1 + 10] != 0)
1217 SRBit = frame[1 + 6] & 0x01;
1218 memcpy(&frame[1 + 6], hw_addr, ETH_ALEN);
1219 frame[8] |= SRBit;
1268 * interrupt bits (end of frame) for the synchronous or asynchronous
1403 * frame. This means that the virt address passed in here is part of
1490 * txd - A pointer to the last TxD which is used by the frame.
1543 * The hardware module calls this function if an LLC frame is received
1548 * mac_drv_rx_complete forwards the frame to the LLC layer if it should
1554 * rxd - A pointer to the first RxD which is used by the receive frame.
1556 * frag_count - Count of RxDs used by the received frame.
1619 goto RequeueRxd; // Discard the frame.
1645 // deliver frame to system
1671 * buffer was filled with an invalid frame or an SMT frame.
1675 * rxd - A pointer to the first RxD which is used by the receive frame.
1677 * frag_count - Count of RxDs used by the received frame.
1856 * The hardware module calls this routine when an SMT or NSA frame of the
1862 * mac_drv_rx_init allocates the required target memory for this frame,
1863 * and receives the frame fragment by fragment by calling mac_drv_rx_frag.
1867 * len - The length (in bytes) of the received frame (FC, DA, SA, Data).
1869 * fc - The Frame Control field of the received frame.
1886 // "Received" a SMT or NSA frame of the local SMT.
1889 pr_debug("fddi: Discard invalid local SMT frame\n");
1903 // deliver frame to system