Post

Replies

Boosts

Views

Activity

Reply to Enumerating available interfaces for use with NWEthernetChannel
Hi Quinn, Agreed - we have some very unique requirements! We need the actual link speed - to be able to identify cable issues, for example. Regarding the enhancement request - I saw that other people had already file some. But I think you are quite right - more is better! So I filed one: FB9074593 - Need coherent APIs for using NWEthernetChannel. As always, Thank You for your support! Devendra.
Apr ’21
Reply to Enumerating available interfaces for use with NWEthernetChannel
Hi Quinn, You can get this from the BSD interface name (en7 in my example) using the old school BSD API (SIOCGIFXMEDIA). If I understand this correctly, this ioctl provides the settings - and may not be the actual speed that the interface is working on. (BTW all of that is also available via NWInterface APIs). What we would need seems to what the ifconfig utility seems to use - SIOCGIFLINKPARAMS, but that one seems to be PRIVATE - so we are not able to use that. Thanks. Devendra.
Apr ’21
Reply to dyld linking to the wrong dylib
That's right - this setup has two separate libraries, both of them have the same binary name "MyLibrary". [The exported symbols are all different because the symbols contain the version "A" or "B" in the symbol names.] I was surprised that this could even work, but my coworkers told me that they have been using this scheme for some time, and it seems to work fine on most other Macs. Thanks. Devendra.
Topic: App & System Services SubTopic: General Tags:
Mar ’23
Reply to dyld linking to the wrong dylib
Yes, these are different versions of the same basic code, but with some additions, changes, etc. All the exported symbols however are prepended with a version specific identifier. For example, MyLibraryA would have A::SomeFunc(), while MyLibraryB would have B::SomeFunc().
Topic: App & System Services SubTopic: General Tags:
Mar ’23
Reply to Enumerating available interfaces for use with NWEthernetChannel
Hi Quinn, Agreed - we have some very unique requirements! We need the actual link speed - to be able to identify cable issues, for example. Regarding the enhancement request - I saw that other people had already file some. But I think you are quite right - more is better! So I filed one: FB9074593 - Need coherent APIs for using NWEthernetChannel. As always, Thank You for your support! Devendra.
Replies
Boosts
Views
Activity
Apr ’21
Reply to How to receive broadcast packets with NWEthernetChannel
Seems like this is a bug, so I filed a feedback - FB9077424 Thanks. Devendra.
Replies
Boosts
Views
Activity
Apr ’21
Reply to Enumerating available interfaces for use with NWEthernetChannel
Hi Quinn, You can get this from the BSD interface name (en7 in my example) using the old school BSD API (SIOCGIFXMEDIA). If I understand this correctly, this ioctl provides the settings - and may not be the actual speed that the interface is working on. (BTW all of that is also available via NWInterface APIs). What we would need seems to what the ifconfig utility seems to use - SIOCGIFLINKPARAMS, but that one seems to be PRIVATE - so we are not able to use that. Thanks. Devendra.
Replies
Boosts
Views
Activity
Apr ’21
Reply to How to receive broadcast packets with NWEthernetChannel
Thanks Quinn for the update! Devendra.
Replies
Boosts
Views
Activity
Apr ’21
Reply to How to receive broadcast packets with NWEthernetChannel
For others who may land up here - this is now fixed in latest Monterey beta. Thanks. Devendra.
Replies
Boosts
Views
Activity
Sep ’21
Reply to panic cpu
Please provide some specifics. Perhaps attach the panic log here.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to dyld linking to the wrong dylib
What program is loading these plug-ins? This is our own program which is loading the plugins - using bundle APIs.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to dyld linking to the wrong dylib
That's right - this setup has two separate libraries, both of them have the same binary name "MyLibrary". [The exported symbols are all different because the symbols contain the version "A" or "B" in the symbol names.] I was surprised that this could even work, but my coworkers told me that they have been using this scheme for some time, and it seems to work fine on most other Macs. Thanks. Devendra.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to dyld linking to the wrong dylib
Yes, these are different versions of the same basic code, but with some additions, changes, etc. All the exported symbols however are prepended with a version specific identifier. For example, MyLibraryA would have A::SomeFunc(), while MyLibraryB would have B::SomeFunc().
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to dyld linking to the wrong dylib
I think that's what we'll just do - no need to live in the ambiguity! Thank you Quinn for your help - as always! Devendra.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23
Reply to How to get taskinfo to report kernel threads in BigSur
If anybody is looking here, I want to update that the latest macOS versions have restored the functionality o taskinfo reporting information about kernel task threads.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’23