summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsfd-sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/lsfd-sock.h')
-rw-r--r--misc-utils/lsfd-sock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc-utils/lsfd-sock.h b/misc-utils/lsfd-sock.h
index d488d0f..50360b7 100644
--- a/misc-utils/lsfd-sock.h
+++ b/misc-utils/lsfd-sock.h
@@ -43,6 +43,7 @@ struct sock {
struct file file;
char *protoname;
struct sock_xinfo *xinfo;
+ struct ipc_endpoint endpoint;
};
struct sock_xinfo_class {
@@ -60,6 +61,7 @@ struct sock_xinfo_class {
int,
size_t,
char **str);
+ struct ipc_class *(*get_ipc_class)(struct sock_xinfo *, struct sock *);
void (*free)(struct sock_xinfo *);
};
@@ -67,6 +69,6 @@ struct sock_xinfo_class {
void initialize_sock_xinfos(void);
void finalize_sock_xinfos(void);
-struct sock_xinfo *get_sock_xinfo(ino_t netns_inode);
+struct sock_xinfo *get_sock_xinfo(ino_t inode);
#endif /* UTIL_LINUX_LSFD_SOCK_H */