diff options
author | hasso <hasso> | 2005-09-26 17:58:24 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-09-26 17:58:24 +0000 |
commit | 81ad8f6a1040eaf9d4230bd63b71d85397660653 (patch) | |
tree | 93ccfab5fe8ca9d9e79b65aed0e359ab21f0a1c1 /isisd/isis_tlv.h | |
parent | aa4376ec0c37b9b2d484e9503ad7b8e1a010afd2 (diff) |
* isis_tlv.[ch]: New function tlv_add_in_addr() to put just one IPv4
address into TLV. Used for IPv4 address TLV (in case of LSP) and TE
router ID TLV.
* isis_lsp.c: Use tlv_add_in_addr() and include router ID in LSP.
Diffstat (limited to 'isisd/isis_tlv.h')
-rw-r--r-- | isisd/isis_tlv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_tlv.h b/isisd/isis_tlv.h index 1dc030e0..951a254a 100644 --- a/isisd/isis_tlv.h +++ b/isisd/isis_tlv.h @@ -276,7 +276,6 @@ int parse_tlvs (char *areatag, u_char * stream, int size, u_int32_t * expected, u_int32_t * found, struct tlvs *tlvs); void free_tlv (void *val); -int add_tlv (u_char, u_char, u_char *, struct stream *); int tlv_add_area_addrs (struct list *area_addrs, struct stream *stream); int tlv_add_is_neighs (struct list *is_neighs, struct stream *stream); int tlv_add_te_is_neighs (struct list *te_is_neighs, struct stream *stream); @@ -286,6 +285,7 @@ int tlv_add_checksum (struct checksum *checksum, struct stream *stream); int tlv_add_authinfo (char auth_type, char authlen, u_char *auth_value, struct stream *stream); int tlv_add_ip_addrs (struct list *ip_addrs, struct stream *stream); +int tlv_add_in_addr (struct in_addr *, struct stream *stream, u_char tag); int tlv_add_dynamic_hostname (struct hostname *hostname, struct stream *stream); int tlv_add_lsp_entries (struct list *lsps, struct stream *stream); |