hpux man page for cmpt_get_ifcid

Query: cmpt_get_ifcid

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

cmpt_get_ifcid(3)					     Library Functions Manual						 cmpt_get_ifcid(3)

NAME
cmpt_get_ifcid(), cmpt_get_addrcid() - get the compartment IDs associated with a network interfaces
SYNOPSIS
Parameters ifname Pointer to network interface name string. family Address family of the ipaddress specified. Currently, the AF_INET and AF_INET6 address families are supported. addr Points to a buffer holding an IPv4 address if the family argument is AF_INET or an IPv6 address if the family is AF_INET6. The address should be in numeric format in the network byte order. Numeric format is the binary value that goes into a socket address structure. The binary value is the hex representation of the IPv4/IPv6 address. This binary value resides in the structure for IPv4 address and in the structure for IPv6 address. (See inet(3N) for more details.) mask Network mask in the CIDR representation.
DESCRIPTION
The function returns the compartment ID associated with a network interface. The function returns the compartment ID of the tuple as set by a previous invocation of the command.
RETURN VALUE
The functions and return the following values: Successful completion. n is the compartment of the interface or the tuple. Function failed. may be set to indicate the error.
ERRORS
If any of the following conditions occur, and fails and sets Compartmentalization feature is not supported. The process does not have the appropriate privilege. See privileges(5). Specified interface or the address tuple has no compartment mapping. Specified mask or family is invalid.
DEPENDENCIES
These functions are a part of the library.
SEE ALSO
compartments(4), compartments(5), privileges(5). cmpt_get_ifcid(3)
Related Man Pages
inet_ntop(3) - redhat
ares_inet_ntop(3) - centos
cmpt_get(3) - hpux
cmpt_get_peer_cid(3) - hpux
cmpt_get_ifcid(3) - hpux
Similar Topics in the Unix Linux Community
Hiding an IP address
3 nics, 2 with same network/mask
Address family not supported by protocol family
Connecting To An External Network Using A logical (PACKAGE) IP Address
Obtaining IP address from both my network interface