X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet.h;h=3454a96dc19bc459d7fd50edb3fbecac8e606c5b;hb=0b4e2a30286d4c87b5364b6df9a31e0e7b3cbde8;hp=c49f0bd4ba08cd7451d78dae097b40acf9899957;hpb=cd773445d9117289614743597840591105f01dab;p=meshlink diff --git a/src/net.h b/src/net.h index c49f0bd4..3454a96d 100644 --- 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 {