Diff for /embedaddon/quagga/isisd/isis_misc.h between versions 1.1 and 1.1.1.3

version 1.1, 2012/02/21 17:26:11 version 1.1.1.3, 2016/11/02 10:09:10
Line 24 Line 24
 #ifndef _ZEBRA_ISIS_MISC_H  #ifndef _ZEBRA_ISIS_MISC_H
 #define _ZEBRA_ISIS_MISC_H  #define _ZEBRA_ISIS_MISC_H
   
int string2circuit_t (const u_char *);int string2circuit_t (const char *);
 const char *circuit_t2string (int);  const char *circuit_t2string (int);
   const char *circuit_state2string (int state);
   const char *circuit_type2string (int type);
 const char *syst2string (int);  const char *syst2string (int);
 struct in_addr newprefix2inaddr (u_char * prefix_start,  struct in_addr newprefix2inaddr (u_char * prefix_start,
                                  u_char prefix_masklen);                                   u_char prefix_masklen);
Line 33  struct in_addr newprefix2inaddr (u_char * prefix_start Line 35  struct in_addr newprefix2inaddr (u_char * prefix_start
  * Converting input to memory stored format   * Converting input to memory stored format
  * return value of 0 indicates wrong input   * return value of 0 indicates wrong input
  */   */
int dotformat2buff (u_char *, const u_char *);int dotformat2buff (u_char *, const char *);
int sysid2buff (u_char *, const u_char *);int sysid2buff (u_char *, const char *);
   
 /*  /*
  * Printing functions   * Printing functions
  */   */
const char *isonet_print (u_char *, int len);const char *isonet_print (const u_char *, int len);
const char *sysid_print (u_char *);const char *sysid_print (const u_char *);
const char *snpa_print (u_char *);const char *snpa_print (const u_char *);
const char *rawlspid_print (u_char *);const char *rawlspid_print (const u_char *);
 const char *time2string (u_int32_t);  const char *time2string (u_int32_t);
 /* typedef struct nlpids nlpids; */  /* typedef struct nlpids nlpids; */
 char *nlpid2string (struct nlpids *);  char *nlpid2string (struct nlpids *);
   const char *print_sys_hostname (const u_char *sysid);
   void zlog_dump_data (void *data, int len);
   
 /*  /*
  * misc functions   * misc functions
Line 57  const char *unix_hostname (void); Line 61  const char *unix_hostname (void);
 /*  /*
  * macros   * macros
  */   */
#define GETSYSID(A,L) (A->area_addr + (A->addr_len - (L + 1)))#define GETSYSID(A) (A->area_addr + (A->addr_len - \
                                      (ISIS_SYS_ID_LEN + ISIS_NSEL_LEN)))
   
 /* used for calculating nice string representation instead of plain seconds */  /* used for calculating nice string representation instead of plain seconds */
   

Removed from v.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>