Home
last modified time | relevance | path

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

/xnu-11215.81.4/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,
3758 iff_flags_t flags, bool fcs, void *trailer, size_t trailer_len) in feth_output_common() argument
3773 if (fcs) { in feth_output_common()
3818 bool fcs; in feth_start() local
3837 fcs = fakeif->iff_fcs; in feth_start()
3851 feth_output_common(ifp, m, peer, flags, fcs, in feth_start()
3868 bool fcs; in feth_output() local
3880 fcs = fakeif->iff_fcs; in feth_output()
3889 feth_output_common(ifp, m, peer, flags, fcs, feth_trailer, trailer_len); in feth_output()
/xnu-11215.81.4/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-11215.81.4/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()