| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
follow_stream_action.h
Go to the documentation of this file.
1
9
10#ifndef FOLLOWSTREAMACTION_H
11#define FOLLOWSTREAMACTION_H
12
13#include "config.h"
14
15#include <epan/packet_info.h>
16#include <epan/follow.h>
17
18#include <QAction>
19
20#include <ui/qt/capture_file.h>
21
25 class FollowStreamAction : public QAction
26{
27 Q_OBJECT
28 public:
34 FollowStreamAction(QObject *parent, register_follow_t *follow = NULL);
35
40 register_follow_t* follow() const {return follow_;}
41
46 int protoId() const {return get_follow_proto_id(follow_);}
47
52 const char* filterName() const {return proto_get_protocol_filter_name(get_follow_proto_id(follow_));}
53
54 private:
56 register_follow_t *follow_;
57};
58
59#endif // FOLLOWSTREAMACTION_H
capture_file.h
FollowStreamAction::FollowStreamAction
FollowStreamAction(QObject *parent, register_follow_t *follow=NULL)
Constructs a new FollowStreamAction.
Definition follow_stream_action.cpp:21
FollowStreamAction::follow
register_follow_t * follow() const
Retrieves the associated registered follow stream type.
Definition follow_stream_action.h:40
FollowStreamAction::protoId
int protoId() const
Retrieves the protocol ID associated with the follow stream.
Definition follow_stream_action.h:46
FollowStreamAction::filterName
const char * filterName() const
Retrieves the filter name of the associated protocol.
Definition follow_stream_action.h:52
follow.h
proto_get_protocol_filter_name
const char * proto_get_protocol_filter_name(const int proto_id)
Definition proto.c:8924
packet_info.h