Lines Matching defs:mondevice
198 char *mondevice; /* mac80211 monitor device we created */
536 const char *device, const char *mondevice);
540 const char *device, const char *mondevice)
562 NLA_PUT_STRING(msg, NL80211_ATTR_IFNAME, mondevice);
585 device, mondevice, nl_geterror(-err));
609 device, mondevice, nl_geterror(-err));
623 handlep->mondevice = strdup(mondevice);
624 if (handlep->mondevice == NULL) {
630 del_mon_if(handle, sock_fd, state, device, mondevice);
638 device, mondevice);
645 const char *device, const char *mondevice)
651 ifindex = iface_get_id(sock_fd, mondevice, handle->errbuf);
670 device, mondevice, nl_geterror(-err));
678 device, mondevice, nl_geterror(-err));
692 device, mondevice);
808 handlep->device, handlep->mondevice);
815 handlep->mondevice, handle->errbuf);
840 if (handlep->mondevice != NULL) {
841 free(handlep->mondevice);
842 handlep->mondevice = NULL;
2440 if (handlep->mondevice != NULL)
2441 device = handlep->mondevice;
4829 char mondevice[3+10+1]; /* mon{UINT_MAX}\0 */
4831 snprintf(mondevice, sizeof mondevice, "mon%u", n);
4832 ret = add_mon_if(handle, sock_fd, &nlstate, device, mondevice);
4876 handlep->mondevice);
4885 pcapint_strlcpy(ifr.ifr_name, handlep->mondevice, sizeof(ifr.ifr_name));
4889 handlep->mondevice);
4891 handlep->mondevice);
4899 handlep->mondevice);
4901 handlep->mondevice);