networking - Pushing SKB to the network stack -
i have net_device
has ndo_start_xmit
function implemented.
when ndo_start_xmit
function called have skb
contains ip packet. i'll need overt packet ip+udp
headers , send routing system.
the problem when call dst_input(skb)
or dst_output(skb)
i'll catch null
pointer dereference error. seems can't use functions push encapsulated packet network stack.
can helps me solution?
if want push skb kernel stack use netif_rx(skb) function.
Comments
Post a Comment