/freebsd-10-stable/sys/net/ |
H A D | ppp_defs.h | 83 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
|
/freebsd-10-stable/usr.sbin/ppp/ |
H A D | hdlc.c | 112 u_short fcs = INITFCS; local 115 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *cp++) & 0xff]; 117 return fcs; 121 HdlcFcsBuf(u_short fcs, struct mbuf *m) argument 130 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *pos++) & 0xff]; 137 return (fcs); 146 u_short fcs; local 305 u_short fcs; local [all...] |
H A D | pred.c | 182 u_short fcs; local 193 fcs = hdlc_Fcs(bufp, 2 + orglen); 194 fcs = ~fcs; 209 *wp++ = fcs & 0377; 210 *wp++ = fcs >> 8; 224 u_short fcs; local 262 fcs = hdlc_Fcs(bufp, wp->m_len = pp - bufp); 263 if (fcs == GOODFCS) { 280 log_Printf(LogDEBUG, "Pred1Input: fcs [all...] |
/freebsd-10-stable/contrib/tcpdump/ |
H A D | ieee802_11.h | 256 u_int8_t fcs[4]; member in struct:ctrl_rts_t 266 u_int8_t fcs[4]; member in struct:ctrl_cts_t 275 u_int8_t fcs[4]; member in struct:ctrl_ack_t 285 u_int8_t fcs[4]; member in struct:ctrl_ps_poll_t 296 u_int8_t fcs[4]; member in struct:ctrl_end_t 307 u_int8_t fcs[4]; member in struct:ctrl_end_ack_t 317 u_int8_t fcs[4]; member in struct:ctrl_ba_t 329 u_int8_t fcs[4]; member in struct:ctrl_bar_t
|
/freebsd-10-stable/usr.sbin/bluetooth/bt3cfw/ |
H A D | bt3cfw.c | 142 int i, size, address, cs, fcs; local 146 fcs = hexa2int8(buffer + 2 + size * 2); 198 if (((cs + fcs) & 0xff) != 0xff) { 200 "error, cs=%#x, fcs=%#x, checksum=%#x", 201 firmware_filename, (cs & 0xff), fcs, 202 ((cs + fcs) & 0xff));
|
/freebsd-10-stable/contrib/gcc/config/i386/ |
H A D | crtfastmath.c | 91 long int fcs; member in struct:__anon1058
|
/freebsd-10-stable/sys/netgraph/ |
H A D | ng_pred1.c | 102 static uint16_t Crc16(uint16_t fcs, u_char *cp, int len); 385 uint16_t fcs, lenn; local 416 fcs = Crc16(PPP_INITFCS, (u_char *)&lenn, 2); 417 fcs = Crc16(fcs, priv->inbuf + 2, inlen); 418 fcs = ~fcs; 438 (out + outlen)[0] = fcs & 0xFF; 439 (out + outlen)[1] = fcs >> 8; 468 uint16_t fcs; local [all...] |
H A D | ng_async.c | 81 u_int16_t fcs; /* Decoded async FCS (so far) */ member in struct:ng_async_private 385 nga_async_add(const sc_p sc, u_int16_t *fcs, u_int32_t accm, int *len, u_char x) argument 387 *fcs = PPP_FCS(*fcs, x); 406 u_int16_t fcs, fcs0; local 411 #define ADD_BYTE(x) nga_async_add(sc, &fcs, accm, &alen, (x)) 452 fcs = PPP_INITFCS; 472 fcs0 = fcs; 523 if (sc->fcs != PPP_GOODFCS) { 555 sc->fcs [all...] |
/freebsd-10-stable/sys/gnu/dts/arm/ |
H A D | rk3288-evb-act8846.dts | 29 fcs,suspend-voltage-selector = <1>; 40 fcs,suspend-voltage-selector = <1>;
|
H A D | rk3288-firefly.dtsi | 193 fcs,suspend-voltage-selector = <1>; 205 fcs,suspend-voltage-selector = <1>;
|
/freebsd-10-stable/sys/i386/linux/ |
H A D | linux_ptrace.c | 171 l_long fcs; member in struct:linux_pt_fpreg 184 linux_r->fcs = bsd_r->fpr_env[4]; 197 bsd_r->fpr_env[4] = linux_r->fcs; 209 l_long fcs; member in struct:linux_pt_fpxreg
|
/freebsd-10-stable/sys/dev/vmware/vmxnet3/ |
H A D | if_vmxreg.h | 168 uint32_t fcs:1; /* Frame CRC correct */ member in struct:vmxnet3_rxcompdesc
|
/freebsd-10-stable/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_rfcomm.h | 133 u_int8_t fcs; member in struct:rfcomm_cmd_hdr
|
/freebsd-10-stable/contrib/file/magic/ |
H A D | Makefile.am | 89 $(MAGIC_FRAGMENT_DIR)/fcs \
|
H A D | Makefile.in | 361 $(MAGIC_FRAGMENT_DIR)/fcs \
|
/freebsd-10-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-xaui.c | 331 gmxx_txx_append_cfg.s.fcs = 0;
|
H A D | cvmx-helper-sgmii.c | 526 gmxx_txx_append_cfg.s.fcs = 0;
|
H A D | cvmx-pip.h | 482 status->fcs_align_err_packets = stat7.s.fcs;
|
H A D | cvmx-pip-defs.h | 5128 uint64_t fcs : 32; /**< Number of packets with FCS or Align opcode errors */ member in struct:cvmx_pip_stat7_x::cvmx_pip_stat7_x_s 5132 uint64_t fcs : 32; 5154 uint64_t fcs : 32; /**< Number of packets with FCS or Align opcode errors */ member in struct:cvmx_pip_stat7_prtx::cvmx_pip_stat7_prtx_s 5158 uint64_t fcs : 32; 6057 uint64_t fcs : 32; /**< Number of packets with FCS or Align opcode errors */ member in struct:cvmx_pip_xstat7_prtx::cvmx_pip_xstat7_prtx_s 6061 uint64_t fcs : 32;
|
H A D | cvmx-agl-defs.h | 3461 uint64_t fcs : 1; /**< Append the Ethernet FCS on each packet */ member in struct:cvmx_agl_gmx_txx_append::cvmx_agl_gmx_txx_append_s 3467 uint64_t fcs : 1; 3898 * packet data, pad bytes, fcs bytes, pause bytes, and jam bytes. The octect 3975 * packet including packet data, pad bytes, fcs bytes, pause bytes, and jam 4014 * packet including packet data, pad bytes, fcs bytes, pause bytes, and jam 4054 * packet including packet data, pad bytes, fcs bytes, pause bytes, and jam 4094 * packet including packet data, pad bytes, fcs bytes, pause bytes, and jam
|
H A D | cvmx-gmxx-defs.h | 7876 uint64_t fcs : 1; /**< Append the Ethernet FCS on each packet */ member in struct:cvmx_gmxx_txx_append::cvmx_gmxx_txx_append_s 7884 uint64_t fcs : 1; 8638 * packet data, pad bytes, fcs bytes, pause bytes, and jam bytes. The octect 8729 * packet including packet data, pad bytes, fcs bytes, pause bytes, and jam 8775 * packet including packet data, pad bytes, fcs bytes, pause bytes, and jam 8822 * packet including packet data, pad bytes, fcs bytes, pause bytes, and jam 8869 * packet including packet data, pad bytes, fcs bytes, pause bytes, and jam
|
/freebsd-10-stable/sys/dev/amr/ |
H A D | amr.c | 579 switch (ali.ui.fcs.opcode) { 581 switch(ali.ui.fcs.subopcode) { 604 if (ali.ui.fcs.opcode == 0x80) 607 len = ali.ui.fcs.length; 609 adapter = (ali.ui.fcs.adapno) ^ 'm' << 8; 824 if (ali.ui.fcs.opcode == 0x82) 827 adapter = (ali.ui.fcs.adapno) ^ 'm' << 8;
|
H A D | amrreg.h | 536 } __packed fcs; member in union:amr_linux_ioctl::__anon7727
|
/freebsd-10-stable/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_rfcomm.c | 310 ng_btsocket_rfcomm_check_fcs(u_int8_t *data, int type, u_int8_t fcs) argument 313 return (ng_btsocket_rfcomm_fcs3(data) != fcs); 315 return (ng_btsocket_rfcomm_fcs2(data) != fcs); 3023 hdr->fcs = ng_btsocket_rfcomm_fcs3((u_int8_t *) hdr);
|
/freebsd-10-stable/contrib/ipfilter/ |
H A D | HISTORY | 485 patch for solaris8-fcs compile from Casper Dik
|