-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initialize ipv4 packet decode tests.
- Loading branch information
Showing
4 changed files
with
179 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// Copyright (c) The Holo Core Contributors | ||
// | ||
// SPDX-License-Identifier: MIT | ||
// | ||
|
||
|
||
pub const VRRP_MIN_PKT_LENGTH: usize = 16; // in bytes | ||
pub const VRRP_MAX_PKT_LENGTH: usize = 80; // in bytes | ||
pub const VRRP_MAX_IP_COUNT: usize = 16; // max number of IPs that can be supported | ||
|
||
pub const IP_HDR_MIN_LENGTH: usize = 20; | ||
pub const IP_HDR_MAX_LENGTH: usize = 24; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ pub mod northbound; | |
pub mod packet; | ||
pub mod southbound; | ||
pub mod tasks; | ||
pub mod consts; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters