netlink-1.0.0.4: Netlink communication for Haskell

Maintainerongy
Stabilitytesting
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

System.Linux.Netlink.GeNetlink

Description

GeNetlink is used as multiplexer since netlink only supports 32 families.

This module provides the basic datatypes used by genetlink.

Synopsis

Documentation

data GenlHeader Source #

The static data used by genetlink

For more information about genetlink look into usrincludelinuxgenetlink.h

Constructors

GenlHeader 

data GenlData a Source #

A wrapper around GenlHeader

This may be used by actual implementations to handle additional static data placed after the genl header by the protocol they implement.

Constructors

GenlData 

Instances

Show NL80211Packet # 
Eq a => Eq (GenlData a) Source # 

Methods

(==) :: GenlData a -> GenlData a -> Bool #

(/=) :: GenlData a -> GenlData a -> Bool #

Show a => Show (GenlPacket a) Source #

Show Instance for GenlPacket

Show a => Show (GenlData a) Source #

Show instance of GenlData

Methods

showsPrec :: Int -> GenlData a -> ShowS #

show :: GenlData a -> String #

showList :: [GenlData a] -> ShowS #

Show (GenlData NoData) Source #

Show instance of GenlData for NoData

Convertable a => Convertable (GenlData a) Source #

The Convertable instance for GenlData

Methods

getGet :: MessageType -> Get (GenlData a) Source #

getPut :: GenlData a -> Put Source #

type GenlPacket a = Packet (GenlData a) Source #

Type declaration for genetlink packets

makeSocket :: IO NetlinkSocket Source #

makeSocketGeneric preapplied for genetlink family