Lines Matching refs:ifname
241 bpf_attachd(struct bpf_d *d, const char *ifname, int dlt)
263 error = MBPF_OPEN(bpr, ifname, &mh, zone);
1299 * to the interface indicated by the name stored in ifname.
1303 bpf_setif(struct bpf_d *d, char *ifname, int namesize)
1316 cp = ifname;
1324 if ((ifname[i] >= 'a' && ifname[i] <= 'z') ||
1325 (ifname[i] >= 'A' && ifname[i] <= 'Z'))
1327 ifname[i] = '0';
1359 error = bpf_attachd(d, ifname, -1);
1377 return (bpf_provider_tickle(ifname, d->bd_zone));
1770 char ifname[LIFNAMSIZ+1];
1805 (void) strlcpy(ifname, d->bd_ifname, sizeof (ifname));
1808 error = bpf_attachd(d, ifname, dlt);