nmsg  0.9.0
Variables
ipconn.c File Reference

base "ipconn" message type. More...

Go to the source code of this file.

Variables

struct nmsg_msgmod_field ipconn_fields []
 
struct nmsg_msgmod_plugin nmsg_msgmod_ctx
 

Detailed Description

base "ipconn" message type.

This message type is meant to carry stateless information about IP connections.

ipconn message fields.

Name Type Required Repeated

Description

proto uint16 no no

IP protocol

srcip IP address no no

Source IP address

srcport uint16 no no

Source port

dstip IP address no no

Destination IP address

dstport uint16 no no

Destination port

Definition in file ipconn.c.

Variable Documentation

struct nmsg_msgmod_field ipconn_fields[]
Initial value:
= {
{ .type = nmsg_msgmod_ft_uint16, .name = "proto" },
{ .type = nmsg_msgmod_ft_ip, .name = "srcip" },
{ .type = nmsg_msgmod_ft_uint16, .name = "srcport" },
{ .type = nmsg_msgmod_ft_ip, .name = "dstip" },
{ .type = nmsg_msgmod_ft_uint16, .name = "dstport" },
NMSG_MSGMOD_FIELD_END
}
Protobuf byte array.
Definition: msgmod.h:96
Protobuf uint32.
Definition: msgmod.h:99

Definition at line 25 of file ipconn.c.

struct nmsg_msgmod_plugin nmsg_msgmod_ctx
Initial value:
= {
NMSG_MSGMOD_REQUIRED_INIT,
.vendor = NMSG_VENDOR_BASE,
.msgtype = { NMSG_VENDOR_BASE_IPCONN_ID, NMSG_VENDOR_BASE_IPCONN_NAME },
.pbdescr = &nmsg__base__ipconn__descriptor,
.fields = ipconn_fields
}

Definition at line 36 of file ipconn.c.