sdkcreationmw/sdkruntimes/wsock/src/WinsockInterface.cpp
changeset 1 ac50fd48361b
parent 0 b26acd06ea60
child 4 b3b823debf08
equal deleted inserted replaced
0:b26acd06ea60 1:ac50fd48361b
     1 /*
     1 /*
     2 * Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #define TRACE_PREFIX "WSOCK: Interface: "
    19 #define TRACE_PREFIX "WSOCK: Interface: "
    20 #include "wsock.h"
    20 #include "wsock.h"
    21 #include "WinsockInterface.h"
    21 #include "WinsockInterface.h"
    22 #include "WinsockProtocolFamily.h"
    22 #include "WinsockProtocolFamily.h"
       
    23 #include <es_enum_partner.h>
    23 
    24 
    24 const TInt KWinsockSubConnectionId = 1;
    25 const TInt KWinsockSubConnectionId = 1;
    25 const TConnectionType EWinsockConnectionType = EConnectionEthernet;
    26 const TConnectionType EWinsockConnectionType = EConnectionEthernet;
    26 #define super CNifIfLink 
    27 #define super CNifIfLink 
    27 
    28 
   248                                 TAny* aSource)
   249                                 TAny* aSource)
   249 {
   250 {
   250     TRACE3("Control(%d,%08X), %d bytes",aLevel,aName,aOption.Length());
   251     TRACE3("Control(%d,%08X), %d bytes",aLevel,aName,aOption.Length());
   251 	switch (aLevel)
   252 	switch (aLevel)
   252     {
   253     {
   253     case KCOLInterface:
   254   /*  case KCOLInterface:
   254         switch (aName)
   255         switch (aName)
   255         {
   256         {
   256         case KCOGetNifEMIPtr:
   257         case KCOGetNifEMIPtr:
   257         default:
   258         default:
   258             {
   259             {
   271                 }
   272                 }
   272             }
   273             }
   273             break;
   274             break;
   274         }
   275         }
   275         break;
   276         break;
   276 
   277 */
   277     case KCOLAgent:
   278     case KCOLAgent:
   278         switch (aName)
   279         switch (aName)
   279         {
   280         {
   280         case KCOGetAgentEMIPtr:
   281         case KCOGetAgentEMIPtr:
   281             {
   282             {