[Bug 3727] New: getifaddrs: Missing struct net_device_stats in linux/netdevice.h

bugzilla at busybox.net bugzilla at busybox.net
Mon May 16 14:20:59 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3727

           Summary: getifaddrs: Missing struct net_device_stats in
                    linux/netdevice.h
           Product: uClibc
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at uclibc.org
        ReportedBy: fireboxled at gmail.com
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


<The real source for this is the man pages for glibc getifaddrs>

When using the uClibc library function getifaddrs, a link list of structures is
returned. When walking that list, records with address family AF_PACKET can
have associated device statistics returned in a net_device_stats structure, and
that data is pointed to with the generic void *ifa_data. glibc defines this
struct in <linux/netdevice.h>. This struct definition is missing from uClibc
<linux/netdevice.h>. This causes any uClibc client to getifaddrs to have to
include their own struct definition.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list