Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262769
b: refs/heads/master
c: 6602a4b
h: refs/heads/master
i:
  262767: 1795e2e
v: v3
  • Loading branch information
David S. Miller committed Aug 8, 2011
1 parent dce0cbc commit 3678475
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd23198e58cd35259dd09e8892bbdb90f1d57748
refs/heads/master: 6602a4baf4d1a73cc4685a39ef859e1c5ddf654c
2 changes: 1 addition & 1 deletion trunk/include/linux/netlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#define MAX_LINKS 32

struct sockaddr_nl {
sa_family_t nl_family; /* AF_NETLINK */
__kernel_sa_family_t nl_family; /* AF_NETLINK */
unsigned short nl_pad; /* zero */
__u32 nl_pid; /* port ID */
__u32 nl_groups; /* multicast groups mask */
Expand Down
6 changes: 4 additions & 2 deletions trunk/include/linux/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
#define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
/* Implementation specific desired alignment */

typedef unsigned short __kernel_sa_family_t;

struct __kernel_sockaddr_storage {
unsigned short ss_family; /* address family */
__kernel_sa_family_t ss_family; /* address family */
/* Following field(s) are implementation specific */
char __data[_K_SS_MAXSIZE - sizeof(unsigned short)];
/* space to achieve desired size, */
Expand All @@ -35,7 +37,7 @@ struct seq_file;
extern void socket_seq_show(struct seq_file *seq);
#endif

typedef unsigned short sa_family_t;
typedef __kernel_sa_family_t sa_family_t;

/*
* 1003.1g requires sa_family_t and that sa_data is char.
Expand Down

0 comments on commit 3678475

Please sign in to comment.