Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/net/
H A Dppp_defs.h107 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
H A Dif_fake.c279 SYSCTL_INT(_net_link_fake, OID_AUTO, fcs, CTLFLAG_RW | CTLFLAG_LOCKED,
3809 iff_flags_t flags, bool fcs, void *trailer __sized_by(trailer_len), size_t trailer_len) in feth_output_common() argument
3824 if (fcs) { in feth_output_common()
3869 bool fcs; in feth_start() local
3888 fcs = fakeif->iff_fcs; in feth_start()
3902 feth_output_common(ifp, m, peer, flags, fcs, in feth_start()
3919 bool fcs; in feth_output() local
3931 fcs = fakeif->iff_fcs; in feth_output()
3940 feth_output_common(ifp, m, peer, flags, fcs, feth_trailer, trailer_len); in feth_output()
/xnu-12377.41.6/tests/
H A Dnet_bridge.c2742 int fcs; in fake_set_trailers_fcs() local
2747 fcs = 1; in fake_set_trailers_fcs()
2750 fcs = 0; in fake_set_trailers_fcs()
2758 &fcs, sizeof(fcs)); in fake_set_trailers_fcs()
2759 T_ASSERT_EQ(error, 0, "sysctl net.link.fake.fcs %d", fcs); in fake_set_trailers_fcs()
/xnu-12377.41.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()