找回密码
 骑士注册

QQ登录

微博登录

搜索
❏ 站外平台:

tag 标签:

相关手册

  • netlink - Netlink macros

    #include <asm/types.h>
           #include <linux/netlink.h>
    
           int NLMSG_ALIGN(size_t len);
           int NLMSG_LENGTH(size_t len);
    <linux/netlink.h> defines several standard macros to access or create a
           netlink datagram.  They are similar in spirit to the macros defined  in
           cmsg(3)  for  auxiliary  data.  The buffer passed to and from a netlink
           socket should only be accessed using these macros.
    
  • netlink - Communication between kernel and userspace (AF_NETLINK)

    #include <asm/types.h>
           #include <sys/socket.h>
           #include <linux/netlink.h>
    
           netlink_socket = socket(AF_NETLINK, socket_type, netlink_family);
    Netlink  is  used  to transfer information between kernel and userspace
           processes.  It consists  of  a  standard  sockets-based  interface  for
           userspace processes and an internal kernel API for kernel modules.  The
           internal kernel interface is not documented in this manual page.  There
           is  also  an  obsolete netlink interface via netlink character devices;

相关文章

  • DDNS 的工作原理及其在 Linux 上的实现

    简介:DDNS (Dynamic DNS) 扩展了 DNS 将客户端 IP 与其域名进行静态映射的功能,它可以将同一域名实时地解析为不同的动态 IP,而不需要额外的人工干预。这在客户端 IP 地址不断发生变化的情况下,尤其是在无线网络 ...

    2013-06-08 09:04     

返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。