randolf.ca
1.00
Randolf Richardson's C++ classes
|
Structure of a Link-Level sockaddr. More...
#include <sockaddr_dl.h>
Public Attributes | |
u_char | sdl_alen |
Link level address length. | |
char | sdl_data [46] |
Minimum work area, can be larger; contains both if name and ll address. | |
u_char | sdl_family |
Always AF_LINK. | |
u_short | sdl_index |
If != 0, system given index for interface. | |
u_char | sdl_len |
Total length of sockaddr structure. | |
u_char | sdl_nlen |
Interface name length (no trailing 0 required). | |
u_char | sdl_slen |
Link layer selector length. | |
u_char | sdl_type |
Interface type. | |
Structure of a Link-Level sockaddr.
sys/socket.h
on older systems, but isn't always included on some newer systems, so it's provided here for completeness and to ensure a successful compilation. u_char sockaddr_dl::sdl_len |
Total length of sockaddr structure.
u_char sockaddr_dl::sdl_family |
Always AF_LINK.
u_short sockaddr_dl::sdl_index |
If != 0, system given index for interface.
u_char sockaddr_dl::sdl_type |
Interface type.
u_char sockaddr_dl::sdl_nlen |
Interface name length (no trailing 0 required).
u_char sockaddr_dl::sdl_alen |
Link level address length.
u_char sockaddr_dl::sdl_slen |
Link layer selector length.
char sockaddr_dl::sdl_data[46] |
Minimum work area, can be larger; contains both if name and ll address.