ddn.lib.pcap.link.sll
Linux cooked sockets (SLL) pseudo-headers.
License
BSD-3-Clause
Copyright
© 2026 DDN (D Developer Network) Members
Types 2
structsll_header
Fields
u_short sll_pkttypeu_short sll_hatypeu_short sll_halenu_char[SLL_ADDRLEN] sll_addru_short sll_protocolstructsll2_header
Fields
u_short sll2_protocolu_short sll2_reserved_mbzuint sll2_if_indexu_short sll2_hatypeu_char sll2_pkttypeu_char sll2_halenu_char[SLL_ADDRLEN] sll2_addrFunctions 1
fn
bool validateSll2Header(const ref sll2_header hdr) pure nothrow @nogcValidates an SLL2 header, checking that reserved fields are zero.Variables 3
enumvar
SLL_HDR_LEN = 16enumvar
SLL_ADDRLEN = 8enumvar
SLL2_HDR_LEN = 20