diff options
| author | wumu.zsl <wumu.zsl@alibaba-inc.com> | 2025-01-21 06:56:32 +0000 |
|---|---|---|
| committer | wumu.zsl <wumu.zsl@alibaba-inc.com> | 2025-01-23 02:59:09 +0000 |
| commit | 3548b3004d7f01b7a61926dcee1496a1a5bd9de8 (patch) | |
| tree | 66bb9485b8e69f649b129121050b639949b11368 /bfdd/bfd.h | |
| parent | c58cbb2c44c7ae78f6246a07fb3c269008fa7770 (diff) | |
bfdd: enable sbfd session
1) create socket to send sbfd packets
2) integrate sbfd logic with existing BFD
Signed-off-by: wumu.zsl <wumu.zsl@alibaba-inc.com>
Diffstat (limited to 'bfdd/bfd.h')
| -rw-r--r-- | bfdd/bfd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfdd/bfd.h b/bfdd/bfd.h index e4421a358f..d9119d16c2 100644 --- a/bfdd/bfd.h +++ b/bfdd/bfd.h @@ -152,7 +152,6 @@ struct bfd_echo_pkt { uint64_t time_sent_usec; }; - /* Macros for manipulating control packets */ #define BFD_VERMASK 0x07 #define BFD_DIAGMASK 0x1F @@ -470,9 +469,10 @@ struct bfd_vrf_global { int bg_mhop6; int bg_echo; int bg_echov6; + int bg_initv6; struct vrf *vrf; - struct event *bg_ev[6]; + struct event *bg_ev[7]; }; /* Forward declaration of data plane context struct. */ |
