Help needed !

Home Forums Discussions Support Portal Help needed !

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 12 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4945

    charon_
    Participant

    In SerpentFly response to the topic ” if i have two or more adapter connect to Internet” (http://www.ntkernel.com/forum/viewtopic.php?t=235&highlight=network+connections) he gave a code example for supervising multiple network adapters. In the source code i fount a value for whitch the compiler has no link( unknow identifier):
    pIpHeader = (iphdr*)(PacketBuffer.m_IBuffer + ETHER_HEADER_LENGTH);

    —- ETHER_HEADER_LENGTH, where be found ?

    #5812

    Vadim Smirnov
    Moderator

    It’s the length of ethernet (802.3) packet header which is 14 bytes.

    #define ETHER_HEADER_LENGTH 14

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.