-#define OWNLSPID(I) \
- memcpy ((I), isis->sysid, ISIS_SYS_ID_LEN);\
- (I)[ISIS_SYS_ID_LEN] = 0;\
- (I)[ISIS_SYS_ID_LEN + 1] = 0
-int lsp_id_cmp (u_char * id1, u_char * id2);
-int lsp_compare (char *areatag, struct isis_lsp *lsp, u_int32_t seq_num,
- u_int16_t checksum, u_int16_t rem_lifetime);
-void lsp_update (struct isis_lsp *lsp, struct stream *stream,
- struct isis_area *area, int level);
-void lsp_inc_seqnum (struct isis_lsp *lsp, u_int32_t seq_num);
-void lsp_print (struct isis_lsp *lsp, struct vty *vty, char dynhost);
-void lsp_print_detail (struct isis_lsp *lsp, struct vty *vty, char dynhost);
-int lsp_print_all (struct vty *vty, dict_t * lspdb, char detail,
- char dynhost);
-const char *lsp_bits2string (u_char *);
-
+#define OWNLSPID(I) \
+ memcpy((I), isis->sysid, ISIS_SYS_ID_LEN); \
+ (I)[ISIS_SYS_ID_LEN] = 0; \
+ (I)[ISIS_SYS_ID_LEN + 1] = 0
+int lsp_id_cmp(uint8_t *id1, uint8_t *id2);
+int lsp_compare(char *areatag, struct isis_lsp *lsp, uint32_t seqno,
+ uint16_t checksum, uint16_t rem_lifetime);
+void lsp_update(struct isis_lsp *lsp, struct isis_lsp_hdr *hdr,
+ struct isis_tlvs *tlvs, struct stream *stream,
+ struct isis_area *area, int level, bool confusion);
+void lsp_inc_seqno(struct isis_lsp *lsp, uint32_t seqno);
+void lspid_print(uint8_t *lsp_id, char *dest, char dynhost, char frag);
+void lsp_print(struct isis_lsp *lsp, struct vty *vty, char dynhost);
+void lsp_print_detail(struct isis_lsp *lsp, struct vty *vty, char dynhost);
+int lsp_print_all(struct vty *vty, dict_t *lspdb, char detail, char dynhost);