Browse code

core: added flags field for received info structure

Daniel-Constantin Mierla authored on 26/11/2020 08:44:31
Showing 1 changed files
... ...
@@ -145,6 +145,10 @@ typedef struct snd_flags {
145 145
 	unsigned short blst_imask; /* blocklist ignore mask */
146 146
 } snd_flags_t;
147 147
 
148
+/* recv flags */
149
+typedef enum recv_flags {
150
+	RECV_F_INTERNAL   = (1 << 0), /*  */
151
+} recv_flags_t;
148 152
 
149 153
 typedef struct receive_info {
150 154
 	struct ip_addr src_ip;
... ...
@@ -156,6 +160,7 @@ typedef struct receive_info {
156 160
 	union sockaddr_union src_su; /* useful for replies*/
157 161
 	struct socket_info* bind_address; /* sock_info structure on which
158 162
 										* the msg was received */
163
+	recv_flags_t rflags; /* flags */
159 164
 	char proto;
160 165
 #ifdef USE_COMP
161 166
 	char proto_pad0;  /* padding field */