close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Version 3 and Version 4 of Proto/cModules/c0HostProtocolStack/c0Configuration


Ignore:
Timestamp:
Jul 12, 2016, 1:45:15 PM (8 years ago)
Author:
wontoniii
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proto/cModules/c0HostProtocolStack/c0Configuration

    v3 v4  
    1515#
    1616# Required.
    17 DEFAULT_GUID=
     17# DEFAULT_GUID = 1
    1818
    1919# Define one or more interfaces to be used for network communication.
    20 # These are either a 3-tuple 'auto' or a 5-tuple 'manual'
     20# These are either a 3-tuple 'auto' or a 5-tuple 'manual' or a 5-tuple 'active'
    2121# configuration:
    22 # INTERFACE=<type>,<name>,auto
    23 # INTERFACE=<type>,<name>,manual,<ip_addr>,<mac_addr>
     22# INTERFACE=<type>,<name>,auto,<headers_used>
     23# INTERFACE=<type>,<name>,manual,<headers_used>,<access_router_ip_addr>,<access_router_mac_addr>
     24# INTERFACE=<type>,<name>,active,<headers_used>,<access_router_ip_addr>,<getay_mac_addr>
    2425# where
    25 #  type is one of 'wifi', 'wimax', or 'ether'
     26#  type is one of 'wifi', 'wimax', or 'ether' ('lte' will be supported in the future)
    2627#  name is the system name of interface, e.g., wlan0 or eth0
    27 #  'auto' and 'manual' keywords distinguish whether network attachment
    28 #    (i.e., first hop router, or another host in p2p mode) is dynamically
    29 #    chosen by stack based on advertisements or is statically fixed for
     28#  headers_used is the level of overlay employed by the stack, e.g. ethernet only,
     29#    ethernet+ip, ethernet+ip+udp or use of standard sockets. Valid values are:
     30#    'ethernet', 'ip', 'upd', 'udp_socket'
     31#  'auto', 'manual' and 'active' keywords distinguish whether network attachment
     32#    (i.e., first hop router, another host in p2p mode, or first hop router traversing another network)
     33#    is dynamically chosen by stack based on advertisements or is statically fixed for
    3034#    the interface.
    3135#  ip_addr is the IP4 address of first hop in fixed attachment
     
    3640#
    3741# Must specify at least one
    38 INTERFACE=
     42
     43INTERFACE = wifi,eth0,auto,ip
     44
     45# UDP port used by the access router the stack will attach to when overlaying over UDP
     46# Example:
     47# UDP_ACCESSROUTER_PORT = 4567
    3948
    4049# Pick policy for deciding what interface an outbound packet should be
     
    4756#  'etheronly' - just having the Ethernet interfaces(s)
    4857# Example:
    49 # POLICY=bestperformance
    50 #
    51 # Required.
    52 POLICY=
    53 
    54 # Performance configuration - mostly for tuning
     58# POLICY = bestperformance
    5559
    5660# Buffer size (in MB) for communication sockets used internal by
     
    5963# Positive integer based on system resources.
    6064# Example:
    61 # BUFFER_SIZE=10
    62 BUFFER_SIZE=10
     65# BUFFER_SIZE = 10
    6366
    64 # Ack timeout (in usec) for the Hop data-link transport layer.
    65 # Example: 800ms timeout
    66 # CSYN_TO=800000
    67 CSYN_TO=800000
     67# Scan period to check interfaces status. In seconds
     68# Example:
     69# IF_SCAN_PERIOD = 5
    6870
     71# Timeout for for keep alive association with access router between probes in auto mode. In microseconds
     72# Example:
     73# PROBE_TO = 10000000
     74
     75# Timeout for association requests to access router in active mode. In microseconds
     76# Example:
     77# ASSOC_TO = 2000000
     78
     79# Keep alive cycle for association requests to access router in active mode. In microseconds
     80# Example:
     81# ASSOC_KA = 60000000
     82
     83# Timeout for guid association to router. In microseconds
     84# Example:
     85# GUID_ASSOC_TO = 5000000
     86
     87# CSYN TO for retransmitting a CSYN if no ACK is received. In microseconds
     88# Example:
     89# CSYN_TO = 100000
     90
     91# Socket TO for checking if a socket connection with stack layer is still alive. In milliseconds
     92# Example:
     93# SOCKET_TO = 10000
     94
     95# Common MTU size accross interfaces. In Bytes
     96# Example:
     97# MTU_SIZE = 1500
     98
     99# Max chunk size for the system. In number of packets
     100# Example:
     101# MAX_CHUNK_SIZE 750
     102
     103# THIS OPTIONS WILL SOON BE DEPRECATED!!!
     104# API parameters in Open call will be used instead
    69105# whether to use a transport protocol with end-to-end
    70106# reliability semantics.