Chapter 3.  Software

Table of Contents

Introduction
Security Considerations
Platform Options
GNU/Linux
GNU/Linux with Libpcap
GNU/Linux with BPF
Mac OS X™ with BPF
Windows XP™ with Winpcap
GNU Makefiles on Linux
Stand-alone Compiling on GNU/Linux
Cross-Compiling on GNU/Linux
Compilation with Visual Studio .NET 2003
Microsoft Solution Files
Header Files
Compiler Constants
Platform Constants
Ethernet Constants
LibPcap, WinPcap and BPF
Structure Packing
Endian-ness
Packet Basics
Frame Encoding
API Message Handling

Introduction

The Atheros Powerline Toolkit is designed to support hardware engineers and embedded software developers working on GNU/Linux and Linux-like systems. Debian GNU/Linux is the platform of choice because it is open source and has extensive cross-platform support. Atheros has compiled and executed versions of this toolkit on several other platforms but does not support this version on those platforms. Atheros has made every effort to enable cross-platform compatibility by conforming to POSIX standards and following good programming practice but there are limitations on any such effort.