Jump to main content
Index
Advanced search
  1. Home
  2. QNX Software Development Platform

    QNX SDP is a cross-compiling and debugging environment, including an IDE and command-line tools, for building binary images and programs for target boards running QNX Neutrino 7.1.

  3. OS Components & Operations

  4. Core Networking Stack User's Guide

    This guide introduces you to the QNX Neutrino Core Networking stack and its manager, io-pkt.

  5. Network Drivers

  6. Writing a new driver

  • QNX Momentics IDE User's Guide

    This User's Guide describes version 7.1 of the Integrated Development Environment (IDE) that's part of the QNX Momentics tool suite.

  • QNX Software Development Platform

    QNX SDP is a cross-compiling and debugging environment, including an IDE and command-line tools, for building binary images and programs for target boards running QNX Neutrino 7.1.

    • Quickstart Guide

    • OS Components & Operations

      • Adaptive Partitioning User's Guide

      • Boot Optimization Guide

        The Boot Optimization Guide describes techniques you can use to reduce the time from your board's initial power on until you have a fully functional QNX system running on the board.

      • Building Embedded Systems

        The Building Embedded Systems guide is intended for developers who are developing or building BSPs for QNX Neutrino RTOS embedded systems.

      • Core Networking Stack User's Guide

        This guide introduces you to the QNX Neutrino Core Networking stack and its manager, io-pkt.

        • Overview

        • Packet Filtering

        • IP Security and Hardware Encryption

          The io-pkt-v4-hc and io-pkt-v6-hc stack variants include full, built-in support for IPsec.

        • Wi-Fi Configuration

        • Transparent Distributed Processing

        • Network Drivers

          • Loading and unloading a driver

            You can load drivers into the stack from the command line.

          • Troubleshooting a driver

          • Problems with shared interrupts

            Having different devices sharing a hardware interrupt is kind of a neat idea, but unless you really need to do it—because you've run out of hardware interrupt lines—it generally doesn't help you much. In fact, it can cause you trouble. For example, if your driver doesn't work (e.g., no received packets), check to see if it's sharing an interrupt with another device, and if so, reconfigure your board so it doesn't.

          • Writing a new driver

          • Debugging a driver using gdb

            If you want to use gdb to debug a driver, you first have to make sure that your source is compiled with debugging information included.

          • Dumping 802.11 debugging information

            The stack's 802.11 layer can dump debugging information.

          • Jumbo packets and hardware checksumming

            Jumbo packets are packets that carry more payload than the normal 1500 bytes. Even the definition of a jumbo packet is unclear; different people use different lengths.

          • Padding Ethernet packets

          • Transmit Segmentation Offload (TSO)

            Transmit Segmentation Offload (TSO) is a capability provided by some modern NIC cards.

        • Utilities, Managers, and Configuration Files

          The utilities, drivers, configuration files, and so on listed below are associated with io-pkt.

        • Writing Network Drivers for io-pkt

          This appendix is intended to help you understand and write network drivers for io-pkt.

        • A Hardware-Independent Sample Driver: sam.c

        • Additional information

        • Glossary

      • Customizing a BSP

        While QNX provides Board Support Packages (BSPs) for many common platforms and their individual variants, in some cases, you need a BSP for a board that QNX does not provide. If this is the case, you can modify a QNX BSP or develop your own.

      • Device Publishers Developer's Guide
      • High Availability Framework Developer's Guide
      • High-Performance Networking Stack (io-sock) User's Guide

        This guide contains instructions for implementing and using the QNX Neutrino High-Performance Networking Stack and its manager, io-sock.

      • Instant Device Activation
      • Migrating to QNX SDP 7.1
      • PCI Server User's Guide

      • Persistent Publish/Subscribe Developer's Guide

      • Platform-independent Publish/Subscribe Developer's Guide

        This guide is intended for application developers who want to use the Platform-independent Publish Subscribe (PiPS) framework to exchange information with other applications. First, the overall PiPS design and data-exchange model are explained. Then, tutorials on using PiPS are given. These tutorials cover key tasks such as selecting a publish-subscribe provider to use and writing plugins that read and write custom data types.

      • QDB Developer's Guide
      • QNX Helpers Developer's Guide

        These libraries provide QNX helpers, including helpers that assist with logging, string conversion, and number and type sizes.

      • SMMUMAN User's Guide

      • System Analysis Toolkit (SAT) User's Guide
      • System Architecture

        The System Architecture guide accompanies the QNX Neutrino RTOS and is intended for both application developers and end-users.

      • Technotes
      • User's Guide

        The QNX Neutrino User's Guide is intended for all users of a QNX Neutrino RTOS system, from system administrators to end users.

    • Audio & Graphics API

    • Multimedia

    • Networking Middleware

    • Programming

    • Sensor Framework

    • System Security Guide

      The QNX System Security Guide is intended for both system integrators who are responsible for the security of a QNX Neutrino RTOS system and developers who want to create a QNX Neutrino resource manager free from vulnerabilities.

    • Utilities & Libraries

  • QNX Hypervisor

    The QNX Hypervisor allows you to run multiple OSs on a target system so you can separate critical and non-critical functions, support a wide variety of applications, and reduce hardware costs.

  • QNX Software in the Cloud

    QNX Software in the Cloud enables developers to use the QNX software in Amazon Web Services (AWS) and Microsoft Azure (Azure).

  • QNX Advanced Virtualization Frameworks User's Guide

    This User's Guide is aimed at all systems integrators and developers who want to design and build embedded systems using the QNX Advanced Virtualization Frameworks.

  • Typographical Conventions, Support, and Licensing

    This section describes the typographical conventions used throughout the documentation and explains how to obtain technical support.

Writing a new driver

If you're interested in writing a new network driver, see these appendixes in this guide:

  • Writing Network Drivers for io-pkt
  • A Hardware-Independent Sample Driver: sam.c
  • Additional Information
Page updated: March 12, 2026