From: Steve Wise <[EMAIL PROTECTED]>
Date: Fri, 23 Jun 2006 15:34:55 -0500

> But what about the redirect event?  It really needs to pass two bits of
> info:  The old dst_entry ptr and the new dst_entry ptr.  This is needed
> so the rdma driver can figure out which connections now need to use the
> new dst_entry...

struct foo_event_data {
        struct whatever a;
        struct thistoo b;
};

        struct foo_event_data x;

        x->a = xxx;
        x->b = yyy;

        event->data = (void *) &x;
        send_event(&event);

Why do you need typed data to do this?
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to