diff options
| author | Paul Jakma <paul.jakma@hpe.com> | 2016-01-18 10:12:10 +0000 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-18 07:35:38 -0400 | 
| commit | b892f1ddfe42a620d84b6c245d1997e4b560eea8 (patch) | |
| tree | acf13ca7ac43984b9215b0006d4d16fac2c281c3 /lib/sockunion.h | |
| parent | ac01cff9ec30b0bf28888a1bbedc34b74b40cd37 (diff) | |
*: use an ifindex_t type, defined in lib/if.h, for ifindex values
(cherry picked from commit 9099f9b2a66e86f8a90d7fe18f61bd2bb1bc6744)
Diffstat (limited to 'lib/sockunion.h')
| -rw-r--r-- | lib/sockunion.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sockunion.h b/lib/sockunion.h index a33051ae57..105b11a24c 100644 --- a/lib/sockunion.h +++ b/lib/sockunion.h @@ -24,6 +24,7 @@  #define _ZEBRA_SOCKUNION_H  #include "privs.h" +#include "if.h"  union sockunion   { @@ -95,7 +96,7 @@ extern int sockunion_socket (const union sockunion *su);  extern const char *inet_sutop (const union sockunion *su, char *str);  extern enum connect_result sockunion_connect (int fd, const union sockunion *su,                                                 unsigned short port, -                                              unsigned int); +                                              ifindex_t);  extern union sockunion *sockunion_getsockname (int);  extern union sockunion *sockunion_getpeername (int);  extern union sockunion *sockunion_dup (const union sockunion *);  | 
