Structs§
- dl_
priority_ t - Defines priority for DLPI traffic sent.
- dlpi_
recvinfo_ t - Information from received DLPI traffic.
- dlpi_
sendinfo_ t - Information used to send DLPI traffic.
Enums§
- dlpi_
addrtype_ t - Indicates if an address is unicast or not.
- dlpi_
handle_ t - Opaque handle to a DLPI link instance.
Constants§
- DLPI_
DEVIPNET - Open IP DLPI link under /dev/ipnet.
- DLPI_
DEVONLY - Open DLPI link under /dev only.
- DLPI_
EBADLINK - bad DLPI link
- DLPI_
EBADMSG - bad DLPI message
- DLPI_
EINHANDLE - invalid DLPI handle
- DLPI_
EINVAL - invalid argument
- DLPI_
EIPNETINFONOTSUP - DLPI_IPNETINFO not supported
- DLPI_
ELINKNAMEINVAL - invalid DLPI linkname
- DLPI_
EMODENOTSUP - unsupported DLPI connection mode
- DLPI_
ENOLINK - DLPI link does not exist
- DLPI_
ENOTEIDINVAL - invalid DLPI notification id
- DLPI_
ENOTEINVAL - invalid DLPI notification type
- DLPI_
ENOTENOTSUP - DLPI notif. not supported by link
- DLPI_
ENOTSTYL E2 - DLPI style-2 node reports style-1
- DLPI_
ERAWNOTSUP - DLPI raw mode not supported
- DLPI_
ETIMEDOUT - DLPI operation timed out
- DLPI_
EUNAVAILSAP - unavailable DLPI SAP
- DLPI_
EVERNOTSUP - unsupported DLPI Version
- DLPI_
EXCL - DLPI Flags Exclusive open.
- DLPI_
FAILURE - DLPI operation failed
- DLPI_
IPNETINFO - Request ipnetinfo headers.
- DLPI_
NATIVE - Open DLPI link in native mode.
- DLPI_
NOATTACH - Do not attach PPA.
- DLPI_
PASSIVE - Open DLPI link in passive mode.
- DLPI_
PHYSADDR_ MAX - Maximum size for a physical address.
- DLPI_
RAW - Open DLPI link in raw mode.
- DLPI_
SERIAL - Synchronous serial line interface.
- DLPI_
SUCCESS - DLPI operation succeeded
- DL_
PROMISC_ MULTI - Promiscuous mode for multicast
- DL_
PROMISC_ PHYS - Promiscuous mode at the phys level
- DL_
PROMISC_ RX_ ONLY - Promiscuous mode for rx only
- DL_
PROMISC_ SAP - Promiscuous mode at the sap level
- DL_
SYSERR - Indicates a non-DLPI specific system error in a DLPI call.
Functions§
- dlpi_
bind ⚠ - Attempt to bind the provided DLPI handle to the service access point
sap
. - dlpi_
close ⚠ - Closes the open DLPI link instance associated with the provided handle.
- dlpi_
disabmulti ⚠ - Disable reception of messages destined to the multicast address pointed to by addrp.
- dlpi_
enabmulti ⚠ - Enable reception of messages destined to the multicast address pointed to by addrp.
- dlpi_fd⚠
- Returns a file descriptor that can be used to directly operate on the open DLPI stream associated with the provided handle.
- dlpi_
open ⚠ - Creates an instance of the DLPI version 2 link named by linnkname.
- dlpi_
promiscoff ⚠ - Disable promiscuous mode for the specified handle. See DL_PROMISC_* for levels.
- dlpi_
promiscon ⚠ - Enable promiscuous mode for the specified handle. See DL_PROMISC_* for levels.
- dlpi_
recv ⚠ - Attempt to receive data messages over the DLIP link instance associated with the provided DLPI handle.
- dlpi_
send ⚠ - Attempt to send the contets of msgbuf over the DLPI link instance associated with the provided DLPI handle.
- null_
dlpi_ handle - A convenience method for creating a null dlpi handle to be later initialized
by
dlpi_open
.