Home | History | Annotate | Download | only in bpf

Lines Matching defs:dlt

40 #include <net/dlt.h>
268 u_int dlt;
275 ATF_REQUIRE_EQ_MSG(rump_sys_ioctl(bpfd, BIOCGDLT, &dlt), -1,
276 "Don't allow to get a DLT without interfaces");
280 RL(rump_sys_ioctl(bpfd, BIOCGDLT, &dlt));
281 ATF_REQUIRE(dlt == DLT_EN10MB);
283 dlt = DLT_NULL;
284 ATF_REQUIRE_EQ_MSG(rump_sys_ioctl(bpfd, BIOCSDLT, &dlt), -1,
285 "Don't allow to set a DLT that doesn't match any listening "
310 "Don't allow to get a DLT list without interfaces");
314 /* Get the size of an available DLT list */
320 /* Get an available DLT list */
327 /* Get an available DLT list with a less buffer (fake with bfl_len) */