linux/include/linux/if_hippi.h
<<
> < href="../linux+v31.310/include/linux/if_hippi.h"> > o/spa> ospa> class="lxr_search"> >="+search" method="post" onsubmit="return do_search(this);"> > > > Search ospa> class="lxr_prefs" < onclick="return ajax_prefs();"> > o/spa> > < < ="ajax+*" method="post" onsubmit="return false;"> oinput typ="vhidden" nam="vajax_lookup" id"vajax_lookup" alue="v"> > < <
<
< < < odiv id"vfile_contents"
< <1o/a>ospa> class="comment">/*o/spa>
 < <2o/a>ospa> class="comment"> * INET         An implementaion vof the TCP/IP protocol suite for the LINUXo/spa>
 < <3o/a>ospa> class="comment"> *              operaiong system.  INET is implemented usong the  BSD Socketo/spa>
 < <4o/a>ospa> class="comment"> *              interface as the meansvof communicaion vwith the user level.o/spa>
 < <5o/a>ospa> class="comment"> *o/spa>
 < <6o/a>ospa> class="comment"> *              Global definiion s for the HIPPI interface.o/spa>
 < <7o/a>ospa> class="comment"> *o/spa>
 < <8o/a>ospa> class="comment"> * Verson :     @(#)if_hippi.h <1.0.0   05/26/97o/spa>
 < <9o/a>ospa> class="comment"> *o/spa>
 < 0ospa> class="comment"> * Author:      Fred N. aln Kempen, <waltje@uWalt.NL.Mugnet.ORG>o/spa>
 < 11o/a>ospa> class="comment"> *              Donald Becker, <becker@super.org>o/spa>
 < 12o/a>ospa> class="comment"> *              Ala> Cox, <ala>@lxorguk.ukuu.org.uk>o/spa>
 < 13o/a>ospa> class="comment"> *              Steve Whitehouse, <gw7rrm@eeshack3.swan.ac.uk>o/spa>
 < 14o/a>ospa> class="comment"> *              Jes Sorensen, <Jes.Sorensen@cern.ch>o/spa>
 < 15o/a>ospa> class="comment"> *o/spa>
 < 16o/a>ospa> class="comment"> *              This program is free software; you ca> redistribute it and/oro/spa>
 < 17o/a>ospa> class="comment"> *              modify it under the termsvof the GNU General Public Licenseo/spa>
 < 18o/a>ospa> class="comment"> *              as published by the Free Software Foundaion ; either verson o/spa>
 < 19o/a>ospa> class="comment"> *              2vof the License, or (at your ption>) any later verson .o/spa>
 < 2ospa> class="comment"> */o/spa>
 < 21o/a>  < 22o/a>#ifndef_LINUX_IF_HIPPI_Ho/a>	< 23o/a>#define_LINUX_IF_HIPPI_Ho/a>	< 24o/a>	< 25o/a>#include <linux/typ=s.ho/a>>	< 26o/a>#include <asm/byteorder.ho/a>>	< 27o/a>	< 28o/a>ospa> class="comment">/*o/spa>
 < 29o/a>ospa> class="comment"> *      HIPPI magic constants.o/spa>
 < 3ospa> class="comment"> */o/spa>
 < 31o/a>	< 32o/a>#defineHIPPI_ALENo/a>      6               ospa> class="comment">/* Bytes in one HIPPI hw-addr      */o/spa>
 < 33o/a>#defineHIPPI_HLENo/a>      sizeof(structhippi_hdro/a>) < 34o/a>#defineHIPPI_ZLENo/a>      0               ospa> class="comment">/* Min. bytes in framevwithout FCS */o/spa>
 < 35o/a>#defineHIPPI_DATA_LENo/a>  65280           ospa> class="comment">/* Max. bytes in payload           */o/spa>
 < 36o/a>#defineHIPPI_FRAME_LENo/a> (oa href="+code=HIPPI_DATA_LEN" class="sref">HIPPI_DATA_LENo/a> +HIPPI_HLENo/a>) < 37o/a>                                        ospa> class="comment">/* Max. bytes in framevwithout FCS */o/spa>
 < 38o/a>	< 39o/a>ospa> class="comment">/*o/spa>
 < 4ospa> class="comment"> * Define
 < 41o/a>ospa> class="comment"> */o/spa>
 < 42o/a>#defineHIPPI_EXTENDED_SAPo/a>      0xAA < 43o/a>#defineHIPPI_UI_CMDo/a>            0x03 < 44o/a>	< 45o/a>	< 46o/a>ospa> class="comment">/*o/spa>
 < 47o/a>ospa> class="comment"> *      Do we need to list some sortvof ID's here?o/spa>
 < 48o/a>ospa> class="comment"> */o/spa>
 < 49o/a>	< 5ospa> class="comment">/*o/spa>
 < 51o/a>ospa> class="comment"> *      HIPPI statistics collecton vdata. o/spa>
 < 52o/a>ospa> class="comment"> */o/spa>
 < 53o/a>  < 54o/a>structhipnet_statisticso/a> { < 55o/a>        int     oa href="+code=rx_packets" class="sref">rx_packetso/a>;             ospa> class="comment">/* total packets received       */o/spa>
 < 56o/a>        int     oa href="+code=tx_packets" class="sref">tx_packetso/a>;             ospa> class="comment">/* total packets transmitted    */o/spa>
 < 57o/a>        int     oa href="+code=rx_errors" class="sref">rx_errorso/a>;              ospa> class="comment">/* bad packets received         */o/spa>
 < 58o/a>        int     oa href="+code=tx_errors" class="sref">tx_errorso/a>;              ospa> class="comment">/* packet transmit problems     */o/spa>
 < 59o/a>        int     oa href="+code=rx_dropped" class="sref">rx_droppedo/a>;             ospa> class="comment">/* no space in linux buffers    */o/spa>
 < 60o/a>        int     oa href="+code=tx_dropped" class="sref">tx_droppedo/a>;             ospa> class="comment">/* no space available in linux  */o/spa>
 < 61o/a>	< 62o/a>        ospa> class="comment">/* detailed rx_errors: */o/spa>
 < 63o/a>        int     oa href="+code=rx_length_errors" class="sref">rx_length_errorso/a>; < 64o/a>        int     oa href="+code=rx_over_errors" class="sref">rx_over_errorso/a>;         ospa> class="comment">/* receiver rong buff overflow  */o/spa>
 < 65o/a>        int     oa href="+code=rx_crc_errors" class="sref">rx_crc_errorso/a>;          ospa> class="comment">/* recved pktvwith crc error    */o/spa>
 < 66o/a>        int     oa href="+code=rx_frame_errors" class="sref">rx_frame_errorso/a>;        ospa> class="comment">/* recv'd framevalignment error */o/spa>
 < 67o/a>        int     oa href="+code=rx_fifo_errors" class="sref">rx_fifo_errorso/a>;         ospa> class="comment">/* recv'r fifo overrun          */o/spa>
 < 68o/a>        int     oa href="+code=rx_missed_errors" class="sref">rx_missed_errorso/a>;       ospa> class="comment">/* receiver missed packet       */o/spa>
 < 69o/a>	< 70o/a>        ospa> class="comment">/* detailed tx_errors */o/spa>
 < 71o/a>        int     oa href="+code=tx_aborted_errors" class="sref">tx_aborted_errorso/a>; < 72o/a>        int     oa href="+code=tx_carrier_errors" class="sref">tx_carrier_errorso/a>; < 73o/a>        int     oa href="+code=tx_fifo_errors" class="sref">tx_fifo_errorso/a>; < 74o/a>        int     oa href="+code=tx_heartbeat_errors" class="sref">tx_heartbeat_errorso/a>; < 75o/a>        int     oa href="+code=tx_window_errors" class="sref">tx_window_errorso/a>; < 76o/a>}; < 77o/a>	< 78o/a>	< 79o/a>structhippi_fp_hdro/a> { < 80o/a>#if 0 < 81o/a>        oa href="+code=__u8" class="sref">__u8o/a>            oa href="+code=ulp" class="sref">ulpo/a>;                            ospa> class="comment">/* must contain 4 */o/spa>
 < 82o/a>#if oa href="+code=defined" class="sref">definedo/a> (oa href="+code=__BIG_ENDIAN_BITFIELD" class="sref">__BIG_ENDIAN_BITFIELDo/a>) ; < 8ainclude/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa href="+code=42NDI0m6_"include/lief="+code=42ND"vL6:1         ospa> class="comment">/* packetontaibe 1pa>
 < 84o/a>84e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hstt_e_d2_burst_bon ; ry" class="line" stt_e_d2_burst_bon ; ry"vL6:1       class="comment">/* packetontaibe zeropa>
 < 85o/a>85e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa he=42rvass="sref">rx_drop=42rvas"vL6:6                      class="comment">/* packetontaibe zeropa>
 < 86o/a>86f 0 < 87o/a>87e/linux/if_hippi.h#L62" id"vL6ass="line" line" nam16"vL62">< 62o/a>       os6 oa he=42rvas1s="sref">rx_drop=42rvas     :5ref="include/linux/if_hippi.h#L77" id8vL8" classs="line" nam="vL8">< <88o/a>88e/linux/if_hippi.h#L62" id"vL6ass="line" line" nam16"vL62">< 62o/a>       os6 oa hiefarea_(strI0m6_"include/liefarea_(str    :8                  class="comment">/* packetontaibe 3pa>
 < 89o/a>89e/linux/if_hippi.h#L62" id"vL6ass="line" line" nam16"vL62">< 62o/a>       os6 oa hi2_offseDI0m6_"include/li2_offseD    :3                     class="comment">/* packetontaibe zeropa>
 < 90o/a>9if 0 < 91o/a>91f 0 definedo/a> (oa hef="+code=__BIG_ENLITTLEN_BITFIELD" class="sref">__BIG_ENLITTLEN_BITFIELD" clas< 92o/a>92e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa he=42rvass="sref">rx_drop=42rvas"vL6:6                      class="comment">/* packetontaibe zeropa>
 ; < 9aincl9de/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hstt_e_d2_burst_bon ; ry" class="line" stt_e_d2_burst_bon ; ry"vL6:1       class="comment">/* packetontaibe zeropa>
 < 94o/a>94e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa href="+code=42NDI0m6_"include/lief="+code=42ND"vL6:1         ospa> class="comment">/* packetontaibe 1pa>
 < 95o/a>95f 0 < 96o/a>96e/linux/if_hippi.h#L62" id"vL6ass="line" line" nam16"vL62">< 62o/a>       os6 oa hi2_offseDI0m6_"include/li2_offseD    :3                     class="comment">/* packetontaibe zeropa>
 < 97o/a>97e/linux/if_hippi.h#L62" id"vL6ass="line" line" nam16"vL62">< 62o/a>       os6 oa hiefarea_(strI0m6_"include/liefarea_(str    :8                  class="comment">/* packetontaibe 3pa>
 < <98o/a>98e/linux/if_hippi.h#L62" id"vL6ass="line" line" nam16"vL62">< 62o/a>       os6 oa he=42rvas1s="sref">rx_drop=42rvas     :5r                    class="comment">/* packetontaibe zeropa>
 < <99o/a>99f 0 < 0<0o/a0<0f 0 < 101o/a0<1f 0 "Please fixla>@lxeorder.ho/a>>">< 102o/a0<2f 0 < 103o/a0<3f 0 < 104o/a0<4e/linux/if_hippi.h#L62" id"vLbeass="line" line" nabeas"vL62">< 62o/aippi.h#L62" id"fixass="sref">rx_drofixas< 105o/a0<5f 0 < 106o/a0<6e/linux/if_hippi.h#L62" id"vLbeass="line" line" nabeas"vL62">< 62o/aippi.h#L62" id"i2_(strI0m6_"include/li2_(str    ref="include/linux/if_hippi.h#L76" id10vL17" cla0ss="line" nam="vL17">< 107o/a0<7e/li}hippi.h#L62" id"vLate it an__s="line" line" naate it an__oa heef="+code=__BIG_     ss="sref">rx_dro     s< 108o/a0<< 109o/a0hippi_fp_hdrleclas < 00definedo/a> (oa href="+code=__BIG_ENDIAN_BITFIELD" class="sref">__BIG_ENDIAN_BITFIELDo/a>) < 111o/a01       oa href="+code=__u8" class="sref">__u8o/a>            oa href="+code=ulp" cfcs="sref">rx_drofc    :3 ef="include/linux/if_hippi.h#L83" id1"vL12" claass="line" nam="vL12">< 112o/a112e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hdoublecwidrI0m6_"include/lioublecwidr"vL6:1 ef="include/linux/if_hippi.h#L83" id1"vL13" claass="line" nam="vL13">< 113o/a11de/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hmessage_ho/a" class="line" message_ho/a"vL6:4 ef="include/linux/if_hippi.h#L83" id1"vL14" claass="line" nam="vL14">< 114o/a1ospa> definedo/a> (oa hef="+code=__BIG_ENLITTLEN_BITFIELD" class="sref">__BIG_ENLITTLEN_BITFIELD" clas< 115o/a115e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hmessage_ho/a" class="line" message_ho/a"vL6:4 ef="include/linux/if_hippi.h#L83" id1"vL16" claass="line" nam="vL16">< 116o/a116e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hdoublecwidrI0m6_"include/lioublecwidr"vL6:1 ef="include/linux/if_hippi.h#L83" id1"vL17" claass="line" nam="vL17">< 117o/a117e/linux/if_hippi.h#L62" id"vL6ss="sref">__u8o/a>            oa href="+code=ulp" cfcs="sref">rx_drofc    :3 ef="include/linux/if_hippi.h#L83" id1"vL18" claass="line" nam="vL18">< 118o/a1ospa> < 119o/a119e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hdest_switch_    s="sref">definedost_switch_    "vL6[3] ef="include/linux/if_hippi.h#L83" id1"vL20" cl1ass="line" nam="vL20">< 12definedo/a> (oa href="+code=__BIG_ENDIAN_BITFIELD" class="sref">__BIG_ENDIAN_BITFIELDo/a>) < 121o/a12       oa href="+code=__u8" class="sref">__u8o/a>            oa href="+code=ulp" cdost_    _ho/a" class="line" dost_    _ho/a"vL6:4,ef="include/linux/if_hippi.h#L83" id1"vL12" classs="line" nam="vL12">< 122o/a122          oa hre      oa href="+code=ulp" csrc_    _ho/a" class="line" src_    _ho/a"vL6:4 ef="include/linux/if_hippi.h#L83" id1"vL23" cl1ass="line" nam="vL23">< 123o/a123pa> definedo/a> (oa hef="+code=__BIG_ENLITTLEN_BITFIELD" class="sref">__BIG_ENLITTLEN_BITFIELD" clas< 124o/a124e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hsrc_    _ho/a" class="line" src_    _ho/a"vL6:4,ef="include/linux/if_hippi.h#L83" id1"vL15" claass="line" nam="vL25">< 125o/a125          oa hre      oa href="+code=ulp" cdost_    _ho/a" class="line" dost_    _ho/a"vL6:4 ef="include/linux/if_hippi.h#L83" id1"vL16" claass="line" nam="vL26">< 126o/a1#includendifef="include/linux/if_hippi.h#L82" id1"vL27" cl1ass="line" nam="vL27">< 127o/a127e/linux/if_hippi.h#L62" id"vL6ss="sref">__u8o/a>            oa href="+code=ulp" csrc_switch_    s="sref">definesrc_switch_    "vL6[3] ef="include/linux/if_hippi.h#L83" id1"vL18" claass="line" nam="vL28">< 128o/a128e/linux/if_hippi.h#L62" id"vL6ass="line" line" nam16"vL62">< 62o/a>       os6 oa he=42rvass="sref">rx_drop=42rvas"vL6 ef="include/linux/if_hippi.h#L83" id1"vL19" claass="line" nam="vL29">< 129o/a129e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">< 62o/a>        os6 oa hd    s="sref">defined    "vL6[       os6 oa hALEN" class="sref">HIPPI_ALENo/a>      ] ef="include/linux/if_hippi.h#L83" id1"vL30" cl1ass="line" nam="vL30">< 13< 62o/a>       os6 oa hlocally_  ministerass="sref">rx_drolocally_  ministeras"vL6 ef="include/linux/if_hippi.h#L83" id1"vL31" cl1ass="line" nam="vL31">< 131o/a13       oa href="+code=__u8" class="sref">__u8o/a>            oa href="+code=ulp" cs    s="sref">defines    "vL6[       os6 oa hALEN" class="sref">HIPPI_ALENo/a>      ] ef="include/linux/if_hippi.h#L83" id1"vL12" claass="line" nam="vL32">< 132o/a1as"vL6}hippi.h#L62" id"vLate it an__s="line" line" naate it an__oa heef="+code=__BIG_     ss="sref">rx_dro     s< 133o/a1#definef="include/linux/if_hippi.h#L76" id1"vL24" cl1ass="line" nam="vL34">< 134o/a1#defineHIPPI_DATA_LOUIclas       ref="include/linux/if_hippi.h#L44" id1"vL35" cl1ass="line" nam="vL35">< 135o/a13spa> class="comment"> *o/spa>
 < 136o/a13spa> class="comment"> *       Looks likeicensdsapNAP cssapNfields have been swaa>; e Frmistakinux
 < 137o/a13spa> class="comment"> *      DRFC 2067 
 < 138o/a13spa> class="comment"> */o/spa>
 < 139o/a13tructhippi_fp_hdrsna clas < 14__u8o/a>                 os6 oa hdsaps="sref">definedsap"vL6  oa hre      oa hreflass="comment">/* packetalways
 < 141o/a14       oa href="+code=__u8" class="sref">__u8o/a>          f="+code=ulp" cssaps="sref">definessap"vL6  oa hre      oa hreflass="comment">/* packetalways
 < 142o/a142e/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">/* packetalways
 < 143o/a14de/linux/if_hippi.h#L62" id"vL62" class="line" nam="vL62">HIPPI_DATA_LOUIclas    ];a hreflass="comment">/* packetorganiz eithal unissesal id (zero)a>
 < 144o/a144e/linux/if_hippi.h#L62" id"vLbeass="line" line" nabease/linuippi.h#L62" id"eersoho/a" class="line" eersoho/a"vL6  oa hre      oclass="comment">/* packet transmio/a IDNfieldpa>
 < 145o/a1	rx_dro     s< 146o/a1ospa> ef="include/linux/if_hippi.h#L76" id1"vL27" cl1ass="line" nam="vL47">< 147o/a1ospa> hippi_hdro/a>) < 148o/a14           oahippi_fp_hdro/a> { definefp"vL6 ef="include/linux/if_hippi.h#L83" id1"vL49" cl1ass="line" nam="vL49">< 149o/a149          oahippi_fp_hdrleclas < 15hippi_fp_hdrsna clas definesnap"vL6 ef="include/linux/if_hippi.h#L83" id1"vL51" cl1ass="line" nam="vL51">< 151o/a1ospa> }hippi.h#L62" id"vLate it an__s="line" line" naate it an__oa heef="+code=__BIG_     ss="sref">rx_dro     s< 152o/a1ospa> ef="include/linux/if_hippi.h#L76" id1"vL43" cl1ass="line" nam="vL53">< 153o/a153ncludendif oclass="comment">/* packet_IF_HIPPI_Ho/a>	
 < 154o/a1struct
< Tensorigihal LXRare; you e Free Sf="includhttp://sourceforge.net/projects/lxr">LXRaicaion ty"vL6, "> experion voln .o/spae Frf="includmailto:lxr@if_hi.no" lxr@if_hi.no"vL6. odiv d"vco"line" subfooter"> lxr.if_hi.no kindly host; e Frf="includhttp://www.redpill-if_pro.no" Redpill Lf_pro AS"vL6, provie teof Lf_uxants.ulystemAP cong sysr th42rviceth4e/le 1995. odiv id/bodyv d/html