From: jamal <hadi@cyberus.ca>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: netdev@vger.kernel.org
Subject: [IPROUTE2 PATCH][XFRM] update xfrm monitoring to use nl_mgrp
Date: Thu, 07 Dec 2006 20:58:23 -0500 [thread overview]
Message-ID: <1165543103.3666.18.camel@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 124 bytes --]
Stephen,
I will wait until you sync all these patches ive sent; then send a
couple more then i will be done.
cheers,
jamal
[-- Attachment #2: xfrm_event_mg --]
[-- Type: text/plain, Size: 1223 bytes --]
[XFRM] update xfrm monitoring to use nl_mgrp
Signed-off-by: J Hadi Salim <hadi@cyberus.ca>
---
commit 738a5222776694ff22083e54a8f3efb6a013694e
tree 70937ae0b6a80d98d08b4a627fdf7b61f62bdf66
parent 1326d6a1eb107e3b9ea7a3254e621dd3f827bb4d
author Jamal Hadi Salim <hadi@cyberus.ca> Thu, 07 Dec 2006 20:54:50 -0500
committer Jamal Hadi Salim <hadi@cyberus.ca> Thu, 07 Dec 2006 20:54:50 -0500
ip/xfrm_monitor.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/ip/xfrm_monitor.c b/ip/xfrm_monitor.c
index b2014b4..925e229 100644
--- a/ip/xfrm_monitor.c
+++ b/ip/xfrm_monitor.c
@@ -292,17 +292,17 @@ int do_xfrm_monitor(int argc, char **argv)
}
if (lacquire)
- groups |= XFRMGRP_ACQUIRE;
+ groups |= nl_mgrp(XFRMNLGRP_ACQUIRE);
if (lexpire)
- groups |= XFRMGRP_EXPIRE;
+ groups |= nl_mgrp(XFRMNLGRP_EXPIRE);
if (lsa)
- groups |= XFRMGRP_SA;
+ groups |= nl_mgrp(XFRMNLGRP_SA);
if (lpolicy)
- groups |= XFRMGRP_POLICY;
+ groups |= nl_mgrp(XFRMNLGRP_POLICY);
if (laevent)
- groups |= (1 << (XFRMNLGRP_AEVENTS - 1));
+ groups |= nl_mgrp(XFRMNLGRP_AEVENTS);
if (lreport)
- groups |= XFRMGRP_REPORT;
+ groups |= nl_mgrp(XFRMNLGRP_REPORT);
if (file) {
FILE *fp;
reply other threads:[~2006-12-08 11:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1165543103.3666.18.camel@localhost \
--to=hadi@cyberus.ca \
--cc=netdev@vger.kernel.org \
--cc=shemminger@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.