You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After trying to compile the iptables module on my Raspberry PI 3 with kernel 4.4.x. it's stops with the error that it expects a third parameter to the function;
ip_route_me_harder()
../iptv-analyzer-0.9.4/iptables-module/compat_xtables.c:475:28: warning: passing argument 1 of ‘ip_route_me_harder’ from incompatible pointer type
return ip_route_me_harder(*pskb, addr_type);
Ik looks like this param is introduced in kernel 4.4+. Can you help me patching the current code to make it compile with the linux 4.4 kernel ?
int xtnu_ip_route_me_harder(struct sk_buff **pskb, unsigned int addr_type)
{
if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 17)
/* Actually this one is valid up to 2.6.18.4, but changed in 2.6.18.5 */
return ip_route_me_harder(pskb);
Do you still use this module to capture mpg2ts packets ? If so, does it work on a raspberry pi 4 ?
Can you also capture packets via the RTP protocol ?
I'm trying to compile the iptables-module and I'm having trouble compiling it with the new kernel version 4.9 (Raspberry PI 4). Having no notion of C code, I struggle to debug.
After trying to compile the iptables module on my Raspberry PI 3 with kernel 4.4.x. it's stops with the error that it expects a third parameter to the function;
ip_route_me_harder()
../iptv-analyzer-0.9.4/iptables-module/compat_xtables.c:475:28: warning: passing argument 1 of ‘ip_route_me_harder’ from incompatible pointer type
return ip_route_me_harder(*pskb, addr_type);
Ik looks like this param is introduced in kernel 4.4+. Can you help me patching the current code to make it compile with the linux 4.4 kernel ?
int xtnu_ip_route_me_harder(struct sk_buff **pskb, unsigned int addr_type)
{
if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 17)
elif LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 23)
elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)
else
endif
}
Linux raspberrypi 4.4.21-v7+ #911 SMP Thu Sep 15 14:22:38 BST 2016 armv7l GNU/Linux
The text was updated successfully, but these errors were encountered: