jabberd2  2.3.2
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_t pkt_st::sm
sess_t pkt_st::source

session this packet came from

Definition at line 132 of file sm.h.

Referenced by _session_in_router().

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().

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().

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().

pkt_type_t pkt_st::type
jid_t pkt_st::to
jid_t pkt_st::from
int pkt_st::ns
int pkt_st::pri

presence priority

Definition at line 144 of file sm.h.

Referenced by pkt_new(), and pres_update().

nad_t pkt_st::nad
int pkt_st::db

Definition at line 233 of file s2s.h.

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

char pkt_st::ip[INET6_ADDRSTRLEN+1]

Definition at line 235 of file s2s.h.

int pkt_st::port

Definition at line 236 of file s2s.h.


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