The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ipportframe.h File Reference

Describes interfaces to Address Frame (IpPortFrame) C-Class. More...

#include <projectcommon.h>
#include <frame.h>
#include <netaddr.h>
Include dependency graph for ipportframe.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _IpPortFrame
 
typedef struct _IpPortFrame IpPortFrame
 This is our IpPortFrame class object - used for holding NetAddr class network addresses with non-zero port numbers It has some different member functions implementations than its base Frame class - mainly for validating packet contents. More...
 
WINEXPORT IpPortFrameipportframe_netaddr_new (guint16 frame_type, NetAddr *)
 Construct and initialize an IpPortFrame class from a IP NetAddr class. More...
 
WINEXPORT IpPortFrameipportframe_ipv4_new (guint16 frame_type, guint16 port, gconstpointer addrbuf)
 Construct and initialize an IPv4 IpPortFrame class. More...
 
WINEXPORT IpPortFrameipportframe_ipv6_new (guint16 frame_type, guint16 port, gconstpointer addrbuf)
 Construct and initialize an IPv6 IpPortFrame class. More...
 
WINEXPORT Frameipportframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend)
 Given marshalled packet data corresponding to an IpPortFrame (address), return the corresponding Frame class In other words, un-marshall the data... More...
 

Detailed Description

Describes interfaces to Address Frame (IpPortFrame) C-Class.

AddrFrames are Frames that contain some type of network address. The types of addresses we support are defined by the IETF/IANA Address type assignments.

See Also
IANA Address Family Numbers

This file is part of the Assimilation Project.

Author
Copyright © 2011, 2012 - Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh
The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/

Definition in file ipportframe.h.