net-spider-rpl-0.4.1.1: NetSpider data model and utility for RPL networks

MaintainerToshio Ito <debug.ito@gmail.com>
Safe HaskellNone
LanguageHaskell2010

NetSpider.RPL.DAO

Contents

Description

 
Synopsis

Types

type FoundNodeDAO = FoundNode FindingID DAONode DAOLink Source #

FoundNode for a network described by DAOs.

type SnapshotGraphDAO = SnapshotGraph FindingID DAONode DAOLink Source #

SnapshotGraph for a network described by DAOs. This is what you get by daoDefQuery.

data DAONode Source #

Node attributes about DAO.

Constructors

DAONode 

Fields

  • daoRouteNum :: Maybe Word

    Number of DAO routes (downward routes) in the routing table of the node. Exact meaning of the "number of routes" depends on implementation.

    In Non-Storing mode, daoRouteNum for non-root nodes are supposed to be Nothing, because they don't have a downward routing table.

Instances
Eq DAONode Source # 
Instance details

Defined in NetSpider.RPL.DAO

Methods

(==) :: DAONode -> DAONode -> Bool #

(/=) :: DAONode -> DAONode -> Bool #

Ord DAONode Source # 
Instance details

Defined in NetSpider.RPL.DAO

Show DAONode Source # 
Instance details

Defined in NetSpider.RPL.DAO

Generic DAONode Source # 
Instance details

Defined in NetSpider.RPL.DAO

Associated Types

type Rep DAONode :: Type -> Type #

Methods

from :: DAONode -> Rep DAONode x #

to :: Rep DAONode x -> DAONode #

ToJSON DAONode Source #

Since: 0.4.1.0

Instance details

Defined in NetSpider.RPL.DAO

FromJSON DAONode Source #

Since: 0.4.1.0

Instance details

Defined in NetSpider.RPL.DAO

NodeAttributes DAONode Source # 
Instance details

Defined in NetSpider.RPL.DAO

ToAttributes DAONode Source # 
Instance details

Defined in NetSpider.RPL.DAO

type Rep DAONode Source # 
Instance details

Defined in NetSpider.RPL.DAO

type Rep DAONode = D1 (MetaData "DAONode" "NetSpider.RPL.DAO" "net-spider-rpl-0.4.1.1-1uWm0YIyeGfGjTXkxTa11f" False) (C1 (MetaCons "DAONode" PrefixI True) (S1 (MetaSel (Just "daoRouteNum") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 (Maybe Word))))

data DAOLink Source #

Link attributes about DAO.

In Storing mode of RPL, a DAOLink represents a link between the sender and the receiver of a DAO. In non-storing mode, it's a link between the sender of the DAO and the node specified in the "parent address" field of the Transit Information option contained in the DAO.

Constructors

DAOLink 

Fields

  • pathLifetimeSec :: Word

    Remaining lifetime of this link in seconds.

    Lifetime is advertised in Transit Information Option in DAO, and managed in the routing table.

Query

daoDefQuery Source #

Default Query for DAO nodes.