1FCOE_DeletePort(3FCOEF)CoE Port Management Library FunctionFsCOE_DeletePort(3FCOE)
2
3
4
6 FCOE_DeletePort - delete an FCoE port
7
9 cc [ flag... ] file... -lfcoe [ library... ]
10 #include <libfcoe.h>
11
12 int FCOE_DeletePort(const char *macLinkName);
13
14
16 macLinkName The name of the MAC link from which to delete the FCoE
17 port.
18
19
21 The FCOE_DeletePort() function deletes an FCoE port from the specified
22 MAC link.
23
25 The following values are returned:
26
27 FCOE_STATUS_ERROR_BUSY
28
29 The fcoe driver is busy and cannot complete the operation.
30
31
32 FCOE_STATUS_ERROR_MAC_LEN
33
34 The MAC link name exceeds the maximum length.
35
36
37 FCOE_STATUS_MAC_NOT_FOUND
38
39 The FCoE port was not found on the specified MAC link.
40
41
42 FCOE_STATUS_OK
43
44 The API call was successful.
45
46
48 See attributes(5) for descriptions of the following attributes:
49
50
51
52
53 ┌─────────────────────────────┬─────────────────────────────┐
54 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
55 ├─────────────────────────────┼─────────────────────────────┤
56 │Interface Stability │Committed │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │MT-Level │Safe │
59 └─────────────────────────────┴─────────────────────────────┘
60
62 libfcoe(3LIB), attributes(5)
63
64
65
66SunOS 5.11 1 Apr 2009 FCOE_DeletePort(3FCOE)