| /src/sys/dev/ir/ |
| sir.h | 87 static __inline u_int16_t updateFCS(u_int16_t fcs, int c) { 88 return (fcs >> 8) ^ irda_fcstab[(fcs^c) & 0xff];
|
| /src/sys/net/ |
| ppp_defs.h | 41 #define PPP_FCSLEN 2 /* octets for FCS */ 99 * Values for FCS calculations. 101 #define PPP_INITFCS 0xffff /* Initial FCS value */ 102 #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */ 103 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
|
| ppp_tty.c | 156 static uint16_t pppfcs(uint16_t fcs, const uint8_t *cp, int len); 484 * FCS lookup table as calculated by genfcstab. 522 * Calculate a new FCS given the current FCS and the new data. 525 pppfcs(uint16_t fcs, const uint8_t *cp, int len) 528 fcs = PPP_FCS(fcs, *cp++); 529 return (fcs); 575 /* Calculate the FCS for the first mbuf's worth. */ 622 * If we emptied the last mbuf, try to add the FCS and closin [all...] |
| /src/external/bsd/ppp/dist/pppd/ |
| demand.c | 68 int fcs; variable 101 fcs = PPP_INITFCS; 163 fcs = PPP_INITFCS; 181 * FCS lookup table as calculated by genfcstab. 217 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) 234 && framelen > 2 && fcs == PPP_GOODFCS) { 242 fcs = PPP_INITFCS; 259 fcs = PPP_FCS(fcs, c) [all...] |
| /src/sys/netbt/ |
| rfcomm_session.c | 152 #define FCS(f, d) crctable[(f) ^ (d)] 613 uint8_t fcs, b; local 619 * UIH frames: FCS is only calculated on address and control fields 620 * For other frames: FCS is calculated on address, control and length 623 fcs = 0xff; 633 fcs = FCS(fcs, b); 639 fcs = FCS(fcs, b) 1469 uint8_t fcs, cr; local 1532 uint8_t fcs, *hdr; local [all...] |
| rfcomm.h | 165 uint8_t fcs; member in struct:rfcomm_cmd_hdr
|
| /src/external/gpl3/gcc/dist/libgcc/config/i386/ |
| crtfastmath.c | 53 unsigned int fcs; member in struct:__anon14250
|
| /src/external/gpl3/gcc.old/dist/libgcc/config/i386/ |
| crtfastmath.c | 53 unsigned int fcs; member in struct:__anon16664
|
| /src/external/bsd/ppp/dist/pppdump/ |
| pppdump.c | 178 * FCS lookup table as calculated by genfcstab. 214 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) 216 #define PPP_INITFCS 0xffff /* Initial FCS value */ 217 #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */ 244 unsigned short fcs; local 294 fcs = PPP_INITFCS; 296 fcs = PPP_FCS(fcs, p[k]) [all...] |
| /src/sys/dev/usb/ |
| uslsa.c | 529 struct slsa_fcs fcs; local 543 status = usbd_do_request(sc->sc_udev, &req, &fcs); 550 ulControlHandshake = le32toh(fcs.ulControlHandshake); 551 ulFlowReplace = le32toh(fcs.ulFlowReplace); 562 fcs.ulControlHandshake = htole32(ulControlHandshake); 563 fcs.ulFlowReplace = htole32(ulFlowReplace); 571 status = usbd_do_request(sc->sc_udev, &req, &fcs);
|
| /src/external/bsd/tcpdump/dist/ |
| print-802_15_4.c | 1808 uint32_t fcs, crc_check; local 1814 /* Assume 2 octet FCS, the FCS length depends on the PHY, and we do not 1817 /* Cannot have FCS, assume no FCS. */ 1818 fcs = 0; 1820 /* Test for 4 octet FCS. */ 1821 fcs = GET_LE_U_4(p + caplen - 4); 1823 if (crc_check == fcs) { 1824 /* Remove FCS */ 2216 uint32_t fcs, crc_check; local [all...] |
| /src/sys/dev/pci/ |
| if_vmxreg.h | 165 uint32_t fcs:1; /* Frame CRC correct */ member in struct:vmxnet3_rxcompdesc
|
| /src/external/bsd/ppp/dist/pppd/plugins/pppoe/ |
| pppoe.h | 213 #define PPPINITFCS16 0xffff /* Initial FCS value */ 273 UINT16_t pppFCS16(UINT16_t fcs, unsigned char *cp, int len);
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| mips-tdep.c | 1589 ULONGEST fcs; local 1596 fcs = regcache_raw_get_unsigned (regcache, fcsr); 1597 cond = ((fcs >> 24) & 0xfe) | ((fcs >> 23) & 0x01); 1885 ULONGEST fcs; local 1892 fcs = regcache_raw_get_unsigned (regcache, fcsr); 1893 cond = ((fcs >> 24) & 0xfe) | ((fcs >> 23) & 0x01); 6450 ULONGEST fcs = 0; local 6453 if (fcsr == -1 || !read_frame_register_unsigned (frame, fcsr, &fcs)) [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| mips-tdep.c | 1597 ULONGEST fcs; local 1604 fcs = regcache_raw_get_unsigned (regcache, fcsr); 1605 cond = ((fcs >> 24) & 0xfe) | ((fcs >> 23) & 0x01); 1892 ULONGEST fcs; local 1899 fcs = regcache_raw_get_unsigned (regcache, fcsr); 1900 cond = ((fcs >> 24) & 0xfe) | ((fcs >> 23) & 0x01); 6456 ULONGEST fcs = 0; local 6459 if (fcsr == -1 || !read_frame_register_unsigned (frame, fcsr, &fcs)) [all...] |
| /src/sys/compat/linux/arch/i386/ |
| linux_ptrace.c | 83 long fcs; member in struct:linux_fpctx
|
| /src/external/bsd/file/dist/magic/ |
| Makefile.am | 108 $(MAGIC_FRAGMENT_DIR)/fcs \
|
| /src/external/bsd/zstd/dist/lib/decompress/ |
| zstd_decompress.c | 658 { unsigned long long const fcs = ZSTD_getFrameContentSize(src, srcSize); local 659 if (fcs >= ZSTD_CONTENTSIZE_ERROR) return fcs; 661 if (totalDstSize + fcs < totalDstSize) 663 totalDstSize += fcs;
|
| /src/external/bsd/ipf/dist/ |
| HISTORY | 485 patch for solaris8-fcs compile from Casper Dik
|