cmsghdr Struct Reference

#include <stdapis/sys/socket.h>

struct cmsghdr
Public Attributes
socklen_t cmsg_len
intcmsg_level
intcmsg_type

Detailed Description

Header for ancillary data objects in msg_control buffer. Used for additional information with/about a datagram not expressible by flags. The format is a sequence of message elements headed by cmsghdr structures.

Member Attribute Documentation

cmsg_len

socklen_t cmsg_len

data byte count, including hdr

cmsg_level

intcmsg_level

originating protocol

cmsg_type

intcmsg_type

protocol-specific type