Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279141
b: refs/heads/master
c: e6fe237
h: refs/heads/master
i:
  279139: 3b67905
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Dec 30, 2011
1 parent 6f63f81 commit e25b909
Show file tree
Hide file tree
Showing 3 changed files with 9 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: 56be178875cf699a17cc285171492353620ef0ae
refs/heads/master: e6fe2371bdd3713d0b227e9cd7f905e127ff81a0
1 change: 1 addition & 0 deletions trunk/include/linux/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ header-y += igmp.h
header-y += in.h
header-y += in6.h
header-y += in_route.h
header-y += sock_diag.h
header-y += inet_diag.h
header-y += inotify.h
header-y += input.h
Expand Down
10 changes: 7 additions & 3 deletions trunk/include/linux/sock_diag.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
#ifndef __SOCK_DIAG_H__
#define __SOCK_DIAG_H__

#define SOCK_DIAG_BY_FAMILY 20
#include <linux/types.h>

struct sk_buff;
struct nlmsghdr;
#define SOCK_DIAG_BY_FAMILY 20

struct sock_diag_req {
__u8 sdiag_family;
__u8 sdiag_protocol;
};

#ifdef __KERNEL__
struct sk_buff;
struct nlmsghdr;

struct sock_diag_handler {
__u8 family;
int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh);
Expand All @@ -26,4 +29,5 @@ int sock_diag_check_cookie(void *sk, __u32 *cookie);
void sock_diag_save_cookie(void *sk, __u32 *cookie);

extern struct sock *sock_diag_nlsk;
#endif /* KERNEL */
#endif

0 comments on commit e25b909

Please sign in to comment.