projects
/
swifty.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move MPTP ports to 16bit. Until now they were on 8bit.
[swifty.git]
/
src
/
kernel
/
mptp.h
diff --git
a/src/kernel/mptp.h
b/src/kernel/mptp.h
index
59c5b17
..
51e5b0c
100644
(file)
--- a/
src/kernel/mptp.h
+++ b/
src/kernel/mptp.h
@@
-4,7
+4,7
@@
#define IPPROTO_MPTP 137
#define MIN_MPTP_PORT 1
#define IPPROTO_MPTP 137
#define MIN_MPTP_PORT 1
-#define MAX_MPTP_PORT
25
6
+#define MAX_MPTP_PORT
6553
6
#ifndef __KERNEL__
#include <inttypes.h>
#ifndef __KERNEL__
#include <inttypes.h>
@@
-12,7
+12,7
@@
struct mptp_dest {
uint32_t addr;
struct mptp_dest {
uint32_t addr;
- uint
8
_t port;
+ uint
16
_t port;
};
struct sockaddr_mptp {
};
struct sockaddr_mptp {
@@
-22,8
+22,8
@@
struct sockaddr_mptp {
#ifdef __KERNEL__
struct mptphdr {
#ifdef __KERNEL__
struct mptphdr {
- uint
8
_t src;
- uint
8
_t dst;
+ uint
16
_t src;
+ uint
16
_t dst;
__be16 len;
};
#endif
__be16 len;
};
#endif