Searched refs:etherHeaderLen (Results 1 – 4 of 4) sorted by relevance
71 final int etherHeaderLen = Struct.getSize(EthernetHeader.class); in toByteBuffer() local76 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + ipv6HeaderLen in toByteBuffer()
92 final int etherHeaderLen = Struct.getSize(EthernetHeader.class); in buildIcmpv6Packet() local93 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + payload.limit()); in buildIcmpv6Packet()
792 final int etherHeaderLen = hasEther ? Struct.getSize(EthernetHeader.class) : 0;796 final ByteBuffer packet = ByteBuffer.allocate(etherHeaderLen + ipv4HeaderLen825 final int ipv4HeaderOffset = hasEther ? etherHeaderLen : 0;