From df0be17202663b34ec294a617112a55d412d639d Mon Sep 17 00:00:00 2001 From: Stelian Ionescu Date: Sun, 5 May 2013 03:17:04 +0200 Subject: [PATCH] Grovel sockaddr_nl --- src/sockets/grovel.lisp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/sockets/grovel.lisp b/src/sockets/grovel.lisp index 6369d40..e39e71d 100644 --- a/src/sockets/grovel.lisp +++ b/src/sockets/grovel.lisp @@ -33,6 +33,7 @@ (include "sys/socket.h" "sys/un.h" "netdb.h" "errno.h" "net/if.h" "netinet/in.h" "netinet/tcp.h" "netinet/ip.h" #+linux "linux/errqueue.h" #+linux "linux/icmp.h" + #+linux "linux/netlink.h" "arpa/inet.h") (in-package :iolib.sockets) @@ -439,3 +440,12 @@ (cstruct ifreq "struct ifreq" (name "ifr_name" :type :char :count :auto)) + +;;;; from linux/netlink.h + +#+linux +(cstruct sockaddr-nl "struct sockaddr_nl" + "A Netlink socket address." + (family "nl_family" :type sa-family-t) + (port "nl_pid" :type :uint32) + (groups "nl_groups" :type :uint32)) -- 2.11.4.GIT