Lines Matching refs:dlt
242 bpf_attachd(struct bpf_d *d, const char *ifname, int dlt) in bpf_attachd() argument
277 if (dlt != -1 && dlt != nicdlt) { in bpf_attachd()
718 int dlt; in bpfwrite() local
746 dlt = d->bd_dlt; in bpfwrite()
752 if (dlt == DLT_IPNET) { in bpfwrite()
757 error = bpf_movein(uio, dlt, mtu, &m); in bpfwrite()
761 DTRACE_PROBE4(bpf__tx, struct bpf_d *, d, int, dlt, in bpfwrite()
1785 int dlt; in bpf_setdlt() local
1787 if (copyin(addr, &dlt, sizeof (dlt)) != 0) in bpf_setdlt()
1796 if (d->bd_dlt == dlt) { /* NULL-op */ in bpf_setdlt()
1811 if ((d->bd_zone != GLOBAL_ZONEID) && (dlt != DLT_IPNET) && in bpf_setdlt()
1820 error = bpf_attachd(d, ifname, dlt); in bpf_setdlt()