projects
/
swifty.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace swift with mptp everywhere in the kernel module.
[swifty.git]
/
src
/
kernel
/
swift.h
diff --git
a/src/kernel/swift.h
b/src/kernel/swift.h
index
ab974c9
..
59c5b17
100644
(file)
--- a/
src/kernel/swift.h
+++ b/
src/kernel/swift.h
@@
-1,27
+1,27
@@
-#ifndef _
SWIFT
_H
-#define _
SWIFT
_H
+#ifndef _
MPTP
_H
+#define _
MPTP
_H
-#define IPPROTO_
SWIFT
137
+#define IPPROTO_
MPTP
137
-#define MIN_
SWIFT
_PORT 1
-#define MAX_
SWIFT
_PORT 256
+#define MIN_
MPTP
_PORT 1
+#define MAX_
MPTP
_PORT 256
#ifndef __KERNEL__
#include <inttypes.h>
#endif
#ifndef __KERNEL__
#include <inttypes.h>
#endif
-struct
swift
_dest {
+struct
mptp
_dest {
uint32_t addr;
uint8_t port;
};
uint32_t addr;
uint8_t port;
};
-struct sockaddr_
swift
{
+struct sockaddr_
mptp
{
int count;
int count;
- struct
swift
_dest dests[0];
+ struct
mptp
_dest dests[0];
};
#ifdef __KERNEL__
};
#ifdef __KERNEL__
-struct
swift
hdr {
+struct
mptp
hdr {
uint8_t src;
uint8_t dst;
__be16 len;
uint8_t src;
uint8_t dst;
__be16 len;