SwapTCPHeader Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
SwapTCPHeader Function
C
static void SwapTCPHeader(
    TCP_HEADER* header
);
Description

This function swaps the endian-ness of a given TCP header for comparison.

Preconditions

None

Parameters
Parameters 
Description 
header 
The TCP header that is to be swapped 
Returns

None

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.