diff options
Diffstat (limited to 'src/network/networkd-neighbor.h')
-rw-r--r-- | src/network/networkd-neighbor.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/network/networkd-neighbor.h b/src/network/networkd-neighbor.h index 0d67879a24..c306e407d3 100644 --- a/src/network/networkd-neighbor.h +++ b/src/network/networkd-neighbor.h @@ -45,5 +45,11 @@ int manager_rtnl_process_neighbor(sd_netlink *rtnl, sd_netlink_message *message, DEFINE_NETWORK_CONFIG_STATE_FUNCTIONS(Neighbor, neighbor); -CONFIG_PARSER_PROTOTYPE(config_parse_neighbor_address); -CONFIG_PARSER_PROTOTYPE(config_parse_neighbor_lladdr); +typedef enum NeighborConfParserType { + NEIGHBOR_DESTINATION_ADDRESS, + NEIGHBOR_LINK_LAYER_ADDRESS, + _NEIGHBOR_CONF_PARSER_MAX, + _NEIGHBOR_CONF_PARSER_INVALID = -EINVAL, +} NeighborConfParserType; + +CONFIG_PARSER_PROTOTYPE(config_parse_neighbor_section); |