it is possible to use inet_addr
Hello,
Iam changing netif_receive_skb () function in in /usr/src/linux/net/core/dev.c.i unable to use inet_addr function in netif_receive_skb function. It is possible to use inet_addr function in netif_receive-skb function, if possible how can use.
thanks & regards
LEO
Hi,
This question is not netfilter related at all, maybe linux-net is a better place, anyway...
Quoted 4 lines · kesineni sai pratap
Hello,
Iam changing
netif_receive_skb() function in in/usr/src/linux/net/core/dev.c.iunable to useinet_addrfunction innetif_receive_skbfunction.
because that function doesn't exist in kernel space. The kernel is written in C but it doesn't implement all the standard C functions available in user space.
If you do want to use something that function, you should implement by yourself or steal it from elsewhere.
regards,
Pablo