face Struct Reference

One of our active faces. More...

Data Fields

int recv_fd
 socket for receiving
unsigned sendface
 faceid for sending (maybe == faceid)
int flags
 CCN_FACE_* face flags.
int surplus
 sends since last successful recv
unsigned faceid
 internal face id
unsigned recvcount
 for activity level monitoring
struct content_queueq [CCN_CQ_N]
 outgoing content, per delay class
struct ccn_charbufinbuf
struct ccn_skeleton_decoder decoder
size_t outbufindex
struct ccn_charbufoutbuf
struct sockaddr * addr
socklen_t addrlen
int pending_interests
unsigned rrun
uintmax_t rseq
struct ccnd_meter * meter [CCND_FACE_METER_N]
unsigned short pktseq
 sequence number for sent packets

Detailed Description

One of our active faces.

Definition at line 191 of file ccnd_private.h.


Field Documentation

struct sockaddr* face::addr
socklen_t face::addrlen

Definition at line 200 of file ccnd_private.h.

Referenced by process_input(), and process_input_buffer().

unsigned face::faceid
struct ccnd_meter* face::meter[CCND_FACE_METER_N]

Definition at line 201 of file ccnd_private.h.

Referenced by ccnd_send(), do_deferred_write(), handle_send_error(), and make_connection().

unsigned short face::pktseq

sequence number for sent packets

Definition at line 209 of file ccnd_private.h.

Referenced by ccn_append_link_stuff(), and ccn_link_state_init().

struct content_queue* face::q[CCN_CQ_N]

outgoing content, per delay class

Definition at line 198 of file ccnd_private.h.

Referenced by face_send_queue_insert(), finalize_face(), process_incoming_content(), and process_incoming_interest().

unsigned face::recvcount

for activity level monitoring

Definition at line 197 of file ccnd_private.h.

Referenced by check_dgram_faces(), collect_faces_html(), collect_faces_xml(), get_dgram_source(), process_input(), and stuff_link_check().

unsigned face::rrun

Definition at line 206 of file ccnd_private.h.

Referenced by process_incoming_link_message().

uintmax_t face::rseq

Definition at line 207 of file ccnd_private.h.

Referenced by process_incoming_link_message().

unsigned face::sendface

faceid for sending (maybe == faceid)

Definition at line 193 of file ccnd_private.h.

Referenced by ccnd_create(), collect_faces_html(), collect_faces_xml(), get_dgram_source(), record_connection(), sending_fd(), and setup_multicast().

sends since last successful recv

Definition at line 195 of file ccnd_private.h.

Referenced by ccnd_send(), content_sender(), and process_input().


The documentation for this struct was generated from the following file:
Generated on Fri May 13 16:27:28 2011 for Content-Centric Networking in C by  doxygen 1.6.3