Lines Matching defs:frame
110 static void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr);
392 // Allocate invalid frame
802 * Enable/Disable LLC frame promiscuous mode reception
1110 int frame_status; // HWM tx frame status.
1126 // Check if the frame may/must be sent as a synchronous frame.
1129 // It's an LLC frame.
1136 // Send as sync. frame.
1145 // Unable to send the frame.
1163 } // if (unable to send frame)
1181 if (!(frame_status & LAN_TX)) { // local only frame
1201 static void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr)
1205 if ((((unsigned long) frame[1 + 6]) & ~0x01) != 0) // source routing bit
1208 if ((unsigned short) frame[1 + 10] != 0)
1210 SRBit = frame[1 + 6] & 0x01;
1211 memcpy(&frame[1 + 6], hw_addr, ETH_ALEN);
1212 frame[8] |= SRBit;
1261 * interrupt bits (end of frame) for the synchronous or asynchronous
1396 * frame. This means that the virt address passed in here is part of
1482 * txd - A pointer to the last TxD which is used by the frame.
1535 * The hardware module calls this function if an LLC frame is received
1540 * mac_drv_rx_complete forwards the frame to the LLC layer if it should
1546 * rxd - A pointer to the first RxD which is used by the receive frame.
1548 * frag_count - Count of RxDs used by the received frame.
1611 goto RequeueRxd; // Discard the frame.
1637 // deliver frame to system
1663 * buffer was filled with an invalid frame or an SMT frame.
1667 * rxd - A pointer to the first RxD which is used by the receive frame.
1669 * frag_count - Count of RxDs used by the received frame.
1852 * The hardware module calls this routine when an SMT or NSA frame of the
1858 * mac_drv_rx_init allocates the required target memory for this frame,
1859 * and receives the frame fragment by fragment by calling mac_drv_rx_frag.
1863 * len - The length (in bytes) of the received frame (FC, DA, SA, Data).
1865 * fc - The Frame Control field of the received frame.
1882 // "Received" a SMT or NSA frame of the local SMT.
1885 pr_debug("fddi: Discard invalid local SMT frame\n");
1899 // deliver frame to system