···11-22-33-/****************************************************************************44- ******* *******55- ******* F O R M P A C K E T H E A D E R F I L E66- ******* *******77- ****************************************************************************88-99- Author : Ian Nandhra1010- Date :1111-1212- *1313- * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.1414- *1515- * This program is free software; you can redistribute it and/or modify1616- * it under the terms of the GNU General Public License as published by1717- * the Free Software Foundation; either version 2 of the License, or1818- * (at your option) any later version.1919- *2020- * This program is distributed in the hope that it will be useful,2121- * but WITHOUT ANY WARRANTY; without even the implied warranty of2222- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the2323- * GNU General Public License for more details.2424- *2525- * You should have received a copy of the GNU General Public License2626- * along with this program; if not, write to the Free Software2727- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.2828-2929- Version : 0.013030-3131-3232- Mods3333- ----------------------------------------------------------------------------3434- Date By Description3535- ----------------------------------------------------------------------------3636-3737- ***************************************************************************/3838-3939-#ifndef _formpkt_h4040-#define _formpkt_h 14141-4242-#ifndef lint4343-#ifdef SCCS4444-static char *_rio_formpkt_h_sccs = "@(#)formpkt.h 1.1";4545-#endif4646-#endif4747-4848-typedef struct FORM_BOOT_PKT_1 FORM_BOOT_PKT_1;4949-struct FORM_BOOT_PKT_1 {5050- ushort pkt_number;5151- ushort pkt_total;5252- ushort boot_top;5353-};5454-5555-typedef struct FORM_BOOT_PKT_2 FORM_BOOT_PKT_2;5656-struct FORM_BOOT_PKT_2 {5757- ushort pkt_number;5858- char boot_data[10];5959-};6060-6161-6262-typedef struct FORM_ATTACH_RTA FORM_ATTACH_RTA;6363-struct FORM_ATTACH_RTA {6464- char cmd_code;6565- char booter_serial[4];6666- char booter_link;6767- char bootee_serial[4];6868- char bootee_link;6969-};7070-7171-7272-typedef struct FORM_BOOT_ID FORM_BOOT_ID;7373-struct FORM_BOOT_ID {7474- char cmd_code;7575- char bootee_serial[4];7676- char bootee_prod_id;7777- char bootee_link;7878-};7979-8080-8181-8282-typedef struct FORM_ROUTE_1 FORM_ROUTE_1;8383-struct FORM_ROUTE_1 {8484- char cmd_code;8585- char pkt_number;8686- char total_in_sequence;8787- char unit_id;8888- char host_unit_id;8989-};9090-9191-typedef struct FORM_ROUTE_2 FORM_ROUTE_2;9292-struct FORM_ROUTE_2 {9393- char cmd_code;9494- char pkt_number;9595- char total_in_sequence;9696- char route_data[9];9797-};9898-9999-typedef struct FORM_ROUTE_REQ FORM_ROUTE_REQ;100100-struct FORM_ROUTE_REQ {101101- char cmd_code;102102- char pkt_number;103103- char total_in_sequence;104104- char route_data[10];105105-};106106-107107-108108-typedef struct FORM_ERROR FORM_ERROR;109109-struct FORM_ERROR {110110- char cmd_code;111111- char error_code;112112-113113-};114114-115115-typedef struct FORM_STATUS FORM_STATUS;116116-struct FORM_STATUS {117117- char cmd_code;118118- char status_code;119119- char last_packet_valid;120120- char tx_buffer;121121- char rx_buffer;122122- char port_status;123123- char phb_status;124124-};125125-126126-127127-typedef struct FORM_LINK_STATUS FORM_LINK_STATUS;128128-struct FORM_LINK_STATUS {129129- char cmd_code;130130- char status_code;131131- char link_number;132132- ushort rx_errors;133133- ushort tx_errors;134134- ushort csum_errors;135135- ushort disconnects;136136-};137137-138138-139139-140140-typedef struct FORM_PARTITION FORM_PARTITION;141141-struct FORM_PARTITION {142142- char cmd_code;143143- char status_code;144144- char port_number;145145- char tx_max;146146- char rx_max;147147- char rx_limit;148148-};149149-150150-151151-#endif152152-153153-/*********** end of file ***********/