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

/freebsd-11-stable/sys/net/
H A Dppp_defs.h83 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
/freebsd-11-stable/usr.sbin/ppp/
H A Dhdlc.c114 u_short fcs = INITFCS; local
117 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *cp++) & 0xff];
119 return fcs;
123 HdlcFcsBuf(u_short fcs, struct mbuf *m) argument
132 fcs = (fcs >> 8) ^ fcstab[(fcs ^ *pos++) & 0xff];
139 return (fcs);
148 u_short fcs; local
307 u_short fcs; local
[all...]
H A Dpred.c184 u_short fcs; local
195 fcs = hdlc_Fcs(bufp, 2 + orglen);
196 fcs = ~fcs;
211 *wp++ = fcs & 0377;
212 *wp++ = fcs >> 8;
226 u_short fcs; local
264 fcs = hdlc_Fcs(bufp, wp->m_len = pp - bufp);
265 if (fcs == GOODFCS) {
282 log_Printf(LogDEBUG, "Pred1Input: fcs
[all...]
/freebsd-11-stable/usr.sbin/bluetooth/bt3cfw/
H A Dbt3cfw.c144 int i, size, address, cs, fcs; local
148 fcs = hexa2int8(buffer + 2 + size * 2);
200 if (((cs + fcs) & 0xff) != 0xff) {
202 "error, cs=%#x, fcs=%#x, checksum=%#x",
203 firmware_filename, (cs & 0xff), fcs,
204 ((cs + fcs) & 0xff));
/freebsd-11-stable/contrib/gcc/config/i386/
H A Dcrtfastmath.c91 long int fcs; member in struct:__anon1238
/freebsd-11-stable/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-11-stable/sys/i386/linux/
H A Dlinux_ptrace.c167 l_long fcs; member in struct:linux_pt_fpreg
180 linux_r->fcs = bsd_r->fpr_env[4];
193 bsd_r->fpr_env[4] = linux_r->fcs;
205 l_long fcs; member in struct:linux_pt_fpxreg
/freebsd-11-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket_rfcomm.h133 u_int8_t fcs; member in struct:rfcomm_cmd_hdr
/freebsd-11-stable/sys/dev/vmware/vmxnet3/
H A Dif_vmxreg.h168 uint32_t fcs:1; /* Frame CRC correct */ member in struct:vmxnet3_rxcompdesc
/freebsd-11-stable/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-11-stable/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;
820 if (ali.ui.fcs.opcode == 0x82)
823 adapter = (ali.ui.fcs.adapno) ^ 'm' << 8;
H A Damrreg.h536 } __packed fcs; member in union:amr_linux_ioctl::__anon9099
/freebsd-11-stable/contrib/file/magic/
H A DMakefile.am98 $(MAGIC_FRAGMENT_DIR)/fcs \
H A DMakefile.in371 $(MAGIC_FRAGMENT_DIR)/fcs \
/freebsd-11-stable/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);
3027 hdr->fcs = ng_btsocket_rfcomm_fcs3((u_int8_t *) hdr);
/freebsd-11-stable/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_main.c2012 const char *fcs = (pkt->flags & AL_ETH_TX_FLAGS_L2_DIS_FCS) ? "Disable FCS" : ""; local
2027 tso, l3_csum, l4_csum, fcs, ptp, tunnel_mode);

Completed in 664 milliseconds