HomeSort by: relevance | last modified time | path
    Searched defs:dlt (Results 1 - 4 of 4) sorted by relevancy

  /src/usr.sbin/mopd/common/
pf.c 75 u_int dlt; local in function:pfInit
118 if (ioctl(fd, BIOCGDLT, (caddr_t) & dlt) < 0) {
122 if (dlt != DLT_EN10MB) {
  /src/tests/net/bpf/
t_bpf.c 40 #include <net/dlt.h>
268 u_int dlt; local in function:ATF_TC_BODY
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")
    [all...]
  /src/usr.sbin/wakeonlan/
wakeonlan.c 97 u_int dlt; local in function:bind_if_to_bpf
106 if (ioctl(bpf, BIOCGDLT, &dlt) == -1)
108 if (dlt != DLT_EN10MB) {
  /src/usr.sbin/rarpd/
rarpd.c 298 u_int dlt; local in function:rarp_open
342 if (ioctl(fd, BIOCGDLT, (caddr_t) & dlt) < 0) {
346 if (dlt != DLT_EN10MB) {

Completed in 12 milliseconds