[03/12] unix: Add sender_ino of packets and socket

Submitted by Kirill Tkhai on April 29, 2016, 2:35 p.m.

Details

Message ID 146194054788.9179.6846973840801594872.stgit@pro
State Rejected
Series "Support for packet's msg_name in receive queue of promiscous DGRAM sockets"
Headers show

Commit Message

Kirill Tkhai April 29, 2016, 2:35 p.m.
Add optional field "sender_ino" to packet and socket proto.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
 images/sk-packet.proto |    1 +
 images/sk-unix.proto   |    2 ++
 2 files changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/images/sk-packet.proto b/images/sk-packet.proto
index 10ef5c9..2e1c8b3 100644
--- a/images/sk-packet.proto
+++ b/images/sk-packet.proto
@@ -1,4 +1,5 @@ 
 message sk_packet_entry {
 	required uint32		id_for		= 1;
 	required uint32		length		= 2;
+	optional uint32		sender_ino	= 3;
 }
diff --git a/images/sk-unix.proto b/images/sk-unix.proto
index aa2bcf7..7b71ebf 100644
--- a/images/sk-unix.proto
+++ b/images/sk-unix.proto
@@ -45,4 +45,6 @@  message unix_sk_entry {
 	 * Relative socket name may have prefix.
 	 */
 	optional string			name_dir	= 14;
+
+	optional uint32			sender_ino	= 15;
 }