diff options
author | Patrick McHardy <kaber@trash.net> | 2014-01-08 13:02:15 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2014-01-08 13:02:15 +0000 |
commit | dccc746af16bdc3e85610e067eebc951b75b73f1 (patch) | |
tree | 2bfd3b0180667989d00c79955d1883889db8f27f /include | |
parent | 77ef4d83c8d030b183ff763605b2c3026545fc9c (diff) |
proto: add helper function to update protocol context
Add a helper function which is to be used to update the protocol update.
Signed-off-by: Patrick McHardy <ksber@trash.net<
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index 037ef09e..de58d4cc 100644 --- a/include/proto.h +++ b/include/proto.h @@ -122,6 +122,9 @@ struct proto_ctx { }; extern void proto_ctx_init(struct proto_ctx *ctx, unsigned int family); +extern void proto_ctx_update(struct proto_ctx *ctx, enum proto_bases base, + const struct location *loc, + const struct proto_desc *desc); extern const struct proto_desc *proto_find_upper(const struct proto_desc *base, unsigned int num); extern int proto_find_num(const struct proto_desc *base, |