Lines Matching refs:dlt
241 bpf_attachd(struct bpf_d *d, const char *ifname, int dlt) in bpf_attachd() argument
274 if (dlt != -1 && dlt != nicdlt) { in bpf_attachd()
711 int dlt; in bpfwrite() local
739 dlt = d->bd_dlt; in bpfwrite()
745 if (dlt == DLT_IPNET) { in bpfwrite()
750 error = bpf_movein(uio, dlt, mtu, &m); in bpfwrite()
754 DTRACE_PROBE4(bpf__tx, struct bpf_d *, d, int, dlt, in bpfwrite()
1773 int dlt; in bpf_setdlt() local
1775 if (copyin(addr, &dlt, sizeof (dlt)) != 0) in bpf_setdlt()
1784 if (d->bd_dlt == dlt) { /* NULL-op */ in bpf_setdlt()
1799 if ((d->bd_zone != GLOBAL_ZONEID) && (dlt != DLT_IPNET) && in bpf_setdlt()
1808 error = bpf_attachd(d, ifname, dlt); in bpf_setdlt()