-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 KOVACS Krisztian wrote:
> Ulrich, I already have some code which supports per-state > difference settings, along with optional time limits. I don't know > whether or not the latter would be necessary or not, but putting > the per-state diff values would be trivial. I'll send a patch in a > couple of days if I find the time to hack it together. > Ok great :) > Why do you need the pid and seq argument here? The sequence number > is redundant information anyway. In turn, you don't seem to pass > the event in to the notify_seq() callback, which could be handy in > some cases. So IMHO something like > > notify_seq(struct xfrm_state *x, int event) > > would be more general. > I need it to distinguish between unicast (userspace wants a seq nr) or multicast (inform userspace about new seq nr) netlink messages. Seq stands here for Netlink seq nr. I'll have a look if I can wrap it another way. Best regards Ulrich -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC8j+g22t2oTuElzoRAlpTAJ9CuaW1MoHZ0P1IjsIb8UdGavOb3ACfY5CK epoVhuRj/aYA5Jcpjhm1frc= =tmgD -----END PGP SIGNATURE----- - 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