projects
/
meshlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd77344
)
Remove some unused types and #defines.
author
Guus Sliepen
<guus@meshlink.io>
Fri, 18 Apr 2014 18:59:53 +0000
(20:59 +0200)
committer
Guus Sliepen
<guus@meshlink.io>
Fri, 18 Apr 2014 18:59:53 +0000
(20:59 +0200)
src/net.h
patch
|
blob
|
history
diff --git
a/src/net.h
b/src/net.h
index c49f0bd4ba08cd7451d78dae097b40acf9899957..3454a96dc19bc459d7fd50edb3fbecac8e606c5b 100644
(file)
--- a/
src/net.h
+++ b/
src/net.h
@@
-38,18
+38,6
@@
#define MAXSOCKETS 8 /* Probably overkill... */
-typedef struct mac_t {
- uint8_t x[6];
-} mac_t;
-
-typedef struct ipv4_t {
- uint8_t x[4];
-} ipv4_t;
-
-typedef struct ipv6_t {
- uint16_t x[8];
-} ipv6_t;
-
typedef short length_t;
#define AF_UNKNOWN 255
@@
-88,7
+76,6
@@
typedef struct vpn_packet_t {
/* Packet types when using SPTPS */
#define PKT_COMPRESSED 1
-#define PKT_MAC 2
#define PKT_PROBE 4
typedef enum packet_type_t {