diff options
| author | Moshe Shemesh <[email protected]> | 2019-03-21 15:51:39 -0700 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2019-03-22 12:09:31 -0700 |
| commit | bea964107fa78ffe484ef8659ecc26f9ae2bcd2f (patch) | |
| tree | 56fbd8b93e07108cab70c84656a8ea7ae80996d0 /include | |
| parent | e3cfc7e6b7bd59e4ce244deedbad4d1b7a609415 (diff) | |
net: Add IANA_VXLAN_UDP_PORT definition to vxlan header file
Added IANA_VXLAN_UDP_PORT (4789) definition to vxlan header file so it
can be used by drivers instead of local definition.
Updated drivers which locally defined it as 4789 to use it.
Signed-off-by: Moshe Shemesh <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Cc: John Hurley <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Yunsheng Lin <[email protected]>
Cc: Peng Li <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/vxlan.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h index 00254a58824b..83b5999a2587 100644 --- a/include/net/vxlan.h +++ b/include/net/vxlan.h @@ -8,6 +8,8 @@ #include <net/rtnetlink.h> #include <net/switchdev.h> +#define IANA_VXLAN_UDP_PORT 4789 + /* VXLAN protocol (RFC 7348) header: * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * |R|R|R|R|I|R|R|R| Reserved | |