summaryrefslogtreecommitdiffstats
path: root/misc-utils/lsfd-sock.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:32 +0000
commit8bb05ac73a5b448b339ce0bc8d396c82c459b47f (patch)
tree1fdda006866bca20d41cb206767ea5241e36852f /misc-utils/lsfd-sock.h
parentAdding debian version 2.39.3-11. (diff)
downloadutil-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.tar.xz
util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.zip
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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 */