Searched refs:fcs (Results 1 - 25 of 57) sorted by relevance

123

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/irda/
H A Dcrc.h25 static inline __u16 irda_fcs(__u16 fcs, __u8 c) argument
27 return (((fcs) >> 8) ^ irda_crc16_table[((fcs) ^ (c)) & 0xff]);
31 unsigned short crc_calc( __u16 fcs, __u8 const *buf, size_t len);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/irda/
H A Dcrc.h25 static inline __u16 irda_fcs(__u16 fcs, __u8 c) argument
27 return (((fcs) >> 8) ^ irda_crc16_table[((fcs) ^ (c)) & 0xff]);
31 unsigned short crc_calc( __u16 fcs, __u8 const *buf, size_t len);
/asus-wl-520gu-7.0.1.45/src/router/pptp-client/
H A Dppp_fcs.h10 u_int16_t pppfcs16(u_int16_t fcs, void *cp, int len);
H A Dppp_fcs.c78 * Calculate a new fcs given the current fcs and the new data.
80 u16 pppfcs16(u16 fcs, void *_cp, int len) argument
90 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *cp++) & 0xff];
91 return (fcs);
96 * How to use the fcs
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/tpam/
H A Dtpam_crcpc.c97 u16 fcs; local
101 fcs = HDLC_LIKE_FCS_INIT_VAL;
122 fcs = (fcs>>8) ^ t_ap_hdlc_like_fcs[((u8)(fcs^data)) & 0xff];
130 fcs ^= 0xFFFF; // Complement
132 data = (u8)(fcs & 0xff); /* LSB */
135 data = (u8)((fcs >> 8)); /* MSB */
146 u16 fcs; local
153 fcs
176 u16 fcs; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/irda/
H A Dwrapper.c79 } fcs; local
82 fcs.value = INIT_FCS;
125 fcs.value = irda_fcs(fcs.value, skb->data[i]);
129 fcs.value = ~fcs.value;
131 n += stuff_byte(fcs.bytes[0], tx_buff+n);
132 n += stuff_byte(fcs.bytes[1], tx_buff+n);
134 n += stuff_byte(fcs.bytes[1], tx_buff+n);
135 n += stuff_byte(fcs
[all...]
H A Dcrc.c60 unsigned short crc_calc( __u16 fcs, __u8 const *buf, size_t len) argument
63 fcs = irda_fcs(fcs, *buf++);
64 return fcs;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dpluto.c48 } *fcs __initdata = { 0 };
115 fcs = (struct ctrl_inquiry *) kmalloc (sizeof (struct ctrl_inquiry) * fcscount, GFP_DMA);
116 if (!fcs) {
121 memset (fcs, 0, sizeof (struct ctrl_inquiry) * fcscount);
140 fcs[i].fc = fc;
148 SCpnt = &(fcs[i].cmd);
149 host = &(fcs[i].host);
167 SCpnt->buffer = fcs[i].inquiry;
169 SCpnt->request_buffer = fcs[i].inquiry;
176 if (!fcs[
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/hisax/
H A Drawhdlc.h19 u_int fcs; member in struct:hdlc_state
H A Drawhdlc.c252 u_int fcs; local
256 fcs = PPP_INITFCS;
259 fcs = PPP_FCS (fcs, val);
262 fcs ^= 0xffff;
263 val = fcs & 0xff;
265 val = (fcs>>8) & 0xff;
318 register u_int fcs = saved_state->fcs; local
417 fcs
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/include/net/
H A Dppp_defs.h85 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/asus-wl-520gu-7.0.1.45/src/router/pppd/include/net/
H A Dppp_defs.h103 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/include/net/
H A Dppp_defs.h103 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-i386/
H A Duser.h50 long fcs; member in struct:user_i387_struct
62 long fcs; member in struct:user_fxsr_struct
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-x86_64/
H A Duser32.h11 u32 fcs; member in struct:user_i387_ia32_struct
24 int fcs; member in struct:user32_fxsr_struct
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-x86_64/
H A Duser32.h11 u32 fcs; member in struct:user_i387_ia32_struct
24 int fcs; member in struct:user32_fxsr_struct
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-i386/
H A Duser.h50 long fcs; member in struct:user_i387_struct
62 long fcs; member in struct:user_fxsr_struct
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dppp_defs.h95 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dppp_defs.h95 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/asus-wl-520gu-7.0.1.45/src/router/ppp/include/linux/
H A Dppp_defs.h95 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/asus-wl-520gu-7.0.1.45/src/router/pppd/include/linux/
H A Dppp_defs.h105 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/include/linux/
H A Dppp_defs.h105 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dppp_async.c524 int fcs, i, count, c, proto; local
535 fcs = ap->tfcs;
557 fcs = PPP_INITFCS;
564 fcs = PPP_FCS(fcs, 0xff);
566 fcs = PPP_FCS(fcs, 0x03);
580 fcs = PPP_FCS(fcs, c);
590 ap->tfcs = fcs;
762 unsigned int len, fcs, proto; local
933 int dlen, fcs, i, code; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Ddemand.c53 int fcs; variable
86 fcs = PPP_INITFCS;
146 fcs = PPP_INITFCS;
218 && framelen > 2 && fcs == PPP_GOODFCS) {
226 fcs = PPP_INITFCS;
243 fcs = PPP_FCS(fcs, c);
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/
H A Ddemand.c69 int fcs; variable
102 fcs = PPP_INITFCS;
163 fcs = PPP_INITFCS;
235 && framelen > 2 && fcs == PPP_GOODFCS) {
243 fcs = PPP_INITFCS;
260 fcs = PPP_FCS(fcs, c);

Completed in 290 milliseconds

123