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

/freebsd-10.0-release/sys/net/
H A Dppp_defs.h83 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/freebsd-10.0-release/usr.sbin/ppp/
H A Dhdlc.c112 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 Dpred.c182 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.0-release/contrib/tcpdump/
H A Dieee802_11.h256 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.0-release/usr.sbin/bluetooth/bt3cfw/
H A Dbt3cfw.c142 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.0-release/contrib/gcc/config/i386/
H A Dcrtfastmath.c91 long int fcs; member in struct:__anon965
/freebsd-10.0-release/sys/netgraph/
H A Dng_pred1.c102 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 Dng_async.c81 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.0-release/sys/i386/linux/
H A Dlinux_ptrace.c172 l_long fcs; member in struct:linux_pt_fpreg
185 linux_r->fcs = bsd_r->fpr_env[4];
198 bsd_r->fpr_env[4] = linux_r->fcs;
210 l_long fcs; member in struct:linux_pt_fpxreg
/freebsd-10.0-release/sys/dev/vmware/vmxnet3/
H A Dif_vmxreg.h168 uint32_t fcs:1; /* Frame CRC correct */ member in struct:vmxnet3_rxcompdesc
/freebsd-10.0-release/sys/netgraph/bluetooth/include/
H A Dng_btsocket_rfcomm.h133 u_int8_t fcs; member in struct:rfcomm_cmd_hdr
/freebsd-10.0-release/contrib/file/
H A DMakefile.am73 $(MAGIC_FRAGMENT_DIR)/fcs \
/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-helper-xaui.c331 gmxx_txx_append_cfg.s.fcs = 0;
H A Dcvmx-helper-sgmii.c526 gmxx_txx_append_cfg.s.fcs = 0;
H A Dcvmx-pip.h482 status->fcs_align_err_packets = stat7.s.fcs;
H A Dcvmx-pip-defs.h5128 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 Dcvmx-agl-defs.h3461 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 Dcvmx-gmxx-defs.h7876 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.0-release/sys/dev/amr/
H A Damr.c579 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 Damrreg.h536 } __packed fcs; member in union:amr_linux_ioctl::__anon7389
/freebsd-10.0-release/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_rfcomm.c310 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);
3018 hdr->fcs = ng_btsocket_rfcomm_fcs3((u_int8_t *) hdr);
/freebsd-10.0-release/contrib/ipfilter/
H A DHISTORY485 patch for solaris8-fcs compile from Casper Dik

Completed in 537 milliseconds