diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-27 21:13:34 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-27 21:13:34 +0200 |
commit | d7c0a89a3a5697783a6dd89333ab660074790890 (patch) | |
tree | eefa73e502f919b524b8a345437260d4acc23083 /zebra/irdp.h | |
parent | tools, doc: update checkpatch for u_int_* (diff) | |
download | frr-d7c0a89a3a5697783a6dd89333ab660074790890.tar.xz frr-d7c0a89a3a5697783a6dd89333ab660074790890.zip |
*: use C99 standard fixed-width integer types
The following types are nonstandard:
- u_char
- u_short
- u_int
- u_long
- u_int8_t
- u_int16_t
- u_int32_t
Replace them with the C99 standard types:
- uint8_t
- unsigned short
- unsigned int
- unsigned long
- uint8_t
- uint16_t
- uint32_t
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/irdp.h')
-rw-r--r-- | zebra/irdp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/irdp.h b/zebra/irdp.h index 8aa9f3e4b..4800e75be 100644 --- a/zebra/irdp.h +++ b/zebra/irdp.h @@ -117,7 +117,7 @@ struct irdp_interface { unsigned long MinAdvertInterval; unsigned long Preference; - u_int32_t flags; + uint32_t flags; #define IF_ACTIVE (1<<0) /* ICMP Active */ #define IF_BROADCAST (1<<1) /* 255.255.255.255 */ @@ -130,7 +130,7 @@ struct irdp_interface { struct interface *ifp; struct thread *t_advertise; unsigned long irdp_sent; - u_int16_t Lifetime; + uint16_t Lifetime; struct list *AdvPrefList; }; @@ -147,8 +147,8 @@ extern int irdp_send_thread(struct thread *t_advert); extern void irdp_advert_off(struct interface *ifp); extern void process_solicit(struct interface *ifp); extern int irdp_read_raw(struct thread *r); -extern void send_packet(struct interface *ifp, struct stream *s, u_int32_t dst, - struct prefix *p, u_int32_t ttl); +extern void send_packet(struct interface *ifp, struct stream *s, uint32_t dst, + struct prefix *p, uint32_t ttl); #endif /* _IRDP_H */ |