/freebsd-current/sys/net/ |
H A D | ppp_defs.h | 81 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff])
|
/freebsd-current/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-current/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 | 78 u_int16_t fcs; /* Decoded async FCS (so far) */ member in struct:ng_async_private 382 nga_async_add(const sc_p sc, u_int16_t *fcs, u_int32_t accm, int *len, u_char x) argument 384 *fcs = PPP_FCS(*fcs, x); 403 u_int16_t fcs, fcs0; local 407 #define ADD_BYTE(x) nga_async_add(sc, &fcs, accm, &alen, (x)) 448 fcs = PPP_INITFCS; 468 fcs0 = fcs; 519 if (sc->fcs != PPP_GOODFCS) { 551 sc->fcs [all...] |
/freebsd-current/contrib/tcpdump/ |
H A D | print-802_15_4.c | 1805 uint32_t fcs, crc_check; local 1815 fcs = 0; 1818 fcs = GET_LE_U_4(p + caplen - 4); 1820 if (crc_check == fcs) { 1825 fcs = GET_LE_U_2(p + caplen - 2); 1827 if (crc_check == fcs) { 2106 if (crc_check == fcs) { 2107 ND_PRINT("FCS %x ", fcs); 2110 fcs, crc_check); 2213 uint32_t fcs, crc_chec local [all...] |
/freebsd-current/sys/i386/linux/ |
H A D | linux_ptrace_machdep.c | 163 l_long fcs; member in struct:linux_pt_fpreg 176 linux_r->fcs = bsd_r->fpr_env[4]; 189 bsd_r->fpr_env[4] = linux_r->fcs; 201 l_long fcs; member in struct:linux_pt_fpxreg
|
/freebsd-current/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_counters.c | 528 struct mlx5_fc fcs[]; member in struct:mlx5_fc_bulk 555 bulk = kvzalloc(struct_size(bulk, fcs, bulk_len), GFP_KERNEL); 571 mlx5_fc_init(&bulk->fcs[i], bulk, base_id + i); 608 return &bulk->fcs[free_fc_index];
|
/freebsd-current/sys/dev/vmware/vmxnet3/ |
H A D | if_vmxreg.h | 166 uint32_t fcs:1; /* Frame CRC correct */ member in struct:vmxnet3_rxcompdesc
|
/freebsd-current/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_rfcomm.h | 134 u_int8_t fcs; member in struct:rfcomm_cmd_hdr
|
/freebsd-current/contrib/file/magic/ |
H A D | Makefile.am | 108 $(MAGIC_FRAGMENT_DIR)/fcs \
|
H A D | Makefile.in | 385 $(MAGIC_FRAGMENT_DIR)/fcs \
|
/freebsd-current/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_rfcomm.c | 312 ng_btsocket_rfcomm_check_fcs(u_int8_t *data, int type, u_int8_t fcs) argument 315 return (ng_btsocket_rfcomm_fcs3(data) != fcs); 317 return (ng_btsocket_rfcomm_fcs2(data) != fcs); 2993 hdr->fcs = ng_btsocket_rfcomm_fcs3((u_int8_t *) hdr);
|
/freebsd-current/sys/contrib/alpine-hal/eth/ |
H A D | al_hal_eth_main.c | 2285 const char *fcs = (pkt->flags & AL_ETH_TX_FLAGS_L2_DIS_FCS) ? "Disable FCS" : ""; local 2300 tso, l3_csum, l4_csum, fcs, ptp, tunnel_mode);
|