Skip to contentSkip to conversation

How to re-send out the packets captured by my hook function at NF_IP_PRE_ROUTING

DISCUSSION Real Oneone 1 participant 1 message Apr 26, 2006

lore
Share & tools
lore
#0 lore raw

Hi, I tried to captured all the packets at NF_IP_PRE_ROUTING, made some changes to some of them, and invoked skb->dev->hard_start_xmit to send them out directly. However, the kernel crashed before I could get any printked information.

If you have any idea of how to send the received packets out, please tell me.

Thank you in advance.

Best regards,
Gu, Xinxing