The Assimilation Project based on Assimilation version 0.5.1435592714
Implements server-side CDP capabilities - things the client side won't need. More...
|const char *||get_cdp_type_string (unsigned cdptype)|
|Translate a CDP TLV type into a string. More...|
|void||dump_cdp_packet (const void *vpacket,const void *vpktend)|
|Dump out a CDP packet - not very intelligently. More...|
Implements server-side CDP capabilities - things the client side won't need.
This file is part of the Assimilation Project.
The Assimilation software 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/
Definition in file cdp.c.
|void dump_cdp_packet||(||const void *||vpacket,|
|const void *||vpktend|
Dump out a CDP packet - not very intelligently.
|[in]||vpacket||Pointer to a the start of a CDP packet|
|[in]||vpktend||Pointer of first byte past end of CDP packet|
References dump_mem(), get_cdp_cksum(), get_cdp_ttl(), get_cdp_type_string(), get_cdp_vers(), get_cdptlv_body(), get_cdptlv_first(), get_cdptlv_next(), get_cdptlv_type(), get_cdptlv_vlen(), and is_valid_cdp_packet().
Referenced by main().
|const char * get_cdp_type_string||(||unsigned||cdptype||)|