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

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

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

Go to the source code of this file.

Data Structures

struct  _AddrFrame
 This is our AddrFrame class object - used for holding NetAddr class network addresses. More...
 

Typedefs

typedef struct _AddrFrame AddrFrame
 

Functions

WINEXPORT AddrFrameaddrframe_new (guint16 frame_type, gsize framesize)
 Construct a new AddrFrame class - allowing for "derived" frame types... More...
 
WINEXPORT AddrFrameaddrframe_ipv4_new (guint16 frame_type, gconstpointer addr)
 Construct and initialize an IPv4 AddrFrame class. More...
 
WINEXPORT AddrFrameaddrframe_ipv6_new (guint16 frame_type, gconstpointer addr)
 Construct and initialize an IPv6 AddrFrame class. More...
 
WINEXPORT AddrFrameaddrframe_mac48_new (guint16 frame_type, gconstpointer addr)
 Construct and initialize a 48-bit MAC address AddrFrame class. More...
 
WINEXPORT AddrFrameaddrframe_mac64_new (guint16 frame_type, gconstpointer addr)
 Construct and initialize a 64-bit MAC address AddrFrame class. More...
 
WINEXPORT Frameaddrframe_tlvconstructor (gconstpointer tlvstart, gconstpointer pktend, gpointer *, gpointer *)
 Given marshalled packet data corresponding to an AddrFrame (address), return the corresponding Frame class In other words, un-marshall the data... More...
 

Detailed Description

Describes interfaces to Address Frame (AddrFrame) 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 addrframe.h.

Typedef Documentation

typedef struct _AddrFrame AddrFrame

Definition at line 31 of file addrframe.h.