Added in API level 31

StructCmsghdr


public final class StructCmsghdr
extends Object

java.lang.Object
   ↳ android.system.StructCmsghdr


Corresponds to C's struct cmsghdr.

Summary

Fields

public final byte[] cmsg_data

message data sent/received

public final int cmsg_level

Originating protocol

public final int cmsg_type

Protocol-specific type

Public constructors

StructCmsghdr(int cmsg_level, int cmsg_type, byte[] value)
StructCmsghdr(int cmsg_level, int cmsg_type, short value)

Inherited methods

Fields

cmsg_data

Added in API level 31
public final byte[] cmsg_data

message data sent/received

cmsg_level

Added in API level 31
public final int cmsg_level

Originating protocol

cmsg_type

Added in API level 31
public final int cmsg_type

Protocol-specific type

Public constructors

StructCmsghdr

Added in API level 31
public StructCmsghdr (int cmsg_level, 
                int cmsg_type, 
                byte[] value)

Parameters
cmsg_level int

cmsg_type int

value byte: This value cannot be null.

StructCmsghdr

Added in API level 31
public StructCmsghdr (int cmsg_level, 
                int cmsg_type, 
                short value)

Parameters
cmsg_level int

cmsg_type int

value short