Passion: http://sysplay.in (Playing with Systems)
--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Check on of the usage examples in the files listed at http://lxr.free-electrons.com/ident?i=dev_queue_xmit
Regards
Anil
Passion: http://sysplay.in (Playing with Systems)Girish Bopaiah wrote on Wednesday 03 August 2016 01:21 PM:
Dear All,
I have to send some Ethernet packets from my device driver module.Have completely created Ethernet packet(including mac, IP and data)By googling I got some API's like dev_queue_xmit.
Could you please guide me on this with example if you have any--
Regards,
Girish
--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "SysPlay's Inside Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How does it matter whether at tcp/ip stack or not, because finally it is memory from kernel space?
skb related management is provided the stack layer so what ever skb operations needs to done to transmit the pkt through driver would go through the skb APIs provided by the stack.
Not sure about what is this igb_xmit_frame. Typically the
transmit function ptr in the driver is start_xmit.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
Highly likely - may be you have to dig into the code further.
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.
Seeing your exploration spree, I think that you may find many
more ways than what I know.
The name assignment is done when we register using
register_netdev based on the value filled in net_device structure
by APIs like alloc_etherdev, ...
To unsubscribe from this group and stop receiving emails from it, send an email to inside_linux...@googlegroups.com.