#include "ip.h"
#include "igmp.h"
+#include "background.h"
#include "nic.h"
#include "etherboot.h"
}
}
-static void process_igmp ( struct iphdr *ip, unsigned long now ) {
+static void process_igmp ( unsigned long now, unsigned short ptype __unused,
+ struct iphdr *ip ) {
struct igmp *igmp;
int i;
unsigned iplen;
}
}
+static struct background igmp_background __background = {
+ .send = send_igmp_reports,
+ .process = process_igmp,
+};
+
void leave_group ( int slot ) {
/* Be very stupid and always send a leave group message if
* I have subscribed. Imperfect but it is standards
igmptable[slot].time = currticks();
}
}
-