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

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

unsigned face::faceid

unsigned face::recvcount

struct content_queue* face::q[CCN_CQ_N] [read]

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

struct ccn_charbuf* face::inbuf [read]

Definition at line 200 of file ccnd_private.h.

Referenced by process_input(), and process_input_buffer().

Definition at line 201 of file ccnd_private.h.

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

struct ccn_charbuf* face::outbuf [read]

struct sockaddr* face::addr [read]

socklen_t face::addrlen

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

struct ccnd_meter* face::meter[CCND_FACE_METER_N] [read]

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


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

Generated on Thu Feb 16 00:44:36 2012 for Content-Centric Networking in C by  doxygen 1.5.6