All of lore.kernel.org
 help / color / mirror / Atom feed
* iproute2 and libnl3?
@ 2013-09-23 18:17 Arvid Brodin
  0 siblings, 0 replies; 2+ messages in thread
From: Arvid Brodin @ 2013-09-23 18:17 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev@vger.kernel.org

Hi Stephen (and others),

I'm trying to move the functionality from a small user space tool I wrote for 
listening to HSR Netlink messages into iproute2. The tool uses generic netlink 
through libnl3. 

It seems iproute2 uses libnl-1 though:

iphsr.c:325:6: warning: 'struct nl_sock' declared inside parameter list
iphsr.c:334:30: error: 'NL_AUTO_PORT' undeclared (first use in this function)
iphsr.c:341:2: warning: implicit declaration of function 'nl_send_auto'
iphsr.c:417:2: warning: implicit declaration of function 'genl_ctrl_resolve_grp'
iphsr.c:424:2: warning: implicit declaration of function 'nl_socket_add_memberships'
iphsr.c:455:2: warning: implicit declaration of function 'nl_socket_alloc'
iphsr.c:463:2: warning: implicit declaration of function 'nl_socket_disable_seq_check'

Are there alternatives to the above functionality in libnl-1, or do I need to 
implement it myself (copy them from the libnl3 code perhaps)?


-- 
Arvid Brodin | Consultant (Linux)
XDIN AB | Knarrarnäsgatan 7 | SE-164 40 Kista | Sweden | xdin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <1902752B0C92F943AB7EA9EE13E2DEEC1272C74D80@HQ1-EXCH02.corp.brocade.com>]

end of thread, other threads:[~2013-09-23 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-23 18:17 iproute2 and libnl3? Arvid Brodin
     [not found] <1902752B0C92F943AB7EA9EE13E2DEEC1272C74D80@HQ1-EXCH02.corp.brocade.com>
2013-09-23 19:19 ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.