Default gateway mac address
I coded a kernel module which can create custom sk_buff and send them using dev_queue_xmit().now,I am using hard coded mac address(mac of default gateway) for destination mac in ethernet layer.
How to get default gateway mac address in the kernel? |
|
All times are GMT -5. The time now is 01:04 AM. |