summaryrefslogtreecommitdiffstats
path: root/ldpd/ldpd.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ldpd/ldpd.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h
index 1fec5be..81c6ba3 100644
--- a/ldpd/ldpd.h
+++ b/ldpd/ldpd.h
@@ -341,7 +341,7 @@ struct iface_ldp_sync {
struct iface {
RB_ENTRY(iface) entry;
- char name[INTERFACE_NAMSIZ];
+ char name[IFNAMSIZ];
ifindex_t ifindex;
struct if_addr_head addr_list;
struct in6_addr linklocal;
@@ -447,7 +447,7 @@ struct ldp_entity_stats {
struct l2vpn_if {
RB_ENTRY(l2vpn_if) entry;
struct l2vpn *l2vpn;
- char ifname[INTERFACE_NAMSIZ];
+ char ifname[IFNAMSIZ];
ifindex_t ifindex;
int operative;
uint8_t mac[ETH_ALEN];
@@ -464,7 +464,7 @@ struct l2vpn_pw {
int af;
union ldpd_addr addr;
uint32_t pwid;
- char ifname[INTERFACE_NAMSIZ];
+ char ifname[IFNAMSIZ];
ifindex_t ifindex;
bool enabled;
uint32_t remote_group;
@@ -496,7 +496,7 @@ struct l2vpn {
int type;
int pw_type;
int mtu;
- char br_ifname[INTERFACE_NAMSIZ];
+ char br_ifname[IFNAMSIZ];
ifindex_t br_ifindex;
struct l2vpn_if_head if_tree;
struct l2vpn_pw_head pw_tree;
@@ -618,7 +618,7 @@ struct kroute {
};
struct kaddr {
- char ifname[INTERFACE_NAMSIZ];
+ char ifname[IFNAMSIZ];
ifindex_t ifindex;
int af;
union ldpd_addr addr;
@@ -627,7 +627,7 @@ struct kaddr {
};
struct kif {
- char ifname[INTERFACE_NAMSIZ];
+ char ifname[IFNAMSIZ];
ifindex_t ifindex;
int flags;
int operative;
@@ -645,7 +645,7 @@ struct acl_check {
/* control data structures */
struct ctl_iface {
int af;
- char name[INTERFACE_NAMSIZ];
+ char name[IFNAMSIZ];
ifindex_t ifindex;
int state;
enum iface_type type;
@@ -656,7 +656,7 @@ struct ctl_iface {
};
struct ctl_disc_if {
- char name[INTERFACE_NAMSIZ];
+ char name[IFNAMSIZ];
int active_v4;
int active_v6;
int no_adj;
@@ -672,7 +672,7 @@ struct ctl_adj {
int af;
struct in_addr id;
enum hello_type type;
- char ifname[INTERFACE_NAMSIZ];
+ char ifname[IFNAMSIZ];
union ldpd_addr src_addr;
uint16_t holdtime;
uint16_t holdtime_remaining;
@@ -712,7 +712,7 @@ struct ctl_rt {
struct ctl_pw {
uint16_t type;
char l2vpn_name[L2VPN_NAME_LEN];
- char ifname[INTERFACE_NAMSIZ];
+ char ifname[IFNAMSIZ];
uint32_t pwid;
struct in_addr lsr_id;
uint32_t local_label;
@@ -728,7 +728,7 @@ struct ctl_pw {
};
struct ctl_ldp_sync {
- char name[INTERFACE_NAMSIZ];
+ char name[IFNAMSIZ];
ifindex_t ifindex;
bool in_sync;
bool timer_running;