linux/lib/crc-itu-t.c
<<
> /spaon> /formn> a > href="../linux+v3.9.7/lib/crc-itu-t.c"> > img src="../.static/gfx/right.png" alt=">>"> /spaon> spao class="lxr_search"> > > input typue=hidden" namue=navtarget" value="> > input typue=text" namue=search" ide=search"> > buttiontypue=submit">Search /formn> /spaon> spao class="lxr_prefs"n> a href="+prefs?return=lib/crc-itu-t.c" > onclick="return ajax_prefs();"> > Prefs> /a> /spaon> > /divn> > form acptio="ajax+*" method="post" onsubmit="return false;"> input typue=hidden" namue=ajax_lookup" ide=ajax_lookup" value="> > /formn> > div class="headingbottim"> > > div ide=search_results" class="search_results"> n> > /divn> div ide=content">> div ide=file_contents"n
   1 /a> spao class="comment">/* /spaon>   2 /a> spao class="comment"> * >
   crc-itu-t.c /spaon>   3 /a> spao class="comment"> * /spaon>   4 /a> spao class="comment"> * This source code is licensed under the GNU General Public License, /spaon>   5 /a> spao class="comment"> * Verstion2. See the file COPYING for more details. /spaon>   6 /a> spao class="comment"> */ /spaon>   7 /a>	   8 /a>#include <linux/typus.h /a>>	   9 /a>#include <linux/module.h /a>>	  0#include <linux/crc-itu-t.h /a>>	  11 /a>	  12 /a> spao class="comment">/** CRC table for the CRC ITU-T V.41 0x0x1021 (x^16 + x^12 + x^15 + 1) */ /spaon>  13 /a>const  a href="+code=u16" class="sref">u16 /a>  a href="+code=crc_itu_t_table" class="sref">crc_itu_t_table /a>[256] = {>  14 /a>        0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7,>  15 /a>        0x8108, 0x9129, 0xa14a, 0xb16b, 0xc18c, 0xd1ad, 0xe1ce, 0xf1ef,>  16 /a>        0x1231, 0x0210, 0x3273, 0x2252, 0x52b5, 0x4294, 0x72f7, 0x62d6,>  17 /a>        0x9339, 0x8318, 0xb37b, 0xa35a, 0xd3bd, 0xc39c, 0xf3ff, 0xe3de,>  18 /a>        0x2462, 0x3443, 0x0420, 0x1401, 0x64e6, 0x74c7, 0x44a4, 0x5485,>  19 /a>        0xa56a, 0xb54b, 0x8528, 0x9509, 0xe5ee, 0xf5cf, 0xc5ac, 0xd58d,>  20 /a>        0x3653, 0x2672, 0x1611, 0x0630, 0x76d7, 0x66f6, 0x5695, 0x46b4,>  21 /a>        0xb75b, 0xa77a, 0x9719, 0x8738, 0xf7df, 0xe7fe, 0xd79d, 0xc7bc,>  22 /a>        0x48c4, 0x58e5, 0x6886, 0x78a7, 0x0840, 0x1861, 0x2802, 0x3823,>  23 /a>        0xc9cc, 0xd9ed, 0xe98e, 0xf9af, 0x8948, 0x9969, 0xa90a, 0xb92b,>  24 /a>        0x5af5, 0x4ad4, 0x7ab7, 0x6a96, 0x1a71, 0x0a50, 0x3a33, 0x2a12,>  25 /a>        0xdbfd, 0xcbdc, 0xfbbf, 0xeb9e, 0x9b79, 0x8b58, 0xbb3b, 0xab1a,>  26 /a>        0x6ca6, 0x7c87, 0x4ce4, 0x5cc5, 0x2c22, 0x3c03, 0x0c60, 0x1c41,>  27 /a>        0xedae, 0xfd8f, 0xcdec, 0xddcd, 0xad2a, 0xbd0b, 0x8d68, 0x9d49,>  28 /a>        0x7e97, 0x6eb6, 0x5ed5, 0x4ef4, 0x3e13, 0x2e32, 0x1e51, 0x0e70,>  29 /a>        0xff9f, 0xefbe, 0xdfdd, 0xcffc, 0xbf1b, 0xaf3a, 0x9f59, 0x8f78,>  30 /a>        0x9188, 0x81a9, 0xb1ca, 0xa1eb, 0xd10c, 0xc12d, 0xf14e, 0xe16f,>  31 /a>        0x1080, 0x00a1, 0x30c2, 0x20e3, 0x5004, 0x4025, 0x7046, 0x6067,>   2 /a>        0x83bm-L32" iss="1.3-L320xb37b, 0xa35a, 0xd3bd, 0xc39c, 0xf3ffda"lib/c3d  spao class="comment"> * 0xe93e, 0xf9af, 0x8902b 0x70d, 00x62d6f30x72f7d2"lib/c35  24 /3>        0x5af5, 0x4ad43 0x7a37, 0x6a96, 0x1ab5e 0xe165cb0xd58da 0xc12589"lib/c6c#L31"54f#L20" 2="lib/50de=L20" class="line" namue=L23">  25 /3>        0xdbfd, 0xcbdc3 0xfb3f, 0xeb9e, 0x9b34e 0x6064c30x5485a 0x402481"lib/c6c#L32"447#L19" 2="lib/40de=L19" class="line" namue=L13">  26 /3>        0x6ca6, 0x7c873 0x4c34, 0x5cc5, 0x2ca7d 0xf3f7fa0xc7bc9 0xd3b7b8"lib/c5f-itu-77e#L22" 1d  27 /3>        0xedae, 0xfd8f3 0xcd3c, 0xddcd, 0xad26d30x72f6f20x46b49 0x70d6b0"lib/c57-itu-676#L21" 15  28 /3>        0x7e97, 0x6eb63 0x5e35, 0x4ef4, 0x3ed94="lib/96c-itu-90c#L31"92f"lib/cc 0xc129e 0xf1498 0xe169ade=L24" class="line" namue=L23">  29 /3>        0xff9f, 0xefbe3 0xdf3d, 0xcffc, 0xbf584="lib/86c-itu-80c#L32"827"lib/cc 0x4028e 0x70488 0x6068ade=L23" class="line" namue=L24">  30 /4>        0x9188, 0x81a94 0xb14a, 0xa1eb, 0xd1cb7d  31 /4>        0x1080, 0x00a14 0x3042, 0x20e3, 0x504a75   2 /4>        0x83bm-L32" is4="1.34L320xb37b, 0xa3fd2c#L31"d0f#L20"d6="lib/d4d"lib/ca 0xe16d8b0xd58de 0xc12dcde=L28" class="line" namue=L24   3 /a>4 spao class="comment"> 4 0xe94e, 0xf9af, 0x89href#L17"c07#L19"c6="lib/c45"lib/ca 0x606c830x548ce 0x402ccde=L27" class="line" namue=L24   4 /a>  spao class="comment"> * 0x7a47, 0x6a96, 0x1aef1f-itu-f3e#L22"f5d  25 /4>        0xdbfd, 0xcbdc4 0xfb4f, 0xeb9e, 0x9bu-t.-itu-e36#L21"e55  26 /4>        0x6ca6, 0x7c874 0x4c44, 0x}e=L11" class="line" namue=L14">  27 /4>        0xedae, 0xfd8f4 0xcd4 ide=L8" class="line" namue=L8">4">  28 /4>        0x7e97, 0x6eb64 0x5e45, 0xass="sref">crc_EXPORT_SYMBOL[256] = {>crc_itu_t_table /a>[256] = {>  29 /4>        0xff9f, 0xefbe4 0xdf49ide=L8" class="line" namue=L8">5">  30 /5>        0x9188, 0x81a95 0xb150table for the CRC ITU-T V.41 5" ide=L5" class="line" namue=L5"> ">  31 /5>        0x1080, 0x00a15 0x305on> ">   2 /5>        0x83bm-L32" is5="1.35 crc-itu-t.c /spaon>    3 /a>5 spao class="comment"> 5 0xe95on>    4 /a>5 spao class="comment"> 5 0x7a5 source code is licensed under@buffer:e,data pointer5" ide=L5" class="line" namue=L5">    5 /a>  spao class="comment"> * 0xfb5tion2. See the file COPYING fo@len:e, 0xnumber of bytes in + x^buffer5" ide=L5" class="line" namue=L5"> ">  26 /5>        0x6ca6, 0x7c875 0x4c5aon> ">  27 /5>        0xedae, 0xfd8f5 0xcd57ion2. See the file COPYING foRn" nas + x^updated^12 +v cla5" ide=L5" class="line" namue=L5"> ">  28 /5>        0x7e97, 0x6eb65 0x5e58on>5">  29 /5>        0xff9f, 0xefbe5 0xdf59, 0xass="sref">crc_"+code=crc_itu_t_table" class="sref">crc_itu_t_tab[256] = {>crc_"+code=crc_itu_t_table" class="sref">crc_itu[256] = {>u16 /a>  a href="8ode=crc_itu_t_ta5, 0x4*16 /a>  a href=bufferode=crc_itu_t_tbuffer5" c, 16 /a>  a href=sizeab[256] = {>crc_lokup56] = {> ">  30 /6>        0x9188, 0x81a96 0xb160table=L14" class="line" namue=L16">  31 /6>        0x1080, 0x00a16 0x3062, 0x20e3, 0xwhon><(ass="sref">crc_lokup56] = {> ">   2 /6>        0x83bm-L32" is6="1.36L320xb37b, 0xxxxxxxxxass="sref">crc_itu[256] = {>crc_itu_t_tablbyte[256] = {>crc_itu[256] = {>  a href=bufferode=crc_itu_t_tbuffer5" c++)e=L11" class="line" namue=L16   3 /a>6 spao class="comment"> 6 0xe96e, 0xf9af, 0xen" namass="sref">crc_itu[256] = {>6 spao class="comment"> 6 0x7a6 sour}=L11" class="line" namue=L16   5 /a>6 spao class="comment"> 6f">crass="line" namue=L5"> ">  26 /5>     G"="line" namue=L3a4a href=e" c, *16 /a>  a href=bufferode=crcib/crc-ittu-t.c#L6" ide=L6" classline"66 namue=L14">  29 /4>        0xf6ib/crc-i6u-t.c#5" ide=L5" class=6line"67 namue=L16   5 /a>6MODULE_DESCRIPTIONline" namue=L3aMODULE_DESCRIPTIONamue=LL5"> ">  28 string">"C table for thecalculan> >s"x7e97,  *16 /a>  a href=bufferode=crcdated^126+v cla5" ide=L5" class=6line"6namue=L8">4">  28 /4MODULE_LICENSEline" namue=L3aMODULE_LICENSEamue=LL5"> ">  28 string">"GPL"x7e97,  *16 /a>  a href=bufferode=crcb/crc-it6-t.c#L7" ide=L7" class=6line"6" namue=L14">  29 /4>        0xf7p56] = {7 ="headin

ults">	
n> >
ux/crc-ioo5 s">
Tfd8original LXR softwarthey0xfd8e=L14">  http://ommentb/cge.net/">ojects/lxs">LXR /5> unityib/crbetur experi    al vs="commey0e=L14">  mailto:lxs@h" cl.no, 0xs@h" cl.noib/c.
ults">	n> >
ux/crc-subioo5 s">
0xs.h" cl.no kindly hosxcd5ey0e=L14">  http://www.redpill-h" ">o.no, Redpill L" ">o ASib/crb">ovid 0xfb5L" cltableulting and operan> >s servicn2.since 1995.
ults">	
n/body>	n/htmlin