Home
last modified time | relevance | path

Searched full:fcs (Results 1 – 25 of 263) sorted by relevance

1234567891011

/freebsd-src/contrib/tcpdump/
H A Dllc.h112 #define PID_RFC2684_ETH_FCS 0x0001 /* Ethernet, with FCS */
113 #define PID_RFC2684_ETH_NOFCS 0x0007 /* Ethernet, without FCS */
114 #define PID_RFC2684_802_4_FCS 0x0002 /* 802.4, with FCS */
115 #define PID_RFC2684_802_4_NOFCS 0x0008 /* 802.4, without FCS */
116 #define PID_RFC2684_802_5_FCS 0x0003 /* 802.5, with FCS */
117 #define PID_RFC2684_802_5_NOFCS 0x0009 /* 802.5, without FCS */
118 #define PID_RFC2684_FDDI_FCS 0x0004 /* FDDI, with FCS */
119 #define PID_RFC2684_FDDI_NOFCS 0x000a /* FDDI, without FCS */
120 #define PID_RFC2684_802_6_FCS 0x0005 /* 802.6, with FCS */
121 #define PID_RFC2684_802_6_NOFCS 0x000b /* 802.6, without FCS */
H A Dprint-802_15_4.c1803 uint32_t fcs, crc_check; in ieee802_15_4_std_frames()
1809 /* Assume 2 octet FCS, the FCS length depends on the PHY, and we do not in ieee802_15_4_std_frames()
1812 /* Cannot have FCS, assume no FCS. */ in ieee802_15_4_std_frames()
1813 fcs = 0; in ieee802_15_4_std_frames()
1815 /* Test for 4 octet FCS. */ in ieee802_15_4_std_frames()
1816 fcs = GET_LE_U_4(p + caplen - 4); in ieee802_15_4_std_frames()
1818 if (crc_check == fcs) { in ieee802_15_4_std_frames()
1819 /* Remove FCS */ in ieee802_15_4_std_frames()
1805 uint32_t fcs, crc_check; ieee802_15_4_std_frames() local
2213 uint32_t fcs, crc_check; ieee802_15_4_mp_frame() local
[all...]
H A Dprint-llc.c107 { PID_RFC2684_ETH_FCS, "Ethernet + FCS" },
108 { PID_RFC2684_ETH_NOFCS, "Ethernet w/o FCS" },
109 { PID_RFC2684_802_4_FCS, "802.4 + FCS" },
110 { PID_RFC2684_802_4_NOFCS, "802.4 w/o FCS" },
111 { PID_RFC2684_802_5_FCS, "Token Ring + FCS" },
112 { PID_RFC2684_802_5_NOFCS, "Token Ring w/o FCS" },
113 { PID_RFC2684_FDDI_FCS, "FDDI + FCS" },
114 { PID_RFC2684_FDDI_NOFCS, "FDDI w/o FCS" },
115 { PID_RFC2684_802_6_FCS, "802.6 + FCS" },
116 { PID_RFC2684_802_6_NOFCS, "802.6 w/o FCS" },
[all...]
/freebsd-src/contrib/file/magic/Magdir/
H A Dfcs3 # $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
6 0 string FCS1.0 Flow Cytometry Standard (FCS) data, version 1.0
7 0 string FCS2.0 Flow Cytometry Standard (FCS) data, version 2.0
8 0 string FCS3.0 Flow Cytometry Standard (FCS) data, version 3.0
/freebsd-src/usr.sbin/ppp/
H A Dhdlc.c106 * HDLC FCS computation. Read RFC 1171 Appendix B and CCITT X.25 section
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()
[all …]
H A Dpred.c182 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()
280 log_Printf(LogDEBUG, "Pred1Input: fcs = 0x%04x (%scompressed), len = 0x%x," in Pred1Input()
281 " olen = 0x%x\n", fcs, pre, len, olen); in Pred1Input()
/freebsd-src/sys/contrib/device-tree/Bindings/regulator/
H A Dfcs,fan53555.yaml4 $id: http://devicetree.org/schemas/regulator/fcs,fan53555.yaml#
19 - fcs,fan53555
20 - fcs,fan53526
36 fcs,suspend-voltage-selector:
64 compatible = "fcs,fan53555";
70 fcs,suspend-voltage-selector = <1>;
H A Dfan53555.txt4 - compatible: one of "fcs,fan53555", "fcs,fan53526", "silergy,syr827",
9 - fcs,suspend-voltage-selector: declare which of the two available
18 compatible = "fcs,fan53555";
23 fcs,suspend-voltage-selector = <1>;
/freebsd-src/contrib/libpcap/doc/
H A DREADME.dag97 CRC/FCS. If the card is not configured to discard the CRC/FCS, this
99 packets to have an FCS.
102 how many bits of CRC/FCS to strip from the end of the captured
104 configured to strip the CRC/FCS, then set ERF_FCS_BITS=0. If used with
105 a HDLC/PoS/PPP/Frame Relay link with 16 bit CRC/FCS, then set
108 If you wish to create a pcap file that DOES contain the Ethernet FCS,
110 the existing FCS to be captured into the pcap file. Note some
/freebsd-src/sys/netgraph/
H A Dng_pred1.c56 #define PPP_INITFCS 0xffff /* Initial FCS value */
57 #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */
102 static uint16_t Crc16(uint16_t fcs, u_char *cp, int len);
385 uint16_t fcs, lenn; in ng_pred1_compress() local
415 /* Compute FCS. */ in ng_pred1_compress()
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()
437 /* Add FCS. */ in ng_pred1_compress()
438 (out + outlen)[0] = fcs & 0xFF; in ng_pred1_compress()
[all …]
H A Dng_async.c78 u_int16_t fcs; /* Decoded async FCS (so far) */ member
382 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
384 *fcs = PPP_FCS(*fcs, x); in nga_async_add()
403 u_int16_t fcs, fcs0; in nga_rcv_sync() local
407 #define ADD_BYTE(x) nga_async_add(sc, &fcs, accm, &alen, (x)) in nga_rcv_sync()
448 fcs = PPP_INITFCS; in nga_rcv_sync()
468 fcs0 = fcs; in nga_rcv_sync()
519 if (sc->fcs != PPP_GOODFCS) { in nga_rcv_async()
551 sc->fcs = PPP_INITFCS; in nga_rcv_async()
578 sc->fcs = PPP_FCS(sc->fcs, ch); in nga_rcv_async()
/freebsd-src/sys/net/
H A Dppp_defs.h38 #define PPP_FCSLEN 2 /* octets for FCS */
77 * Values for FCS calculations.
79 #define PPP_INITFCS 0xffff /* Initial FCS value */
80 #define PPP_GOODFCS 0xf0b8 /* Good final FCS value */
81 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
/freebsd-src/sys/contrib/device-tree/Bindings/extcon/
H A Dfcs,fsa880.yaml4 $id: http://devicetree.org/schemas/extcon/fcs,fsa880.yaml#
21 - fcs,fsa880
22 - fcs,fsa9480
47 compatible = "fcs,fsa880";
H A Dextcon-fsa9480.txt9 "fcs,fsa9480"
10 "fcs,fsa880"
17 compatible = "fcs,fsa9480";
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageViewHTML.cpp469 const std::string &FirstCol, const FileCoverageSummary &FCS, in emitFileSummary()
496 AddCoverageTripleToColumn(FCS.FunctionCoverage.getExecuted(), in createIndexFile()
497 FCS.FunctionCoverage.getNumFunctions(), in createIndexFile()
498 FCS.FunctionCoverage.getPercentCovered()); in createIndexFile()
500 AddCoverageTripleToColumn(FCS.InstantiationCoverage.getExecuted(), in createIndexFile()
501 FCS.InstantiationCoverage.getNumFunctions(), in createIndexFile()
502 FCS.InstantiationCoverage.getPercentCovered()); in createIndexFile()
503 AddCoverageTripleToColumn(FCS.LineCoverage.getCovered(), in createIndexFile()
504 FCS.LineCoverage.getNumLines(), in createIndexFile()
505 FCS in createIndexFile()
312 emitTableRow(raw_ostream & OS,const CoverageViewOptions & Opts,const std::string & FirstCol,const FileCoverageSummary & FCS,bool IsTotals) emitTableRow() argument
464 emitFileSummary(raw_ostream & OS,StringRef SF,const FileCoverageSummary & FCS,bool IsTotals) const emitFileSummary() argument
596 for (auto FCS : EmptyFiles) { generateSubDirectoryReport() local
[all...]
H A DCoverageSummaryInfo.cpp120 for (const auto &FCS : Summaries.drop_front()) { in get() local
121 Summary.RegionCoverage.merge(FCS.RegionCoverage); in get()
122 Summary.LineCoverage.merge(FCS.LineCoverage); in get()
123 Summary.BranchCoverage.merge(FCS.BranchCoverage); in get()
124 Summary.MCDCCoverage.merge(FCS.MCDCCoverage); in get()
H A DCoverageReport.cpp533 for (const FileCoverageSummary &FCS : FileReports) in renderFileReports()
534 Filenames.emplace_back(FCS.Name); in renderFileReports()
568 for (const FileCoverageSummary &FCS : FileReports) { in renderFileReports()
569 if (FCS.FunctionCoverage.getNumFunctions()) in renderFileReports()
570 render(FCS, OS);
572 EmptyFiles.push_back(&FCS); in prepareDirectoryReports()
579 for (auto FCS : EmptyFiles) in prepareDirectoryReports()
580 render(*FCS, OS); in prepareDirectoryReports()
516 for (const FileCoverageSummary &FCS : FileReports) renderFileReports() local
551 for (const FileCoverageSummary &FCS : FileReports) { renderFileReports() local
562 for (auto FCS : EmptyFiles) renderFileReports() local
/freebsd-src/sys/contrib/device-tree/Bindings/usb/
H A Dfcs,fsa4480.yaml4 $id: http://devicetree.org/schemas/usb/fcs,fsa4480.yaml#
15 - const: fcs,fsa4480
19 - const: fcs,fsa4480
90 compatible = "fcs,fsa4480";
H A Dfcs,fusb302.yaml4 $id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml#
14 const: fcs,fusb302
49 compatible = "fcs,fusb302";
H A Dfcs,fusb302.txt4 - compatible : "fcs,fusb302"
18 compatible = "fcs,fusb302";
/freebsd-src/sys/contrib/device-tree/Bindings/gpio/
H A Dfcs,fxl6408.yaml4 $id: http://devicetree.org/schemas/gpio/fcs,fxl6408.yaml#
15 - fcs,fxl6408
50 compatible = "fcs,fxl6408";
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp825 void checkPostStmt(const ObjCForCollectionStmt *FCS, CheckerContext &C) const;
862 const ObjCForCollectionStmt *FCS) {
866 SVal CollectionVal = C.getSVal(FCS->getCollection()); in checkCollectionNonNil() argument
888 const ObjCForCollectionStmt *FCS) {
893 if (!isKnownNonNilCollectionType(FCS->getCollection()->getType())) in checkElementNonNil()
897 const Stmt *Element = FCS->getElement(); in checkElementNonNil()
952 const ObjCForCollectionStmt *FCS, in assumeCollectionNonEmpty()
957 SymbolRef CollectionS = C.getSVal(FCS->getCollection()).getAsSymbol(); in assumeCollectionNonEmpty()
963 const ObjCForCollectionStmt *FCS) { in assumeCollectionNonEmpty()
969 return BE->getSrc()->getLoopTarget() == FCS; in alreadyExecutedAtLeastOneLoopIteration()
892 checkElementNonNil(CheckerContext & C,ProgramStateRef State,const ObjCForCollectionStmt * FCS) checkElementNonNil() argument
956 assumeCollectionNonEmpty(CheckerContext & C,ProgramStateRef State,const ObjCForCollectionStmt * FCS,bool Assumption) assumeCollectionNonEmpty() argument
967 alreadyExecutedAtLeastOneLoopIteration(const ExplodedNode * N,const ObjCForCollectionStmt * FCS) alreadyExecutedAtLeastOneLoopIteration() argument
985 checkPostStmt(const ObjCForCollectionStmt * FCS,CheckerContext & C) const checkPostStmt() argument
[all...]
/freebsd-src/sys/dev/enic/
H A Denic_res.h30 /* Does not include (possible) inserted VLAN tag and FCS */
33 /* Does not include (possible) inserted VLAN tag and FCS */
/freebsd-src/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mq-nitrogen-som.dtsi100 compatible = "fcs,fan53555";
115 compatible = "fcs,fan53555";
130 compatible = "fcs,fan53555";
/freebsd-src/sys/contrib/xen/hvm/
H A Dparams.h286 * does not allow the full FIP/FDP and FCS/FDS to be restored.
290 * 8: save/restore 64-bit FIP/FDP and clear FCS/FDS (default if CPU
293 * 4: save/restore 32-bit FIP/FDP, FCS/FDS, and clear upper 32-bits of
300 * never saves FCS/FDS and this parameter should be left at the

1234567891011