Skip to contentSkip to conversation

it is possible to use inet_addr

DISCUSSION kesineni sai pratap 2 participants 2 messages Aug 3, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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.i unable to use inet_addr function in netif_receive_skb function.

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