diff options
Diffstat (limited to 'isisd/isis_circuit.h')
| -rw-r--r-- | isisd/isis_circuit.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/isisd/isis_circuit.h b/isisd/isis_circuit.h index 494e96b697..58aa28195f 100644 --- a/isisd/isis_circuit.h +++ b/isisd/isis_circuit.h @@ -63,6 +63,15 @@ struct isis_circuit_arg { struct isis_circuit *circuit; }; +/* + * Hello padding types + */ +enum isis_hello_padding { + ISIS_HELLO_PADDING_ALWAYS, + ISIS_HELLO_PADDING_DISABLED, + ISIS_HELLO_PADDING_SOMETIMES +}; + struct isis_circuit { enum isis_circuit_state state; uint8_t circuit_id; /* l1/l2 bcast CircuitID */ @@ -100,7 +109,7 @@ struct isis_circuit { struct isis_p2p_info p2p; } u; uint8_t priority[ISIS_LEVELS]; /* l1/2 IS configured priority */ - int pad_hellos; /* add padding to Hello PDUs ? */ + enum isis_hello_padding pad_hellos; /* type of Hello PDUs padding */ char ext_domain; /* externalDomain (boolean) */ int lsp_regenerate_pending[ISIS_LEVELS]; uint64_t lsp_error_counter; |
