ccnd.h File Reference

Definitions pertaining to the CCNx daemon. More...

Go to the source code of this file.

Defines

#define CCN_DEFAULT_LOCAL_SOCKNAME   "/tmp/.ccnd.sock"
#define CCN_LOCAL_PORT_ENVNAME   "CCN_LOCAL_PORT"
#define CCN_DEFAULT_UNICAST_PORT_NUMBER   9695U
 ccnx registered port number see http://www.iana.org/assignments/port-numbers
#define CCN_DEFAULT_UNICAST_PORT   "9695"
#define CCN_EMPTY_PDU   "CCN\202\000"
 Link adapters sign on by sending this greeting to ccnd.
#define CCN_EMPTY_PDU_LENGTH   5


Detailed Description

Definitions pertaining to the CCNx daemon.

Part of the CCNx C Library.

Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Definition in file ccnd.h.


Define Documentation

#define CCN_DEFAULT_LOCAL_SOCKNAME   "/tmp/.ccnd.sock"

Definition at line 25 of file ccnd.h.

Referenced by ccn_setup_sockaddr_un().

#define CCN_DEFAULT_UNICAST_PORT   "9695"

#define CCN_DEFAULT_UNICAST_PORT_NUMBER   9695U

ccnx registered port number see http://www.iana.org/assignments/port-numbers

Definition at line 32 of file ccnd.h.

#define CCN_EMPTY_PDU   "CCN\202\000"

Link adapters sign on by sending this greeting to ccnd.

Not for use over the wire.

Definition at line 39 of file ccnd.h.

Referenced by main(), and send_remote_unencapsulated().

#define CCN_EMPTY_PDU_LENGTH   5

Definition at line 40 of file ccnd.h.

Referenced by main(), and send_remote_unencapsulated().

#define CCN_LOCAL_PORT_ENVNAME   "CCN_LOCAL_PORT"

Definition at line 26 of file ccnd.h.

Referenced by ccn_setup_sockaddr_un(), ccnd_create(), collect_stats_html(), and main().


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