lkml.org 
[lkml]   [2009]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/7] compat: add struct compat_ifreq etc to compat.h
From
Date
On Fri, 2009-11-06 at 19:09 +0100, Arnd Bergmann wrote:
> +struct compat_ifreq {
> +#define IFHWADDRLEN 6
> +#define IFNAMSIZ 16
> + union {
> + char ifrn_name[IFNAMSIZ]; /* if name,
> e.g. "en0" */
> + } ifr_ifrn;
> + union {
> + struct sockaddr ifru_addr;
> + struct sockaddr ifru_dstaddr;
> + struct sockaddr ifru_broadaddr;
> + struct sockaddr ifru_netmask;
> + struct sockaddr ifru_hwaddr;
> + short ifru_flags;
> + compat_int_t ifru_ivalue;
> + compat_int_t ifru_mtu;
> + struct compat_ifmap ifru_map;
> + char ifru_slave[IFNAMSIZ]; /* Just fits the size
> */
> + char ifru_newname[IFNAMSIZ];
> + compat_caddr_t ifru_data;
> + /* XXXX? ifru_settings should be here */
> + } ifr_ifru;
> +};
> +

Did you just copy this from someplace else? Many of the lines seems to
be tab damaged.

Daniel



\
 
 \ /
  Last update: 2009-11-06 19:21    [W:1.305 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site