diff options
author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-07-13 03:40:35 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:01 +0100 |
commit | 8f483f924eb7cdb07a1bf200bdcde2332ee9758f (patch) | |
tree | 1921d57f0a4ec8eb3fb7b6b723658274a84e0119 /pimd/pim_tlv.h | |
parent | lib: add grammar_sandbox to .gitignore (diff) | |
download | frr-8f483f924eb7cdb07a1bf200bdcde2332ee9758f.tar.xz frr-8f483f924eb7cdb07a1bf200bdcde2332ee9758f.zip |
pimd: Create pim_encode_addr_group
Create the ability to encode the group address in a message.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_tlv.h')
-rw-r--r-- | pimd/pim_tlv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_tlv.h b/pimd/pim_tlv.h index 8556e931a..586d98968 100644 --- a/pimd/pim_tlv.h +++ b/pimd/pim_tlv.h @@ -111,6 +111,9 @@ int pim_tlv_parse_addr_list(const char *ifname, struct in_addr src_addr, uint16_t option_len, const uint8_t *tlv_curr); +int pim_encode_addr_ucast (uint8_t *buf, struct prefix *p); +int pim_encode_addr_group (uint8_t *buf, afi_t afi, int bidir, int scope, struct in_addr group); + int pim_parse_addr_ucast (struct prefix *p, const uint8_t *buf, int buf_size); |