1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Protocol: Introducing an enum protocol_class

This supersedes the EAP_* constants.
This commit is contained in:
Jan Maria Matejka
2018-05-07 14:47:00 +02:00
parent c3becfe193
commit ee7e2ffd26
27 changed files with 115 additions and 106 deletions

View File

@@ -275,6 +275,7 @@ pipe_show_proto_info(struct proto *P)
struct protocol proto_pipe = {
.name = "Pipe",
.template = "pipe%d",
.class = PROTOCOL_PIPE,
.proto_size = sizeof(struct pipe_proto),
.config_size = sizeof(struct pipe_config),
.postconfig = pipe_postconfig,