| SIOCGIFADDR || Get interface address for protocol family. |
| SIOCGIFDSTADDR |
| || Get point to point address for protocol family and interface. |
| SIOCGIFBRDADDR |
| || Get broadcast address for protocol family and interface. |
| SIOCSIFCAP || Attempt to set the enabled capabilities field for the interface to the value of the ifr_reqcap field of the |
.Vt ifreq structure. Note that, depending on the particular interface features, some capabilities may appear hard-coded to enabled, or toggling a capability may affect the status of other ones. The supported capabilities field is read-only, and the ifr_curcap field is unused by this call.
| SIOCGIFCAP || Get the interface capabilities fields. The values for supported and enabled capabilities will be returned in the ifr_reqcap and ifr_curcap fields of the |
.Vt ifreq structure, respectively.
| SIOCSIFFLAGS || Set interface flags field. If the interface is marked down, any processes currently routing packets through the interface are notified; some interfaces may be reset so that incoming packets are no longer received. When marked up again, the interface is reinitialized. |
| SIOCGIFFLAGS || Get interface flags. |
| SIOCSIFMETRIC || Set interface routing metric. The metric is used only by user-level routers. |
| SIOCGIFMETRIC || Get interface metric. |
| SIOCIFCREATE || Attempt to create the specified interface. If the interface name is given without a unit number the system will attempt to create a new interface with an arbitrary unit number. On successful return the ifr_name field will contain the new interface name. |
| SIOCIFDESTROY || Attempt to destroy the specified interface. |
| SIOCAIFADDR || An interface may have more than one address associated with it in some protocols. This request provides a means to add additional addresses (or modify characteristics of the primary address if the default address for the address family is specified). Rather than making separate calls to set destination or broadcast addresses, or network masks (now an integral feature of multiple protocols) a separate structure is used to specify all three facets simultaneously (see below). One would use a slightly tailored version of this struct specific to each family (replacing each sockaddr by one of the family-specific type). Where the sockaddr itself is larger than the default size, one needs to modify the ioctl identifier itself to include the total size, as described in ioctl. |
| SIOCDIFADDR || This requests deletes the specified address from the list associated with an interface. It also uses the |
.Vt ifaliasreq structure to allow for the possibility of protocols allowing multiple masks or destination addresses, and also adopts the convention that specification of the default address means to delete the first address for the interface belonging to the address family in which the original socket was opened.
| SIOCGIFCONF || Get interface configuration list. This request takes an |
.Vt ifconf structure (see below) as a value-result parameter. The ifc_len field should be initially set to the size of the buffer pointed to by ifc_buf. On return it will contain the length, in bytes, of the configuration list.
| SIOCIFGCLONERS |
| || Get list of clonable interfaces. This request takes an |
.Vt if_clonereq structure (see below) as a value-result parameter. The ifcr_count field should be set to the number of IFNAMSIZ sized strings that can be fit in the buffer pointed to by ifcr_buffer. On return, ifcr_total will be set to the number of clonable interfaces and the buffer pointed to by ifcr_buffer will be filled with the names of clonable interfaces aligned on IFNAMSIZ boundaries.