ccn_sockdescr Struct Reference

Text-friendly description of a socket (IPv4 or IPv6). More...


Data Fields

int ipproto
 as per http://www.iana.org/assignments/protocol-numbers - should match IPPROTO_* in system headers
const char * address
 acceptable to getaddrinfo
const char * port
 service name or number
const char * source_address
 may be needed for multicast
int mcast_ttl
 may be needed for multicast


Detailed Description

Text-friendly description of a socket (IPv4 or IPv6).

Definition at line 41 of file sockcreate.h.


Field Documentation

as per http://www.iana.org/assignments/protocol-numbers - should match IPPROTO_* in system headers

Definition at line 42 of file sockcreate.h.

Referenced by ccn_face_instance_parse(), ccn_setup_socket(), ccnb_append_face_instance(), ccnd_req_newface(), and main().

acceptable to getaddrinfo

Definition at line 44 of file sockcreate.h.

Referenced by ccn_face_instance_parse(), ccn_setup_socket(), ccnb_append_face_instance(), ccnd_req_newface(), and main().

const char* ccn_sockdescr::port

service name or number

Definition at line 45 of file sockcreate.h.

Referenced by ccn_face_instance_parse(), ccn_setup_socket(), ccnb_append_face_instance(), ccnd_req_newface(), and main().

may be needed for multicast

Definition at line 46 of file sockcreate.h.

Referenced by ccn_face_instance_parse(), ccn_setup_socket(), and ccnb_append_face_instance().

may be needed for multicast

Definition at line 47 of file sockcreate.h.

Referenced by ccn_face_instance_parse(), ccn_setup_socket(), ccnb_append_face_instance(), and main().


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

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