[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: wlan interface parent
From: Oliver Pinter <oliver.pinter () hardenedbsd ! org>
Date: 2016-12-28 12:03:28
Message-ID: CAPQ4ffvCeu-SneAdxpzV0c5HJHfFpA5X_ds42x7Qh4zi9xoi3A () mail ! gmail ! com
[Download RAW message or body]
Hi!
On Wed, Dec 28, 2016 at 12:55 PM, Hooman Fazaeli
<hoomanfazaeli@gmail.com> wrote:
> Hi
>
> What is the right method to get the parent device name of a given
> WLAN interface in userland code? I could not find any relevant ioctl
> command in <net80211/ieee80211_ioctl.h>.
Try with sysctls if you want to detect the name from script of user-space
op@blackbird ~> sysctl -d net.wlan.devices
net.wlan.devices: names of available 802.11 devices
op@blackbird ~> sysctl net.wlan.devices
net.wlan.devices: iwm0
op@blackbird ~> sysctl net.wlan.0.%parent
net.wlan.0.%parent: iwm0
op@blackbird ~>
>
> Thanks.
>
> --
> Best regards
> Hooman Fazaeli
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic