We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d4f597 commit af9b3edCopy full SHA for af9b3ed
src/stirling/source_connectors/socket_tracer/conn_tracker.h
@@ -68,6 +68,7 @@ struct SocketOpen {
68
uint64_t timestamp_ns = 0;
69
// TODO(yzhao): Consider using std::optional to indicate the address has not been initialized.
70
SockAddr remote_addr;
71
+ SockAddr local_addr;
72
};
73
74
struct SocketClose {
@@ -577,6 +578,7 @@ class ConnTracker : NotCopyMoveable {
577
578
void SetConnID(struct conn_id_t conn_id);
579
580
void SetRemoteAddr(const union sockaddr_t addr, std::string_view reason);
581
+ void SetLocalAddr(const union sockaddr_t addr, std::string_view reason);
582
583
// Returns false if the protocol change is disallowed.
584
bool SetProtocol(traffic_protocol_t protocol, std::string_view reason);
0 commit comments