Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/net/
H A Dppp_defs.h107 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
H A Dif_fake.c195 SYSCTL_INT(_net_link_fake, OID_AUTO, fcs, CTLFLAG_RW | CTLFLAG_LOCKED,
2971 iff_flags_t flags, bool fcs, void *trailer, size_t trailer_len) in feth_output_common() argument
2989 if (fcs) { in feth_output_common()
3009 bool fcs; in feth_start() local
3030 fcs = fakeif->iff_fcs; in feth_start()
3053 feth_output_common(ifp, copy_m, peer, flags, fcs, in feth_start()
3095 bool fcs; in feth_output() local
3115 fcs = fakeif->iff_fcs; in feth_output()
3124 feth_output_common(ifp, copy_m, peer, flags, fcs, feth_trailer, in feth_output()
/xnu-8019.80.24/tests/
H A Dnet_bridge.c3511 int fcs; in fake_set_trailers_fcs() local
3516 fcs = 1; in fake_set_trailers_fcs()
3519 fcs = 0; in fake_set_trailers_fcs()
3527 &fcs, sizeof(fcs)); in fake_set_trailers_fcs()
3528 T_ASSERT_EQ(error, 0, "sysctl net.link.fake.fcs %d", fcs); in fake_set_trailers_fcs()