jabberd2  2.7.0
Data Fields
pkt_st Struct Reference

packet summary data wrapper More...

#include <sm.h>

Data Fields

sm_t sm
 sm context More...
 
sess_t source
 session this packet came from More...
 
jid_t rto
 
jid_t rfrom
 addressing of enclosing route More...
 
route_type_t rtype
 type of enclosing route More...
 
pkt_type_t type
 packet type More...
 
jid_t to
 
jid_t from
 packet addressing (not used for routing) More...
 
int ns
 iq sub-namespace More...
 
int pri
 presence priority More...
 
nad_t nad
 nad of the entire packet More...
 
int db
 
char ip [INET6_ADDRSTRLEN+1]
 
int port
 

Detailed Description

packet summary data wrapper

Definition at line 129 of file sm.h.

Field Documentation

◆ sm

sm_t pkt_st::sm

◆ source

sess_t pkt_st::source

session this packet came from

Definition at line 132 of file sm.h.

Referenced by _session_in_router().

◆ rto

jid_t pkt_st::rto

Definition at line 134 of file sm.h.

Referenced by pkt_error(), pkt_free(), pkt_new(), pkt_router(), pkt_sess(), pkt_tofrom(), and sess_route().

◆ rfrom

jid_t pkt_st::rfrom

addressing of enclosing route

Definition at line 134 of file sm.h.

Referenced by _session_in_router(), pkt_free(), pkt_new(), pkt_router(), pkt_sess(), pkt_tofrom(), and sess_route().

◆ rtype

route_type_t pkt_st::rtype

type of enclosing route

Definition at line 136 of file sm.h.

Referenced by _disco_pkt_router(), _roster_pkt_user(), _session_pkt_router(), dispatch(), and pkt_new().

◆ type

pkt_type_t pkt_st::type

◆ to

jid_t pkt_st::to

◆ from

jid_t pkt_st::from

◆ ns

int pkt_st::ns

◆ pri

int pkt_st::pri

presence priority

Definition at line 144 of file sm.h.

Referenced by pkt_new(), and pres_update().

◆ nad

nad_t pkt_st::nad

◆ db

int pkt_st::db

Definition at line 240 of file s2s.h.

Referenced by _in_result(), out_packet(), and s2s_router_sx_callback().

◆ ip

char pkt_st::ip[INET6_ADDRSTRLEN+1]

Definition at line 242 of file s2s.h.

◆ port

int pkt_st::port

Definition at line 243 of file s2s.h.


The documentation for this struct was generated from the following files: