ACE_Netlink_Addr Class Reference
Defines a C++ wrapper facade for the netlink sockets.
More...
#include <Netlink_Addr.h>
List of all members.
Detailed Description
Defines a C++ wrapper facade for the netlink sockets.
Constructor & Destructor Documentation
ACE_Netlink_Addr::ACE_Netlink_Addr |
( |
void |
|
) |
[inline] |
ACE_Netlink_Addr::ACE_Netlink_Addr |
( |
const sockaddr_nl * |
un, |
|
|
int |
len | |
|
) |
| | |
ACE_Netlink_Addr::~ACE_Netlink_Addr |
( |
void |
|
) |
[inline] |
Member Function Documentation
int ACE_Netlink_Addr::determine_type |
( |
void |
|
) |
const [inline, private] |
- Returns:
- family type AF_NETLINK
void * ACE_Netlink_Addr::get_addr |
( |
void |
|
) |
const [inline, virtual] |
- Returns:
- addr pointer
- See also:
- nl_
Reimplemented from ACE_Addr.
int ACE_Netlink_Addr::get_addr_size |
( |
void |
|
) |
const [inline] |
- Returns:
- nl_ member
- See also:
- nl_ size
int ACE_Netlink_Addr::get_gid |
( |
void |
|
) |
const |
- Returns:
- the group id
- See also:
- nl_
int ACE_Netlink_Addr::get_pid |
( |
void |
|
) |
const |
void ACE_Netlink_Addr::reset |
( |
void |
|
) |
[inline, private] |
set nl_
- See also:
- nl_ to zero and sets address family to default value
int ACE_Netlink_Addr::set |
( |
const sockaddr_nl * |
un, |
|
|
int |
len | |
|
) |
| | |
set nl_ to nl_
- See also:
- nl_
void ACE_Netlink_Addr::set |
( |
int |
pid, |
|
|
int |
gid | |
|
) |
| | [inline] |
sets the pid and groups fields of member nl_
- See also:
- nl_
- Parameters:
-
| naddr | sets the nl_ member |
- See also:
- nl_
void ACE_Netlink_Addr::set_addr |
( |
void * |
addr, |
|
|
int |
len = sizeof(sockaddr_nl) | |
|
) |
| | [inline, virtual] |
Set a pointer to the address
Reimplemented from ACE_Addr.
Member Data Documentation
Declare the dynamic allocation hooks.
Reimplemented from ACE_Addr.
The documentation for this class was generated from the following files: