| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:42:25 GMT | ||||||||||||||||
| |||||||||||||||||
| Manpage of DLPI-IOCTLDescription: Manual PageKeywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpciDLPI-IOCTLSection: OpenSS7 XNS Networking Devices (4)Updated: 2008-10-31 Index Return to Main Contents NAMEdlpi_ioctl - common IO controls for DLPI devicesSYNOPSIS#include <sys/stropts.h>
DESCRIPTION
IOCTLSThe following are Solaris®-specific input-output controls[2]: DLIOCRAWThe DLIOCRAW input-output control is used by some DLPI applications, such as snoop(8). The DLIOCRAW command puts the stream into a raw mode, which, upon receive, causes the full MAC-level packet to be sent upstream in an M_DATA(9) message instead of it being transformed into the DL_UNITDATA_IND(7) form normally used for reporting incoming packets in accordance with the DLPI specification[1]. Packet SAP filtering is still performed on Streams that are in raw mode. If a Stream user wants to receive all incoming packets it must also select the appropriate promiscuous modes using the DL_PROMISCON_REQ(7) DLPI primitive. After successfully selecting raw mode, the application is also allowed to send fully formatted packets to the driver as M_DATA(9) messages for transmission. DLIOCRAW takes no arguments. Once enabled, the Stream remains in this mode until closed. DLIOCNATIVESome DLPI providers may be able to represent their link layer using more than on link-layer format. In this case, the default link-layer format may minimize impact to applications, but may not allow truly "native" link-layer headers to be sent or received. DLS users who wish to use the native link-layer format can use DLIOCNATIVE to transition the Stream. DLIOCNATIVE takes no arguments and returns the DLPI MAC type associated with the new link-layer format upon success. Once enabled, the Stream remains in this mode until closed. Note that DLIOCNATIVE does not enable transition between dissimilar DLPI MAC types and (aside from the link-layer format), the new DLPI MAC type is guaranteed to be semantically identical. In particular, the SAP space and addressing format are not affected and the effect of DLIOCNATIVE is only visible when in raw mode, though any subsequent DL_INFO_REQ(7) requests generate response with dl_mac_type set to the native DLPI type. DLIOCMARGININFOThe DLIOCMARGININFO input-output control takes a 32-bit integer (pointer) argument that is used for each DLS provider to return the margin size it supports. For example, if an Ethernet DLS provider cannot handle packets whose payload section are greater than 1522 bytes, and the maximum SDU size it reports through DL_INFO_ACK(7) is 1500, then the margin size of this DLPI provider is 22 (1522-1500), and the maximum packet size it can handle is 1536 (1522+14, where 14 is the Ethernet header). DLIOCHDRINFODLIOCHDRINFO is used by DLS users that wish to cache link-layer headers for "fast path" operation. The IP module uses a fast-path mechanism that caches link-layer headers for use with each on-link neighbor. Link-layer interfaces can use the DL_NOTIFY_IND(7) pirmitive with the DL_NOTE_FASTPATH_FLUSH mechanism to notify the IP module that the link-layer header has been modified, and for IP to flush its cached headers. This should cause the module to request new headers form the DLS provider using the DLIOCHDRINFO ioctl. Note that this input-output control cannot be issued by user-space DLS users. The argument to the input-output control is a pointer to an extent that, on call, contains a dl_unitdata_req_t(7) structure with the dl_primitive field properly set to DL_UNITDATA_REQ, and the link-layer address of the neighbor contained in the dl_dest_addr_offset and dl_dest_addr_length fields. On successful returns, the DLS provider will return in the memory extent the link-layer header including MAC addresses, LSAP, and any additional headers such as SNAP or VLAN headers necessary to address packets to the destination. The upper layer can use this information for sending messages in raw mode to the upper layer peer. Issuing this input-output control also places the DLS provider into fast-path mode, if it was not already in fast-path mode. IOCTLSThe following are HP-UX® input-output controls[3]: DL_IOC_DRIVER_OPTIONSThis input-output control negotiates options between the DLS Provider and DLS User. The input-output contorl is valid for in-kernel STREAMS DLPI users only. The DLS user sets bits to enquire about features. The DLS provider compares the DLS user's request with the DLS provider's capabilties and clears bits corresponding to features requested by the DLS user that the DLS provider cannot support. The DLS user that negotiates the and header template feature must also reqeust link event notifications using the DL_HP_NOTIFY_EVENT_REQ(7) primitive. The agument to the input-output control is a pointer to a driver_ops_t structure, defined as follows:
typedef struct {
uint32_t driver_ops_type;
uint32_t driver_ops_type_1;
uint32_t driver_ops_type_2;
} driver_ops_t;
where the members are defined as follows:
ERRORS Any of the following errors can be returned by this specific intput-output control in addition to those errors listed in the ioctl(2s) and streamio(7) manual pages:
DL_IOC_HDR_INFOThis input-output control permits the transportlayer (like TCP/IP) to request a link layer header template from the DLS provider on a per-stream basis, thus avoiding the construction of a header every time that a packet is issued for transmission. This input-output control is valid only for the in-kernel STREAMS DLS users only. The header template enables the transport layer to add the link layer header before sending the packet to the DLS provider. After receiving the DL_IOC_HDR_INFO input-output control, the DLS provider constructs the MAC plus LLC header template with out-of-packet (OOP) data template. The OOP data template can be used by the transport layer to communicate additiona information to the DLS provider. In response to the input-output control, the DLS provider returns the OOP header and link layer header template. The mblk_t(9) containing the MAC plus LLC and OOP header is the last (third) mblk_t(9) in the M_IOCACK(9) response. The DLS user must renegotiate the feature and request the DLS provider to build a new header template when it receives a DL_HP_LINK_UP_IND(7) from the DLS provider, because the link state changes may be due to the driver feature changes. These changes can impact the header template. Note: The Stream must register fr receiving link event notifications in addition, the stream must rebuild the MAC plus LLC link layer header templates on every DL_HP_LINK_UP_IND(7) event. The M_IOCTL message block that contains DL_IOCL_HDR_INFO is followed by one M_PROTO message block containing the following structure:
typedef struct {
t_uscalar_t dl_primitive;
t_uscalar_t dl_dest_addr_length;
t_uscalar_t dl_dest_addr_offset;
t_uscalar_t dl_priority;
} dl_unitdata_req_t;
which contains the following members:
This input-output control is valid in the DL_IDLE or DL_UNBOUND state. ERRORS If the driver does not support fastpath, [EINVAL] is returned. If the dl_unitdata_req_t(7) structure in the b_cont of the M_IOCTL(9) message block is invalid (e.g. b_cont is NULL), [EINVAL] is returned. DL_HP_SET_DRV_PARAM_IOCTLThis input-output control is a DLPI defined transparent input-output contorl. It can be use to set the driver parameters. This input-output control provides an interface to set Speed, Duplex mode, auto-negotiation/auto-sense, and Maximum Transfer Unit (MTU). Also, it may be used to reset the MTU of an interface. Notes:
This input-output control can only be issued in the DL_IDLE or DL_UNBOUND state. DL_HP_GET_DRV_PARAM_IOCTLThis input-output control is a DLPI defined transparent input-output control that retrieves the driver parameters. Note:
The input-output control argument is a pointer to a structure, formatted as follows:
typedef struct dl_hp_get_drv_param_ioctl {
uint32_t dl_request;
uint32_t dl_speed;
uint32_t dl_duplex;
uint32_t dl_autoneg;
uint32_t dl_mtu;
uint64_t dl_value1;
uint64_t dl_value2;
uint64_t dl_value3;
uint32_t dl_reserved1[2];
uint32_t dl_reserved2[2];
} dl_hp_get_drv_param_ioctl_t;
where the structure contains the following members:
This input-output control may be invoked while the DLS provider is in the DL_IDLE or DL_UNBOUND states. DLPI_SET_NOLOOPBACKThis input-ouput control contains an M_IOCTL(9) message block with ioc_cmd set to DLPI_SET_NOLOOPBACK, and the b_cont of the M_IOCTL(9) message block contains a uint32_t value. When the uint32_t value is set to one (1), the DLS provider does not loopback multicast and broadcast packets for this stream. When the uint32_t value is set to zero (0), the input-output control enables loopback multicast and broadcast packets. IOCTLSThese are additional Solaris®-specific input-output controls for use with LLC2 and LAPB. These input-output controls are specific to X.25 LAPB[4] and LLC2[5]. These input-output controls are documented in the Solstic X.25 9.2 Developer's Guide[6]. L_SETTUNE, L_GETTUNEThe L_SETTUNE input-output control sets the tunable parameters for a PPA, and is appliable both to LAPB and LLC2. The L_GETTUNE input-output control retrieves the tunable parameters for a PPA, and is appliable both to LAPB and LLC2. Both the L_SETTUNE and L_GETTUNE input-output controls take an argument that is a pointer to a input-output control tuning structure. For LLC2 PPAs, the llc2_tnioc structure is used. For LAPB PPAs, the lapb_tnioc structure is used. These structures are detailed as follows: The llc2_tnioc tuning table structure for LLC2 is formatted as follows:
struct llc2_tnioc {
uchar lli_type;
uchar lli_spare[3];
uint lli_ppa;
llc2tune_t llc2_tune;
};
The members of the llc2_tnioc structure are as follows:
The ll2tune tuning value structure for LLC2 is formatted as follows:
typedef struct llc2tune {
ushort N2;
ushort T1;
ushort Tpf;
ushort Trej;
ushort Tbusy;
ushort Tidle;
ushort ack_delay;
ushort notack_max;
ushort tx_window;
ushort tx_probe;
ushort max_I_len;
ushort xid_window;
ushort xid_Ndup;
ushort xid_Tdup;
} llc2tune_t;
The members of the llc2tune structure are as follows:
The lapb_tnioc tunig table structure for LAPB is formatted as follows:
struct lapb_tnioc {
uchar lli_type;
uchar lli_spare[3];
uint lli_ppa;
lapbtune_t lapb_tune;
};
The members of the lapb_tnioc structure are as follows:
The lapb_tune tuning value structure for LAPB is formatted as follows:
typedef struct lapb_tune {
ushort N2;
ushort T1;
ushort Tpf;
ushort Trej;
ushort Tbusy;
ushort Tidle;
ushort ack_delay;
ushort notack_max;
ushort tx_window;
ushort tx_probe;
ushort max_I_len;
ushort llconform;
};
The members of the lapb_tune structure are as follows:
L_GETGSTATSThis input-output control reads the global layer two statistics for the LAPB driver, and is only applicable to LAPB. The input-output control argument is a pointer to a lapb_gstioc structure, formatted as follows:
#define frames_tx 0
#define frames_rx 1
#define sabme_tx 2
#define sabme_rx 3
#define bytes_tx 4
#define bytes_rx 5
#define globstatmax 6
struct lapb_gstioc {
uint8_t lli_type;
uint8_t lli_spare[3];
uint32_t lapbgstats[globstatmax];
};
The lapb_gstioc structure contains the following members:
L_GETSTATSThis input-output control reads the per-link statistics, and is only applicable to LAPB. The input-output control takes an argument that is a pointer to a lapb_stioc structure, formatted as follows:
struct lapb_stioc {
uint8_t lli_type;
uint8_t lli_spare[3];
uint32_t lli_ppa;
lapbstats_t lli_stats;
};
The lapb_stioc structure contains the following members:
The lli_stats member contains a lapb2_stats structure, formatted as follows:
#define lapbstatmax 49
typedef struct lapb2_stats {
uint32_t lapbmonarray[lapbstatmax];
} lapbstats_t;
#define tx_ign 0
#define rx_badlen 1
#define rx_unknown 2
#define t1_exp 3
#define t4_exp 4
#define t4_n2_exp 5
#define RR_rx_cmd 6
#define RR_rx_rsp 7
#define RR_tx_cmd 8
#define RR_tx_rsp 9
#define RR_tx_cmd_p 10
#define RNR_rx_cmd 11
#define RNR_rx_rsp 12
#define RNR_tx_cmd 13
#define RNR_tx_rsp 14
#define RNR_tx_cmd_p 15
#define REJ_rx_cmd 16
#define REJ_rx_rsp 17
#define REJ_tx_cmd 18
#define REJ_tx_rsp 19
#define REJ_tx_cmd_p 20
#define SABME_rx_cmd 21
#define SABME_tx_cmd 22
#define DISC_rx_cmd 23
#define DISC_tx_cmd 24
#define UA_rx_rsp 25
#define UA_tx_rsp 26
#define DM_rx_rsp 27
#define DM_tx_rsp 28
#define I_rx_cmd 29
#define I_tx_cmd 30
#define FRMR_rx_rsp 31
#define FRMR_tx_rsp 32
#define tx_rtr 33
#define rx_bad 34
#define rx_dud 35
#define rx_ign 36
#define I_rx_rsp 37
#define I_tx_rsp 38
#define UI_rx_cmd 39
#define UI_tx_cmd 40
#define XID_rx_cmd 41
#define XID_rx_rsp 42
#define XID_tx_cmd 43
#define XID_tx_rsp 44
#define TEXT_rx_cmd 45
#define TEXT_rx_rsp 46
#define TEXT_tx_cmd 47
#define TEXT_tx_rsp 48
The lapb2_stats structure contains an array with the following elements, each of which contains a count of the associated event:
L_ZEROSTATSThis input-output control zeros the per-link statistics, and is only applicable to LAPB. The argument to the input-output control is a pointer to a ll_hdioc structure, formatted as follows:
struct ll_hdioc {
uint8_t lli_type;
uint8_t lli_spare[3];
uint32_t lli_ppa;
};
The ll_hdioc structure contains the following members:
L_GETPPA, L_SETPPAThe L_SETPPA input-output control sets the PPA information associated with the indexed linked Stream, and is only applicable to LAPB. The L_GETPPA input-output control retrieves the PPA information associated with the indexed linked Stream, and is only applicable to LAPB. These input-output controls are used to initialize (L_SETPPA) and interrogate (L_GETPPA) the configuration of Streams linked beneath the multiplexing driver. Once a Stream has been linked beneath the multiplexing driver using the I_LINK(7) or I_PLINK(7) STREAMS input-output controls, the linked Stream is assigned a default link class, SLP priority, and PPA. If the management program linking the Stream wishes to assign a non-default link class, SLP priority, or PPA, the L_SETPPA input-output control must be issued. The argument to either input-output control is a pointer to a ll_snioc structure, formatted as follows:
struct ll_snioc {
uint8_t lli_type;
uint8_t lli_class;
uint16_t lli_slp_pri;
uint32_t lli_ppa;
uint32_t lli_index;
};
The ll_snioc structure contains the following members:
When this input-ouput control is attempted on a device that is not in an attached state (e.g. DL_UNATTACHED), the input-output control will indicate the error code [ENODEV]. When the PPA specified in a L_SETPPA input-output control is already in use by another device, the input-output control will indicate the error code [EBUSY]. When the index specified in a L_SETPPA input-output control is not asociated with a linked Stream, the input-output control will indicate the error code, [ENODEV]. It may require privilege to set or retrieve the PPA information associated with a Stream other than the one for which the input-output control was issued (that is, the lower multiplex Stream attached to the open upper multiplex Stream). When the caller does not have sufficient priviledge to perform the operation, [EPERM] is returned. W_SETTUNEThis input-output control sets wanmod tunable parameters for a PPA, and is only applicable to specific WAN hardware devices. The argument to the input-output control is a pointer to a wan_tnioc structure formatted as follows:
struct wan_tnioc {
uint8_t w_type;
uint8_t w_spare[3];
uint32_t w_snid;
wantune_t wan_tune;
};
The wan_tnioc structure contains the following members:
The wan_tune member is a table of tuning values. It comprises a wantune structure, formatted as follows:
struct WAN_hddef {
uint16_t WAN_maxframe;
int32_t WAN_baud;
uint16_t WAN_interface;
};
typedef struct wantune {
uint16_t WAN_options;
struct WAN_hddef WAN_hd;
} wantune_t;
IOCTLSThese are DLPI input-output controls from AIX: DL_PKT_FORMATThe DL_PKT_FORMAT input-output control permits the DLS user to control in the format of the link-layer headers included in the control and data portions of requested and indicated DLPI connectionless packets. It is a transparent input-output control and takes a single argument that may contain one of the following values:
DL_ROUTEThe DL_ROUTE input-output control disables the source routing on the current Stream, queries dynamic route discovery for a source route, or statically assigns a source route to this Stream. The input-output control is only valid when the DLS Provider is in the DL_IDLE state. The argument is variable length and this input-output control can only be invoked using the I_STR(7) STREAMS input-output control. The length of the argument is interpreted as follows:
DL_TUNE_LLCProvides a mechanism whereby the DLS user may change tunable default LLC parameters. The argument must point to a llctune_t data structure. The flags field is examined to determine which, if any, parameters should be changed. Each bit in the flags field corresponds to a similarly named field in the llctune_t structure. If the bit is set, the corresponding parameter is valid and set to the value in the llctune_t structure. Only the current Stream is affected, and changes are discarded when the Stream is closed. If the F_LLC_SET flag is set and the user has root authority, the altered parameters are saved as the new default parameters for all new streams. This command returns as its argument an update of the current tunable parameters. To query the tunables, issue the DL_TUNE_LLC with the flags field set to zero. This will alter no parameters and return the current tunable values. DL_ZERO_STATSThe DL_ZERO_STATS input-output control resets the statistics counters to zero. The driver maintains two independent sets of statistics, one for each Stream (local) and another that is the cumulative statistics for all Streams (global). This input-output control command access a simple boolean argument. If the argument is true (non-zero), the global statistics are zeroed; if false (zero), the local statistics are zeroed. This input-output control can be issued as a transparent ioctl. The argument is the boolean flag. DL_SET_REMADDRThe DL_SET_REMADDR allows the DLS user to perform an XID/TEST exchange on an LLC (or point-to-multipoint) connection-oriented Stream while still in the DL_IDLE state. The DLS provider uses both the source (remote) address and the dl_sap from the DL_BIND_REQ(7) and DL_BIND_ACK(7) to determine where to route incoming messages for connection-oriented streams. The remote address is ordinarily specified in the DL_CONNECT_REQ(7) primitive. If the DLS user needs to exchange XID or TEST messages before connecting to the remote station, DL_SET_REMADDR must be used. The argument to this input-output control is the MAC address of the remote station. IOCTLSThese are generic Data Link control (GDLC) input-output controls from AIX[7]. DLC_ENABLE_SAPThis input-output control enables a service access point (SAP). DLC_DISABLE_SAPThis input-output control disables a service access point (SAP). A service access point (SAP) identifies a particular user service that sends and receives a specific class of data. This user service allows different classes of data to be routed separately to their corresponding service handlers. Those DLCs that support multiple concurrent SAPs have addresses knowns as detination SAP and source SAP embedded in thier packet headers. DLCs that can only support a single SAP do no need or use SAP addressing, but still have the concept of enabling the one SAP. In general, SAP is enabled for each DLC on each port. Most SAP address values are defined by IEEE standardized network-management etitites or user-defined values are specified. Some of the common SAP addresses are:
DLC_START_LSThis input-output control starts a link station (LS) on a particular SAP as a initiator or responder. A link station (LS) identifies an attachment between two nodes for a particular SAP pair. This attachment can operate as a connectionless service (datagram) or connection-oriented service (fully sequenced data transfer with error recovery). In general, one LS is started for each remote attachment. DLC_HALT_LSThis input-output control halts a link station (LS) for a particular SAP. DLC_TRACEThis input-output control traces a link station's activity for short or long activities. To trace a link, line data and special events (such as station activation, termination, and timeouts) can be logged in the generic trace facility for each LS. This function helps determine the cause of certain communications attachment problems. The GDLC user can select either short or long entries to be traced. Short entries consist of up to 80 bytes of line data, while long entries allow full packets of data to be traced. Tracing can be activated with an LS is started, or it can be dynamically activated or terminated at any time afterward. DLC_TESTThis input-output control contacts a remote station for a particular local link station. To test an attachment between two stations, instruct an LS to send a test packet from the local station. This packet is echoed back from the remote station if the attachment is operating correctly. Some data links are limited in their support of this function due to protool constraints. Synchronous data link contrl (SDLC), for example, only generates the test packet from the host or primary station. Most other protocols, however, allow test packets to be initiated from either station. DLC_ALTERThis input-output control alters a link station's configuration parameters. DLC_QUERY_SAPThis input-output control queries statistics associated with a particular SAP. Both SAP and LS statistics can be queried by a GDLC user. The statistics for a SAP consist of the current SAP state and information about the device handler. DLC_QUERY_LSThis input-output control queries statistics associated with a particular LS. Both SAP and LS statistics can be queried by a GDLC user. LS statistics consist of the current station states and various reliability, availability, and servicability counters that monitor the activity of the station from the time it is started. DLC_ENTER_LBUSYThis input-output control causes the link station to enter the local busy mode. When an LS operates in a connection-oriented mode, it needs to stop the remote station's sending of information packets for reasons such as resource outgage. Notification can then be sent to the remote station to cause the local ststaion to enter local-busy mode. This is performed with an RNR Supervisory Frame under LAPB[4], LLC2[5], LAPD[8], and LAPF[9]. Only sequence information packets (Information Frames) are halted with local-busy mode. All other types of data (e.g. Unnumbered Information Frames) are unaffected. DLC_EXIT_LBUSYThis input-output control causes the link station to exit the local busy mode. Once resources become available, the local station notifies the remote that it is no longer busy and that information packets can flow again. This is performed with an RR Supervisory Frame under LAPB[4], LLC2[5], LAPD[8], and LAPF[9]. Only sequence information packets (Information Frames) are halted with local-busy mode. All other types of data (e.g. Unnumbered Information Frames) are unaffected. DLC_ENTER_SHOLDThis input-output control enters short hold mode on a particular link station. User the short-hold mode of operation when operating over data networks with the following characteristics:
During short-hold mode, an attachment between two stations is maintained only to transfer data available between the two stations. When no data is sent, the attchment is cleared after a specified time-out period and is only reestablished to trasnfer new data. DLC_EXIT_SHOLDThis input-output control exits short hold mode on a particular link station. DLC_GET_EXCPThis input-output control returns asyncrhonous exception notifications to the application user. Note: This input-output control subroutine operation is not used by the kernel user since all exception conditions are passed to the kenrel user by way of their exception handler. DLC_ADD_GRPThis input-output control adds a group or multicast receive address to a port. DLC_ADD_FUNC_ADDRThis input-output control adds a group or multicast receive functional address to a port. DLC_DEL_FUNC_ADDRThis input-output control removes a group or multicast receive function address from a port. DLC_DEL_GRPThis input-output control removes a group or multicast address from a port. IOCINFOThis input-output control returns a structure that describes the GDLC device manager. IOCTLSThese are DLPI input-output controls from SVR4.2MP and UnixWare 2: DLIOCSMIBAllows a privileged process to initialize the values in the MIB (the DL_mib_t structure). A process cannot use this input-output control to change the ifPhyAddress, the ifDescrLen, or the text of the description fields.DLIOCGENADDRReturns the Ethernet address in network order.DLIOCGLPCFLGReturns the state of the local packet copy flags in the ioc_rval of the iocblk(9) structure. The local copy flag determines if packets looped back by the driver should also be sent to the network. A non-zero value indicates that frames should also be sent to the network after being looped back. The default value of this flag is zero.DLIOCSLPCFLGAllows a privileged process to set the local packet copy flag, causing all packets looped back by the driver to be sent to the network as well.DLIOCGPROMISCReturns the value of the promiscuous flag in the ioc_rval of the iocblk(9) structure. A non-zero value indicates that the Ethernet interface will receive all frames on the network. The default value of this flag is zero.DLIOCSPROMISCAllows a privileged process to toggle the current state of the promiscuous flag. When the flag is set, the driver captures all frames from the network. Processes that are bound to a promiscuous SAP, or to a SAP that matches the type field of the received frame, receive a copy of the frame.DLIOCGETMULTIReturns a list of multicast addresses (if it exists).DLIOCADDMULTIAllows a privileged process to add a new multicast address and enable its reception. A 6-byte buffer pointing to the multicast address must be passed as the parameter.DLIOCDELMULTIAllows a privileged process to delete a multicast address by passing a 6-byte multicast address as the parameter.DLIOCRAWMODEAllows a Token Ring privileged process to identify itself as a raw upstream module. This allows an upstream module to transmit a valid MAC frame using a DL_UNITDATA_REQ(7) or DL_UNITDATA_IND(7) primitive.DLIOCLLC2MODEAllows a privileged process to identify itself as an llc2 upstream module. This allows an upstream module to transmit a valid LLC Type 2 (connection oriented) frame via a DL_UNITDATA_REQ(7) or DL_UNITDATA_IND(7) message.Some additional IOCTLS from the UnixWare Intro(D7dlpi) manual page. DLIOCCSMACDMODESwitch SAP type to RAW.DLIOCDISABLEDisable controller.DLIOCENABLEEnable controller.DLIOCGMIBGet MIB statistics (DL_mib_t).DLIOCRESETReset controller.DLIOCSENADDRSet ethernet address.DLGADDRReturn ethernet (MAC) address.DLGBROADGet broadcast address.DLSLLC2Toggle LLC2 mode (Token-Ring adapters).DLSRAWToggle RAW mode (Token-Ring adapters).IOCTLUnixWare 7 input-output controls: DLPID_REGISTERAn input-output control that the UnixWare dlpid(1M) daemon uses to register with the module before linking it with an MDI driver. It also handles the I_LINK(7), I_PLINK(7), I_UNLINK(7), I_PUNLINK(7), input-output control commands described in streamio(7).The DLPI driver intercepts and responds to the following MACIOC input-output control commands. MACIOC_CLRMCAMACIOC_DIAGMACIOC_GETADDRReturn MAC address.MACIOC_GETIFSTATMACIOC_GETRADDRReturn factory MAC address.MACIOC_GETSTATReturn statistics.MACIOC_LOCALSTATMACIOC_PROMISCEnable promiscuous mode.MACIOC_SETADDRSet MAC address.MACIOC_UNITSELThe DLPI driver passes all other MACIOC input-output control commands to the MDI driver beneath it. Other MACIOC input-output control commands are as follows: MACIOC_CLRSTATClear statistics structure.MACIOC_DELALLMCAStop receiving multicast frames.MACIOC_DELMCAStop receiving MAC frames.MACIOC_GETADDRReturn MAC address.MACIOC_GETMCAReturn active multicast addresses.MACIOC_GETMCSIZReturn multicast address table size.MACIOC_GETRADDRReturn factory MAC address.MACIOC_GETSTATReturn statistics.MACIOC_PROMISCEnable promiscuous mode.MACIOC_SETADDRSet MAC address.MACIOC_SETALLMCADeliver multicast frames.MACIOC_SETMCAReceive MAC frames.MACIOC_SETSTATModify MIB attributes.BUGSThe DLPI input-output controls implementations have no known bugs. SEE ALSOCOMPATIBILITY
CONFORMANCEThis interface conforms to DLPI Revision 2[1]. Solaris® and AIX® documentation. HISTORYThe Data Link Provider Interface first appeared in SVR 4[10]. REFERENCES
TRADEMARKS
Other trademarks are the property of their respective owners. IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
All Rights Reserved.
Index
This document was created by man2html, using the manual pages. Time: 08:01:45 GMT, May 18, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:42:25 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |