| /trueos/usr.sbin/ppp/ |
| HD | hdlc.c | 112 u_short fcs = INITFCS; in hdlc_Fcs() local 115 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *cp++) & 0xff]; in hdlc_Fcs() 117 return fcs; in hdlc_Fcs() 121 HdlcFcsBuf(u_short fcs, struct mbuf *m) in HdlcFcsBuf() argument 130 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *pos++) & 0xff]; in HdlcFcsBuf() 137 return (fcs); in HdlcFcsBuf() 146 u_short fcs; in hdlc_LayerPush() local 149 fcs = HdlcFcsBuf(INITFCS, bp); in hdlc_LayerPush() 150 fcs = ~fcs; in hdlc_LayerPush() 164 *cp++ = fcs & 0377; /* Low byte first (nothing like consistency) */ in hdlc_LayerPush() [all …]
|
| HD | pred.c | 182 u_short fcs; in Pred1Output() local 193 fcs = hdlc_Fcs(bufp, 2 + orglen); in Pred1Output() 194 fcs = ~fcs; in Pred1Output() 209 *wp++ = fcs & 0377; in Pred1Output() 210 *wp++ = fcs >> 8; in Pred1Output() 224 u_short fcs; in Pred1Input() local 262 fcs = hdlc_Fcs(bufp, wp->m_len = pp - bufp); in Pred1Input() 263 if (fcs == GOODFCS) { in Pred1Input() 281 " olen = 0x%x\n", fcs, pre, len, olen); in Pred1Input()
|
| /trueos/sys/netgraph/ |
| HD | ng_pred1.c | 102 static uint16_t Crc16(uint16_t fcs, u_char *cp, int len); 385 uint16_t fcs, lenn; in ng_pred1_compress() local 416 fcs = Crc16(PPP_INITFCS, (u_char *)&lenn, 2); in ng_pred1_compress() 417 fcs = Crc16(fcs, priv->inbuf + 2, inlen); in ng_pred1_compress() 418 fcs = ~fcs; in ng_pred1_compress() 438 (out + outlen)[0] = fcs & 0xFF; in ng_pred1_compress() 439 (out + outlen)[1] = fcs >> 8; in ng_pred1_compress() 468 uint16_t fcs; in ng_pred1_decompress() local 521 fcs = Crc16(PPP_INITFCS, (u_char *)&lenn, 2); in ng_pred1_decompress() 522 fcs = Crc16(fcs, priv->outbuf, len); in ng_pred1_decompress() [all …]
|
| HD | ng_async.c | 81 u_int16_t fcs; /* Decoded async FCS (so far) */ member 385 nga_async_add(const sc_p sc, u_int16_t *fcs, u_int32_t accm, int *len, u_char x) in nga_async_add() argument 387 *fcs = PPP_FCS(*fcs, x); in nga_async_add() 406 u_int16_t fcs, fcs0; in nga_rcv_sync() local 411 #define ADD_BYTE(x) nga_async_add(sc, &fcs, accm, &alen, (x)) in nga_rcv_sync() 452 fcs = PPP_INITFCS; in nga_rcv_sync() 472 fcs0 = fcs; in nga_rcv_sync() 523 if (sc->fcs != PPP_GOODFCS) { in nga_rcv_async() 555 sc->fcs = PPP_INITFCS; in nga_rcv_async() 582 sc->fcs = PPP_FCS(sc->fcs, ch); in nga_rcv_async()
|
| /trueos/contrib/tcpdump/ |
| HD | ieee802_11.h | 256 u_int8_t fcs[4]; member 266 u_int8_t fcs[4]; member 275 u_int8_t fcs[4]; member 285 u_int8_t fcs[4]; member 296 u_int8_t fcs[4]; member 307 u_int8_t fcs[4]; member 317 u_int8_t fcs[4]; member 329 u_int8_t fcs[4]; member
|
| /trueos/usr.sbin/bluetooth/bt3cfw/ |
| HD | bt3cfw.c | 142 int i, size, address, cs, fcs; in main() local 146 fcs = hexa2int8(buffer + 2 + size * 2); in main() 198 if (((cs + fcs) & 0xff) != 0xff) { in main() 201 firmware_filename, (cs & 0xff), fcs, in main() 202 ((cs + fcs) & 0xff)); in main()
|
| /trueos/sys/net/ |
| HD | ppp_defs.h | 83 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
|
| /trueos/contrib/file/magic/Magdir/ |
| HD | fcs | 3 # $File: fcs,v 1.4 2009/09/19 16:28:09 christos Exp $ 4 # fcs: file(1) magic for FCS (Flow Cytometry Standard) data files
|
| /trueos/sys/i386/linux/ |
| HD | linux_ptrace.c | 172 l_long fcs; member 185 linux_r->fcs = bsd_r->fpr_env[4]; in map_fpregs_to_linux() 198 bsd_r->fpr_env[4] = linux_r->fcs; in map_fpregs_from_linux() 210 l_long fcs; member
|
| /trueos/sys/gnu/dts/arm/ |
| HD | rk3288-evb-act8846.dts | 29 fcs,suspend-voltage-selector = <1>; 40 fcs,suspend-voltage-selector = <1>;
|
| HD | rk3288-firefly.dtsi | 193 fcs,suspend-voltage-selector = <1>; 205 fcs,suspend-voltage-selector = <1>;
|
| /trueos/contrib/gcc/config/i386/ |
| HD | crtfastmath.c | 91 long int fcs; in set_fast_math() member
|
| /trueos/sys/dev/amr/ |
| HD | amr.c | 579 switch (ali.ui.fcs.opcode) { in amr_linux_ioctl_int() 581 switch(ali.ui.fcs.subopcode) { in amr_linux_ioctl_int() 604 if (ali.ui.fcs.opcode == 0x80) in amr_linux_ioctl_int() 607 len = ali.ui.fcs.length; in amr_linux_ioctl_int() 609 adapter = (ali.ui.fcs.adapno) ^ 'm' << 8; in amr_linux_ioctl_int() 824 if (ali.ui.fcs.opcode == 0x82) in amr_ioctl() 827 adapter = (ali.ui.fcs.adapno) ^ 'm' << 8; in amr_ioctl()
|
| HD | amrreg.h | 536 } __packed fcs; member
|
| /trueos/sys/netgraph/bluetooth/include/ |
| HD | ng_btsocket_rfcomm.h | 133 u_int8_t fcs; member
|
| /trueos/sys/dev/vmware/vmxnet3/ |
| HD | if_vmxreg.h | 168 uint32_t fcs:1; /* Frame CRC correct */ member
|
| /trueos/contrib/file/magic/ |
| HD | Makefile.am | 78 $(MAGIC_FRAGMENT_DIR)/fcs \
|
| HD | Makefile.in | 339 $(MAGIC_FRAGMENT_DIR)/fcs \
|
| /trueos/sys/contrib/octeon-sdk/ |
| HD | cvmx-helper-xaui.c | 331 gmxx_txx_append_cfg.s.fcs = 0; in __cvmx_helper_xaui_enable()
|
| HD | cvmx-helper-sgmii.c | 526 gmxx_txx_append_cfg.s.fcs = 0; in __cvmx_helper_sgmii_enable()
|
| HD | cvmx-pip.h | 482 status->fcs_align_err_packets = stat7.s.fcs; in cvmx_pip_get_port_status()
|
| HD | cvmx-pip-defs.h | 5128 …uint64_t fcs : 32; /**< Number of packets with FCS or Align opcode errors… member 5132 uint64_t fcs : 32; 5154 …uint64_t fcs : 32; /**< Number of packets with FCS or Align opcode errors… member 5158 uint64_t fcs : 32; 6057 …uint64_t fcs : 32; /**< Number of packets with FCS or Align opcode errors… member 6061 uint64_t fcs : 32;
|
| HD | cvmx-agl-defs.h | 3461 uint64_t fcs : 1; /**< Append the Ethernet FCS on each packet */ member 3467 uint64_t fcs : 1;
|
| HD | cvmx-gmxx-defs.h | 7876 uint64_t fcs : 1; /**< Append the Ethernet FCS on each packet */ member 7884 uint64_t fcs : 1;
|
| /trueos/sys/netgraph/bluetooth/socket/ |
| HD | ng_btsocket_rfcomm.c | 310 ng_btsocket_rfcomm_check_fcs(u_int8_t *data, int type, u_int8_t fcs) in ng_btsocket_rfcomm_check_fcs() argument 313 return (ng_btsocket_rfcomm_fcs3(data) != fcs); in ng_btsocket_rfcomm_check_fcs() 315 return (ng_btsocket_rfcomm_fcs2(data) != fcs); in ng_btsocket_rfcomm_check_fcs() 3023 hdr->fcs = ng_btsocket_rfcomm_fcs3((u_int8_t *) hdr); in ng_btsocket_rfcomm_send_command()
|