why struct ip -> p_ip==0
From: cyx_mail
Date: Mon Jul 07 2008 - 21:45:33 EST
Hi,all
When I read the igmpproxy code ,I found a piece of code in igmp.c :
/*
* this is most likely a message from the kernel indicating that
* a new src grp pair message has arrived and so, it would be
* necessary to install a route into the kernel for this.
*/
if (ip->ip_p == 0) {
if (src == 0 || dst == 0) {
log(LOG_WARNING, 0, "kernel request not accurate");
}
I don't know why ip->ip_p == 0 ???
2008-07-08
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html