Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd/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() local
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()
1822 /* Test for 2 octet FCS. */ in ieee802_15_4_std_frames()
1823 fcs = GET_LE_U_2(p + caplen - 2); in ieee802_15_4_std_frames()
[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" },
/freebsd/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/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/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/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/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/contrib/libpcap/
H A Dpcap-savefile.manfile.in134 A bit that, if set, indicates that the Frame Check Sequence (FCS)
135 length value is present and, if not set, indicates that the FCS value is
145 of FCS that are appended to each packet, if the P bit is set; if the P
146 bit is not set, and the FCS length is not indicated by the link-layer
147 type value, the FCS length is unknown. The valid values of the FCS len
148 field are between 0 and 15; Ethernet, for example, would have an FCS
149 length value of 2, corresponding to a 4-octet FCS.
/freebsd/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/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/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageViewHTML.cpp469 const std::string &FirstCol, const FileCoverageSummary &FCS, in emitTableRow() argument
496 AddCoverageTripleToColumn(FCS.FunctionCoverage.getExecuted(), in emitTableRow()
497 FCS.FunctionCoverage.getNumFunctions(), in emitTableRow()
498 FCS.FunctionCoverage.getPercentCovered()); in emitTableRow()
500 AddCoverageTripleToColumn(FCS.InstantiationCoverage.getExecuted(), in emitTableRow()
501 FCS.InstantiationCoverage.getNumFunctions(), in emitTableRow()
502 FCS.InstantiationCoverage.getPercentCovered()); in emitTableRow()
503 AddCoverageTripleToColumn(FCS.LineCoverage.getCovered(), in emitTableRow()
504 FCS.LineCoverage.getNumLines(), in emitTableRow()
505 FCS.LineCoverage.getPercentCovered()); in emitTableRow()
[all …]
H A DCoverageSummaryInfo.cpp120 for (const auto &FCS : Summaries.drop_front()) {
121 Summary.RegionCoverage.merge(FCS.RegionCoverage);
122 Summary.LineCoverage.merge(FCS.LineCoverage);
123 Summary.BranchCoverage.merge(FCS.BranchCoverage);
124 Summary.MCDCCoverage.merge(FCS.MCDCCoverage);
100 for (const auto &FCS : Summaries.drop_front()) { get() local
/freebsd/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/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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp825 void checkPostStmt(const ObjCForCollectionStmt *FCS, CheckerContext &C) const;
862 const ObjCForCollectionStmt *FCS) { in checkCollectionNonNil() argument
866 SVal CollectionVal = C.getSVal(FCS->getCollection()); in checkCollectionNonNil()
888 const ObjCForCollectionStmt *FCS) { in checkElementNonNil() argument
893 if (!isKnownNonNilCollectionType(FCS->getCollection()->getType())) in checkElementNonNil()
897 const Stmt *Element = FCS->getElement(); in checkElementNonNil()
952 const ObjCForCollectionStmt *FCS, in assumeCollectionNonEmpty() argument
957 SymbolRef CollectionS = C.getSVal(FCS->getCollection()).getAsSymbol(); in assumeCollectionNonEmpty()
963 const ObjCForCollectionStmt *FCS) { in alreadyExecutedAtLeastOneLoopIteration() argument
969 return BE->getSrc()->getLoopTarget() == FCS; in alreadyExecutedAtLeastOneLoopIteration()
[all …]
/freebsd/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/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/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3566-powkiddy-rgb10max3.dts53 compatible = "fcs,fan53555";
55 fcs,suspend-voltage-selector = <1>;

12345678910>>...12