Solaris Bandwidth Manager 1.6 Developer Guide

Arguments

The function ba_encode_ifname() is passed the following arguments:

interface

Pointer to a character string that contains the name of the managed interface. For example, le0, hme0.

direction

An integer indicating the interfaces direction- one of BA_DIR_INCOMING or BA_DIR_OUTGOING.

ifname

Pointer to the encoded interface name. Be sure to allocate sufficient memory.