summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-02-25 22:17:46 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-02-25 22:17:46 +0000
commit2845c7aeb8ceab2aad312c0d746d43a6ef4ae461 (patch)
tree41513037917b4243e16d1954c8bfc40ba4c75aef /sys/net
parent4e7eb8b94cb94d893993149b4a66a39ea9929f71 (diff)
Allow PF_KEY kernel message replies for X_ADDFLOW, X_DELFLOW, and X_GRPSPIS
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pfkeyv2_parsemessage.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/pfkeyv2_parsemessage.c b/sys/net/pfkeyv2_parsemessage.c
index a14a215051a..8df43d6a17d 100644
--- a/sys/net/pfkeyv2_parsemessage.c
+++ b/sys/net/pfkeyv2_parsemessage.c
@@ -152,11 +152,11 @@ uint32_t sadb_exts_allowed_out[SADB_MAX+1] =
/* X_PROMISC */
0,
/* X_ADDFLOW */
- 0,
+ BITMAP_ADDRESS_SRC | BITMAP_ADDRESS_DST | BITMAP_SA | BITMAP_X_SRC_MASK | BITMAP_X_DST_MASK | BITMAP_X_PROTOCOL | BITMAP_X_SRC_FLOW | BITMAP_X_DST_FLOW,
/* X_DELFLOW */
- 0,
+ BITMAP_X_SRC_MASK | BITMAP_X_DST_MASK | BITMAP_X_PROTOCOL | BITMAP_X_SRC_FLOW | BITMAP_X_DST_FLOW | BITMAP_SA,
/* X_GRPSPIS */
- 0
+ BITMAP_SA | BITMAP_X_SA2 | BITMAP_X_DST2 | BITMAP_ADDRESS_DST | BITMAP_X_PROTOCOL
};
uint32_t sadb_exts_required_out[SADB_MAX+1] =
@@ -186,11 +186,11 @@ uint32_t sadb_exts_required_out[SADB_MAX+1] =
/* X_PROMISC */
0,
/* X_ADDFLOW */
- 0,
+ BITMAP_ADDRESS_DST | BITMAP_SA | BITMAP_X_SRC_MASK | BITMAP_X_DST_MASK | BITMAP_X_SRC_FLOW | BITMAP_X_DST_FLOW,
/* X_DELFLOW */
- 0,
+ BITMAP_SA | BITMAP_X_SRC_MASK | BITMAP_X_DST_MASK | BITMAP_X_SRC_FLOW | BITMAP_X_DST_FLOW,
/* X_GRPSPIS */
- 0
+ BITMAP_SA | BITMAP_X_SA2 | BITMAP_X_DST2 | BITMAP_ADDRESS_DST | BITMAP_X_PROTOCOL
};
int pfkeyv2_parsemessage(void *, int, void **);