NDRV Documentation?

Is macOS NDRV documentation posted anywhere?

NDRV as in PF/AFNDR for receiving raw EtherType packets on network interfaces. So "struct sockaddrndrv" , "struct ndrvprotocoldesc", etc.

There seems to be very little C documentation available, even in the legacy documentation area. Plus the macOS socket functions couldn't be deprecated, could they? BSD sockets are a very old and still heavily used API, though NDRV is obviously an Apple extension.

I even checked what docs were available for Darwin, with the thinking that perhaps all of the C APIs were documented there, but nothing.
I’m not sure if this was ever documented properly. Most folks who want to send and receive raw Ethernet frames use BPF. Also, if you’re on a modern version of macOS, you can use NWEthernetChannel.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
NDRV Documentation?
 
 
Q