reg_mgmt.h File Reference

Part of the CCNx C Library. More...

Go to the source code of this file.

Data Structures

struct  ccn_forwarding_entry

Defines

#define CCN_FORW_ACTIVE   1
 Refer to doc/technical/Registration.txt for the meaning of these flags.
#define CCN_FORW_CHILD_INHERIT   2
#define CCN_FORW_ADVERTISE   4
#define CCN_FORW_LAST   8
#define CCN_FORW_CAPTURE   16
#define CCN_FORW_LOCAL   32
#define CCN_FORW_TAP   64
#define CCN_FORW_CAPTURE_OK   128
#define CCN_FORW_PUBMASK

Functions

struct ccn_forwarding_entryccn_forwarding_entry_parse (const unsigned char *p, size_t size)
void ccn_forwarding_entry_destroy (struct ccn_forwarding_entry **)
 Destroy the result of ccn_forwarding_entry_parse().
int ccnb_append_forwarding_entry (struct ccn_charbuf *, const struct ccn_forwarding_entry *)


Detailed Description

Part of the CCNx C Library.

Copyright (C) 2009-2011 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 reg_mgmt.h.


Define Documentation

#define CCN_FORW_ACTIVE   1

#define CCN_FORW_ADVERTISE   4

Definition at line 40 of file reg_mgmt.h.

Referenced by ccnd_reg_ccnx_ccndid().

#define CCN_FORW_CAPTURE   16

Definition at line 42 of file reg_mgmt.h.

Referenced by ccnd_reg_ccnx_ccndid(), and update_forward_to().

#define CCN_FORW_CAPTURE_OK   128

Definition at line 45 of file reg_mgmt.h.

Referenced by register_new_face(), and update_forward_to().

#define CCN_FORW_CHILD_INHERIT   2

#define CCN_FORW_LAST   8

Definition at line 41 of file reg_mgmt.h.

Referenced by ccnd_reg_prefix(), main(), and update_forward_to().

#define CCN_FORW_LOCAL   32

#define CCN_FORW_PUBMASK

#define CCN_FORW_TAP   64

Definition at line 44 of file reg_mgmt.h.

Referenced by update_forward_to().


Function Documentation

void ccn_forwarding_entry_destroy ( struct ccn_forwarding_entry **   ) 

struct ccn_forwarding_entry* ccn_forwarding_entry_parse ( const unsigned char *  p,
size_t  size 
) [read]

int ccnb_append_forwarding_entry ( struct ccn_charbuf ,
const struct ccn_forwarding_entry  
)


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