Home
last modified time | relevance | path

Searched refs:fcs (Results 1 – 4 of 4) sorted by relevance

/xnu-11417.121.6/bsd/net/
H A Dppp_defs.h107 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
H A Dif_fake.c281 SYSCTL_INT(_net_link_fake, OID_AUTO, fcs, CTLFLAG_RW | CTLFLAG_LOCKED,
3773 iff_flags_t flags, bool fcs, void *trailer __sized_by(trailer_len), size_t trailer_len) in feth_output_common() argument
3788 if (fcs) { in feth_output_common()
3833 bool fcs; in feth_start() local
3852 fcs = fakeif->iff_fcs; in feth_start()
3866 feth_output_common(ifp, m, peer, flags, fcs, in feth_start()
3883 bool fcs; in feth_output() local
3895 fcs = fakeif->iff_fcs; in feth_output()
3904 feth_output_common(ifp, m, peer, flags, fcs, feth_trailer, trailer_len); in feth_output()
/xnu-11417.121.6/tests/
H A Dnet_bridge.c2744 int fcs; in fake_set_trailers_fcs() local
2749 fcs = 1; in fake_set_trailers_fcs()
2752 fcs = 0; in fake_set_trailers_fcs()
2760 &fcs, sizeof(fcs)); in fake_set_trailers_fcs()
2761 T_ASSERT_EQ(error, 0, "sysctl net.link.fake.fcs %d", fcs); in fake_set_trailers_fcs()
/xnu-11417.121.6/tests/skywalk/
H A Dskywalk_test_common.c1424 int fcs; in sktc_feth_set_flags() local
1556 fcs = ((flags & FETH_FLAGS_FCS) != 0) ? 1 : 0; in sktc_feth_set_flags()
1560 &fcs, sizeof(fcs)); in sktc_feth_set_flags()