Solaris Bandwidth Manager 1.5 Developing Guide

Statistics API Error Messages

Table 4-2 lists the errors returned by the C statistics API.

Table 4-2 Error Codes for ba_errno

No. 

Error Code 

Error Message 

1

BA_NOTRUNNING

daemon not running 

2

BA_INVIFACE

interface not found 

3

BA_NOROOT

no root class 

4

BA_NODEFAULT

no default class 

5

BA_INVCLHNDL

invalid class handle 

6

BA_INVPARTHDL

invalid parent handle 

7

BA_INVPREVHDL

invalid previous handle 

8

BA_INVFLTNAME

invalid filter name 

9

BA_NAMETOOLONG

name greater than the value ofBA_NAMES_LEN

10

BA_ROOTEXIST

root class already exists 

11

BA_DEFEXIST

default class already exists 

12

BA_CLEXIST

class already exists 

13

BA_NOCLLEFT

CBQ_MAX_CLASSES reached

14

BA_ISPARENT

class to remove has children 

15

BA_PRIOTOOBIG

priority greater than the value of RM_MAXPRIO

16

BA_NOTDAEMON

operation reserved to the daemon 

17

BA_INVCLNAME

invalid class name 

18

BA_PERM

not superuser 

19

BA_INVEVTMASK

event mask is out of bounds 

20

BA_SYSERR

OS error: check errno 

21

BA_INVSIGNO

invalid signal number 

22

BA_INVAL

invalid API argument 

23

BA_NOMEM

no memory left 

24

BA_CONFIGURING

configuration change 

25

BA_INVIFHDL

invalid interface handle 

26

BA_FLEXIST

filter already exists 

27

BA_INVFLHDL

invalid filter handle 

28

BA_INVITHDL

invalid filter item handle 

29

BA_FLINUSE

filter is still referenced