I have some code that is trying to send a ethernet type II frame directly to a network interface. I am not very familiar with this space. No matter what I try I get an io error of
No such device or address (os error 6) every time. I can successfully get the mac address and network index using ioctl, so I think I am somewhat on the right track. I am stuck though. I have spent hours trying to debug this, trying different approaches and reviewing my code. The debugger does not go down far enough (nor am I sure I would understand that deep down) to see exactly why I am getting this error.
Does anyone have any suggestions on how to proceed from here? I can share code, but I am more interested in how people approach solving this sort of problem. I am hoping that talking through it will give me a lightbulb moment too.