cmpt_get_addrcid man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

cmpt_get_ifcid(3)					     cmpt_get_ifcid(3)

       cmpt_get_ifcid(),  cmpt_get_addrcid() - get the compartment IDs associ‐
       ated with a network interfaces


	      ifname	Pointer to network interface name string.

	      family	Address family of the ipaddress specified.  Currently,
			the  AF_INET  and  AF_INET6  address families are sup‐

	      addr	Points to a buffer holding an IPv4 address if the fam‐
			ily argument is AF_INET or an IPv6 address if the fam‐
			ily 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

			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.

       The function returns the	 compartment  ID  associated  with  a  network

       The function returns the compartment ID of the tuple as set by a previ‐
       ous invocation of the command.

       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.

       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 map‐

	      Specified mask or family is invalid.

       These functions are a part of the library.

       compartments(4), compartments(5), privileges(5).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net