diff options
Diffstat (limited to 'trafgen_proto.h')
-rw-r--r-- | trafgen_proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trafgen_proto.h b/trafgen_proto.h index 2e50402..a8b97eb 100644 --- a/trafgen_proto.h +++ b/trafgen_proto.h @@ -143,4 +143,6 @@ extern void proto_field_dyn_apply(struct proto_field *field); extern void proto_field_func_add(struct proto_hdr *hdr, uint32_t fid, struct proto_field_func *func); +extern struct proto_field *proto_field_by_id(struct proto_hdr *hdr, uint32_t fid); + #endif /* TRAFGEN_PROTO_H */ |