Home
last modified time | relevance | path

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

/xnu-10002.61.3/bsd/net/
H A Dppp_defs.h107 #define PPP_FCS(fcs, c) (((fcs) >> 8) ^ fcstab[((fcs) ^ (c)) & 0xff]) argument
H A Dif_fake.c229 SYSCTL_INT(_net_link_fake, OID_AUTO, fcs, CTLFLAG_RW | CTLFLAG_LOCKED,
3475 iff_flags_t flags, bool fcs, void *trailer, size_t trailer_len) in feth_output_common() argument
3493 if (fcs) { in feth_output_common()
3513 bool fcs; in feth_start() local
3534 fcs = fakeif->iff_fcs; in feth_start()
3557 feth_output_common(ifp, copy_m, peer, flags, fcs, in feth_start()
3599 bool fcs; in feth_output() local
3619 fcs = fakeif->iff_fcs; in feth_output()
3628 feth_output_common(ifp, copy_m, peer, flags, fcs, feth_trailer, in feth_output()
/xnu-10002.61.3/tests/
H A Dnet_bridge.c3119 int fcs; in fake_set_trailers_fcs() local
3124 fcs = 1; in fake_set_trailers_fcs()
3127 fcs = 0; in fake_set_trailers_fcs()
3135 &fcs, sizeof(fcs)); in fake_set_trailers_fcs()
3136 T_ASSERT_EQ(error, 0, "sysctl net.link.fake.fcs %d", fcs); in fake_set_trailers_fcs()