mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
45 lines
1.7 KiB
C
45 lines
1.7 KiB
C
/*
|
|
* Copyright (C) 2019 iopsys Software Solutions AB
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License version 2.1
|
|
* as published by the Free Software Foundation
|
|
*
|
|
* Author: Anis Ellouze <anis.ellouze@pivasoftware.com>
|
|
*
|
|
*/
|
|
|
|
#ifndef __DHCP_H
|
|
#define __DHCP_H
|
|
|
|
#include "libbbf_api/dmcommon.h"
|
|
|
|
extern DMOBJ tDHCPv4Obj[];
|
|
extern DMOBJ tDHCPv4ServerObj[];
|
|
extern DMOBJ tDHCPv4ServerPoolObj[];
|
|
extern DMOBJ tDHCPv4ServerPoolClientObj[];
|
|
extern DMLEAF tDHCPv4ServerPoolParams[];
|
|
extern DMLEAF tDHCPv4ServerPoolStaticAddressParams[];
|
|
extern DMLEAF tDHCPv4ServerPoolClientParams[];
|
|
extern DMLEAF tDHCPv4ServerPoolClientIPv4AddressParams[];
|
|
|
|
extern DMLEAF tDHCPv4Params[];
|
|
extern DMOBJ tDHCPv4ClientObj[];
|
|
extern DMLEAF tDHCPv4ClientParams[];
|
|
extern DMLEAF tDHCPv4ClientSentOptionParams[];
|
|
extern DMLEAF tDHCPv4ClientReqOptionParams[];
|
|
extern DMOBJ tDHCPv4ServerObj[];
|
|
extern DMLEAF tDHCPv4ServerParams[];
|
|
extern DMLEAF tDHCPv4ServerPoolOptionParams[];
|
|
extern DMLEAF tDHCPv4ServerPoolClientIPv4AddressParams[];
|
|
extern DMLEAF tDHCPv4ServerPoolClientOptionParams[];
|
|
extern DMOBJ tDHCPv4RelayObj[];
|
|
extern DMLEAF tDHCPv4RelayParams[];
|
|
extern DMLEAF tDHCPv4RelayForwardingParams[];
|
|
|
|
int set_section_order(char *package, char *dmpackage, char* sect_type, struct uci_section *dmmap_sect, struct uci_section *conf, int set_force, char* order);
|
|
int get_value_in_mac_format(struct uci_section *s, char *option_name, bool type, char **value);
|
|
bool tag_option_exists(char *dmmap_package, char *section, char *opt_check, char *value_check, char *tag_name, char *tag_value);
|
|
char *generate_tag_option(char *dmmap_package, char *section, char *opt_check, char *value_check, char *tag_name);
|
|
|
|
#endif
|