DNET WTCP Stack Selection API
1.0 References[1] Software Architecture Document, Version 1.1 Revision 1.4, LiMo Foundation, 11 September 2007
2.0 OverviewThis API is for selecting between TCP/WTCP stacks in a dual stack system (if supported).3.0 Industry StandardIETF RFC 3481, "TCP over Second (2.5G) and Third (3G) Generation Wireless Networks", http://www.ietf.org/rfc/rfc3481.txt4.0 External API Documentshttp://manpages.courier-mta.org/htmlman2/getsockopt.2.html5.0 Plug-in Extension Point InterfaceNone6.0 Other InterfacesNone7.0 Other NotesThe API for selecting the stack is the standard Linux kernel setsockopt API with the LiMo defined optionSO_WTCP. int setsockopt(int s , int level , int optname , const void * optval , socklen_t optlen ); SO_WTCP Valid optvals are: optval = 0 for standard TCP optval = 1 for WTCP
Errors: If an implementation does not support WTCP at all,
If a LiMo platform does not support WTCP stack selection, which is a vendor choice, then this API will return
The #gcc .... -Ikernel_source_top/include ....
SO_WTCP directly with -D compile option. #gcc .... -DSO_WTCP=40 ....
Generated on Mon Mar 31 01:01:00 2008 by
1.5.4
|