This repository has been archived by the owner on Mar 27, 2020. It is now read-only.
forked from jLanc/MeshObserver-Packet-Capture
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/wifi-packet-identification' into feature/wifi-d…
…iagram
- Loading branch information
Showing
9 changed files
with
1,358 additions
and
23 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
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,34 @@ | ||
#ifndef MESHOBSERVER_PACKET_CAPTURE_MDP_TYPES_H | ||
#define MESHOBSERVER_PACKET_CAPTURE_MDP_TYPES_H | ||
|
||
// Simple structure for each well-known MDP port | ||
typedef struct mdp_type | ||
{ | ||
long portNo; | ||
char* description; | ||
|
||
} mdp_type; | ||
|
||
// All port numbers were collected from the following URL and are up-to-date as of 2019-09-17: | ||
// http://developer.servalproject.org/dokuwiki/doku.php?id=content:tech:mdp_port_number | ||
struct mdp_type mdp_types[] = | ||
{ | ||
{1, "ID management"}, | ||
{2, "Route state"}, | ||
{4, "NAT traversal"}, | ||
{5, "NAT traversal"}, | ||
{6, "ECHO origination"}, | ||
{7, "ECHO"}, | ||
{8, "TRACE"}, | ||
{10, "DNA"}, | ||
{12, "VoMP"}, | ||
{13, "Rhizome bundle transfer"}, | ||
{14, "Rhizome bundle transfer"}, | ||
{15, "Serval Directory Service"}, | ||
{16, "Rhizome manifest request"}, | ||
{17, "Rhizome sync"}, | ||
{63, "No reply"}, | ||
{0} // Null entry for iteration | ||
}; | ||
|
||
#endif //MESHOBSERVER_PACKET_CAPTURE_MDP_TYPES_H |
Oops, something went wrong.