ssn_thrd_s Struct Reference

#include <ipsnooper.h>

Public Member Functions

 LIST_HEAD (, ssn_s) ssn_thrd_ssn_list

Data Fields

evContext ssn_thrd_ev_ctx
pthread_t ssn_thrd_tid
atomic_int_t ssn_thrd_ready
uint8_t ssn_thrd_cpu
int ssn_thrd_srv_pipe [2]
int ssn_thrd_pkt_pipe [2]
evFileID ssn_thrd_srv_pipe_read_fid
evFileID ssn_thrd_pkt_pipe_read_fid
msp_spinlock_t ssn_thrd_pipe_lock
srv_msg_t ssn_thrd_srv_msg
int ssn_thrd_srv_msg_offset
pkt_msg_t ssn_thrd_pkt_msg
int ssn_thrd_pkt_msg_offset

Detailed Description

Session thread data structure, one for each thread running a control CPU. Each thread could handle multiple client sessions whoes flows are bound to the same control CPU.

Member Function Documentation

ssn_thrd_s::LIST_HEAD ( ssn_s   ) 

list of thread session

Field Documentation

evContext ssn_thrd_s::ssn_thrd_ev_ctx

event context

pthread_t ssn_thrd_s::ssn_thrd_tid

thread ID pointer

atomic_int_t ssn_thrd_s::ssn_thrd_ready

thread ready flag

uint8_t ssn_thrd_s::ssn_thrd_cpu

CPU number on which thread runs

int ssn_thrd_s::ssn_thrd_srv_pipe[2]

pipe for server process to write

int ssn_thrd_s::ssn_thrd_pkt_pipe[2]

pipe for packet thread to write

evFileID ssn_thrd_s::ssn_thrd_srv_pipe_read_fid

event file ID to read server pipe

evFileID ssn_thrd_s::ssn_thrd_pkt_pipe_read_fid

event file ID to read packet pipe

msp_spinlock_t ssn_thrd_s::ssn_thrd_pipe_lock

lock for accessing thread pipes

srv_msg_t ssn_thrd_s::ssn_thrd_srv_msg

Server message buffer

int ssn_thrd_s::ssn_thrd_srv_msg_offset

offset of server message buffer

pkt_msg_t ssn_thrd_s::ssn_thrd_pkt_msg

Packet message buffer

int ssn_thrd_s::ssn_thrd_pkt_msg_offset

offset of packet message buffer

The documentation for this struct was generated from the following file:
2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:27:01 2010 for SDK Your Net Corporation IP Snooper 1.0 by Doxygen 1.5.1