Packages
libnl-3.0
Netlink
Socket
Socket
add_membership
add_memberships
addr_alloc_cache
close
connect
disable_auto_ack
disable_msg_peek
disable_seq_check
drop_membership
drop_memberships
enable_auto_ack
enable_msg_peek
get_cb
get_fd
get_peer_port
link_alloc_cache
modify_cb
recv
recv_pktinfo
recvmsgs
recvmsgs_default
set_buffer_size
set_cb
set_nonblocking
set_passcred
set_peer_port
use_seq
wait_for_ack
Socket
Object Hierarchy:
Netlink.Socket
Netlink.Socket
Netlink.Socket
Description:
[
Compact
]
[
CCode
( cname =
"struct nl_sock"
, cprefix =
"nl_socket_"
, free_function =
"nl_socket_free"
) ]
public
class
Socket
Namespace:
Netlink
Package:
libnl-3.0
Content:
Creation methods:
public
Socket
()
Methods:
public
int
add_membership
(
int
group)
public
int
add_memberships
(
int
group, ...)
public
int
addr_alloc_cache
(
out
AddrCache
c)
public
int
close
()
public
int
connect
(
int
family)
public
void
disable_auto_ack
()
public
void
disable_msg_peek
()
public
void
disable_seq_check
()
public
int
drop_membership
(
int
group)
public
int
drop_memberships
(
int
group, ...)
public
void
enable_auto_ack
()
public
void
enable_msg_peek
()
public
Callback
get_cb
()
public
int
get_fd
()
public
uint32
get_peer_port
()
public
int
link_alloc_cache
(
int
family,
out
LinkCache
c)
public
int
modify_cb
(
CallbackType
type,
CallbackKind
kind,
MessageCallbackFunc
callback)
public
int
recv
(
out
SockAddrNl
addr,
out
char
[] buf,
out
ucred
cred)
public
int
recv_pktinfo
(
bool
on)
public
int
recvmsgs
(
Callback
cb)
public
int
recvmsgs_default
()
public
int
set_buffer_size
(
int
rxbuf,
int
txbuf)
public
void
set_cb
(
Callback
cb)
public
int
set_nonblocking
()
public
int
set_passcred
(
bool
on)
public
void
set_peer_port
(
uint32
port)
public
uint
use_seq
()
public
int
wait_for_ack
()