162 lines
5.0 KiB
Mathematica
162 lines
5.0 KiB
Mathematica
/* 02comp_ipnet_rohc.cdf - ROHC configuration file */
|
|
|
|
/*
|
|
* Copyright (c) 2008 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute or otherwise make use of this software
|
|
* may be licensed only pursuant to the terms of an applicable Wind River
|
|
* license agreement. No license to Wind River intellectual property rights
|
|
* is granted herein. All rights not licensed by Wind River are reserved
|
|
* by Wind River.
|
|
*/
|
|
|
|
/*
|
|
modification history
|
|
--------------------
|
|
01e,22feb10,ggz Add TCP/IP profile components
|
|
01d,18dec09,ggz Add ESP/IP, UDP/IP profile components
|
|
01c,16apr08,tlu Add F_MAX_PERIOD and F_MAX_TIME configuration parameters
|
|
01b,27feb08,tlu Add profile components
|
|
01a,21feb08,tlu Created.
|
|
*/
|
|
|
|
#ifdef _WRS_CONFIG_COMPONENT_IPROHC
|
|
|
|
Component INCLUDE_IPROHC {
|
|
NAME ROHC
|
|
SYNOPSIS Robust Header Compression
|
|
MODULES iprohc.o
|
|
CONFIGLETTES iprohc_config.c
|
|
CFG_PARAMS ROHC_INTERFACES \
|
|
ROHC_INTERFACE_PROFILES \
|
|
ROHC_MAX_CID \
|
|
ROHC_LARGE_CID \
|
|
ROHC_FEEDBACK_FOR_DEFINED \
|
|
ROHC_FEEDBACK_FOR \
|
|
ROHC_F_MAX_PERIOD \
|
|
ROHC_F_MAX_TIME
|
|
}
|
|
|
|
Component INCLUDE_IPROHC_CMD {
|
|
NAME ROHC commands
|
|
SYNOPSIS IPCOM shell commands for robust header compression
|
|
MODULES iprohc_cmd_rohc.o
|
|
REQUIRES INCLUDE_IPCOM_SHELL_CMD INCLUDE_IPROHC
|
|
}
|
|
|
|
Component INCLUDE_IPROHC_PROFILE_IP {
|
|
NAME ROHC IP Compression Profile
|
|
SYNOPSIS ROHC IP Compression Profile component
|
|
MODULES iprohc_ip.o
|
|
REQUIRES INCLUDE_IPROHC
|
|
}
|
|
|
|
Component INCLUDE_IPROHC_PROFILE_UNCOMPRESSED {
|
|
NAME ROHC Uncompressed Profile
|
|
SYNOPSIS ROHC Uncompressed Profile component
|
|
MODULES iprohc_uncompressed.o
|
|
REQUIRES INCLUDE_IPROHC
|
|
}
|
|
|
|
Component INCLUDE_IPROHC_PROFILE_ESP_IP {
|
|
NAME ROHC ESP/IP Profile
|
|
SYNOPSIS ROHC ESP/IP Profile component
|
|
MODULES iprohc_esp_ip.o
|
|
REQUIRES INCLUDE_IPROHC
|
|
}
|
|
|
|
Component INCLUDE_IPROHC_PROFILE_UDP_IP {
|
|
NAME ROHC UDP/IP Profile
|
|
SYNOPSIS ROHC UDP/IP Profile component
|
|
MODULES iprohc_udp_ip.o
|
|
REQUIRES INCLUDE_IPROHC
|
|
}
|
|
|
|
Component INCLUDE_IPROHC_PROFILE_TCP_IP {
|
|
NAME ROHC TCP/IP Profile
|
|
SYNOPSIS ROHC TCP/IP Profile component
|
|
MODULES iprohc_tcp_ip.o
|
|
REQUIRES INCLUDE_IPROHC
|
|
}
|
|
|
|
/******************** Configuration Parameters *****************************/
|
|
|
|
Parameter ROHC_INTERFACES {
|
|
NAME Interface List
|
|
SYNOPSIS List of interfaces on which the ROHC compresses and \
|
|
decompresses the packets. e.g., "fei,1,fei,2"
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter ROHC_INTERFACE_PROFILES {
|
|
NAME Interface Profile List
|
|
SYNOPSIS List of supported interface-profiles on which ROHC compresses \
|
|
and decompresses the packets. The format is a \
|
|
semicolon-separated list of interface-profile list, e.g., \
|
|
"fei1,0;fei2,4", where means the interface fei1 supports \
|
|
the profile 0 (uncompressed profile), and the interface fei2 \
|
|
supports the profile 4 (IP profile).
|
|
TYPE char *
|
|
DEFAULT ""
|
|
}
|
|
|
|
Parameter ROHC_MAX_CID {
|
|
NAME Maximum Context Identifier
|
|
SYNOPSIS A nonnegative integer, the highest context identifier \
|
|
number to be used by the compressor. Refer to RFC 3095, \
|
|
section 5.1.1.
|
|
TYPE char *
|
|
DEFAULT "15"
|
|
}
|
|
|
|
Parameter ROHC_LARGE_CID {
|
|
NAME Used Context Identifier Representation
|
|
SYNOPSIS Specifies what CID representation is used. If set to "0", \
|
|
the short CID representation (0 byte or 1 prefix byte, \
|
|
covering CID 0 to 15) is used; if set to "1", the embedded \
|
|
CID representation (1 or 2 embedded CID bytes, covering \
|
|
CID 0 to 16383) is used. Refer to RFC 3095, section 5.1.1.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter ROHC_FEEDBACK_FOR_DEFINED {
|
|
NAME FEEDBACK_FOR Parameter Defined
|
|
SYNOPSIS Control whetherFEEDBACK_FOR parameter is defined. If set \
|
|
to "1", the FEEDBACK_FOR parameter is defined. If set \
|
|
to "0", the FEEDBACK_FOR parameter is not defined.
|
|
TYPE char *
|
|
DEFAULT "0"
|
|
}
|
|
|
|
Parameter ROHC_FEEDBACK_FOR {
|
|
NAME Feedback Channel
|
|
SYNOPSIS Specifies which channel any feedback refers to. \
|
|
Refer to RFC 3095, section 5.1.1.
|
|
TYPE char *
|
|
DEFAULT "5"
|
|
}
|
|
|
|
Parameter ROHC_F_MAX_PERIOD {
|
|
NAME Maximum number of consecutive compressed headers
|
|
SYNOPSIS Specifies the largest number of compressed headers that \
|
|
may be sent without sending a full header. The valid range \
|
|
is [1, 65535]. The default value is 256. \
|
|
Refer to RFC 2507, section 14.
|
|
TYPE char *
|
|
DEFAULT "256"
|
|
}
|
|
|
|
Parameter ROHC_F_MAX_TIME {
|
|
NAME Maximum time period of consecutive compressed headers
|
|
SYNOPSIS Specifies the maximum time period in seconds that compressed \
|
|
headers may be sent without sending a full header. The valid \
|
|
range is [1, 255]. The default value is 60. \
|
|
Refer to RFC 2507, section 14.
|
|
TYPE char *
|
|
DEFAULT "60"
|
|
}
|
|
|
|
#endif
|