summaryrefslogtreecommitdiffstats
path: root/src/net/mcast/McastConstants.h
blob: b4c71a568b7be7ea2ffb0d37c957e2f15427f01f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
# Copyright (c) 2009 - OpenSLX Project, Computer Center University of Freiburg
#
# This program is free software distributed under the GPL version 2.
# See http://openslx.org/COPYING
#
# If you have any feedback please consult http://openslx.org/feedback and
# send your suggestions, praise, or complaints to feedback@openslx.org
#
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# src/net/mcast/McastMagic.h
#    - Specify the magic numbers for the McastFT protocol
# -----------------------------------------------------------------------------
*/

#ifndef MCASTMAGIC_H_
#define MCASTMAGIC_H_

#include <stdint.h>

#define MCASTFT_MAGIC UINT64_C(0x6d60ad83825fb7f9)
#define DEFAULT_MULTICAST_INTERFACE ""
#define DEFAULT_MULTICAST_ADDRESS "239.255.220.207"
#define DEFAULT_MULTICAST_SPORT 6964
#define DEFAULT_MULTICAST_DPORT 6965
#define DEFAULT_MULTICAST_USEUDP true
#define DEFAULT_MULTICAST_UDPPORT 6966
#define DEFAULT_MULTICAST_RATE (100*1024)
#define DEFAULT_MULTICAST_WSIZ 3000
#define DEFAULT_MULTICAST_MTU 1400
#define DEFAULT_MULTICAST_APDU 1200
#define DEFAULT_MULTICAST_CHUNK 1024

#endif /* MCASTMAGIC_H_ */