netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RFC: XFRM changing the view of xfrm_aevent_id
@ 2006-12-01 14:37 jamal
  2006-12-01 14:47 ` KOVACS Krisztian
  2006-12-02  4:08 ` David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: jamal @ 2006-12-01 14:37 UTC (permalink / raw)
  To: David Miller; +Cc: Krisztian, netdev, Herbert Xu

while trying to patch iproute2 to display the xfrm aevents i came to the
conclusion that the xfrm_aevent_id struct didnt provide enough info
for me to uniquely identify an SA.
I need two other items: the reqid and saddr.

The structure currently looks like

struct xfrm_aevent_id {
        struct xfrm_usersa_id           sa_id;
        __u32                           flags;
};

I could add the two items mentioned above in it and break the ABI.
This may sound dangerous, but the usage of this ABI is not widespread.
AFAIK, the only other person who might have used this is Kristzian (on
CC).

If this is considered evil, then i will transfer the two items in
a new TLV but it wont be as pretty.

Thoughts?

cheers,
jamal


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-03  6:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-01 14:37 RFC: XFRM changing the view of xfrm_aevent_id jamal
2006-12-01 14:47 ` KOVACS Krisztian
2006-12-02  4:08 ` David Miller
2006-12-02 11:09   ` jamal
2006-12-03  6:22     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).