bgp_dump.h

来自「zebra测试源代码用于 SOCKET 通信」· C头文件 代码 · 共 35 行

H
35
字号
/* BGP dump routine.   Copyright (C) 1999 Kunihiro IshiguroThis file is part of GNU Zebra.GNU Zebra is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by theFree Software Foundation; either version 2, or (at your option) anylater version.GNU Zebra is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Zebra; see the file COPYING.  If not, write to the FreeSoftware Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA02111-1307, USA.  *//* MRT compatible packet dump values.  *//* type value */#define MSG_PROTOCOL_BGP4MP  16/* subtype value */#define BGP4MP_STATE_CHANGE   0#define BGP4MP_MESSAGE        1#define BGP4MP_ENTRY          2#define BGP4MP_SNAPSHOT       3#define BGP_DUMP_HEADER_SIZE 12void bgp_dump_init ();void bgp_dump_state (struct peer *, int, int);void bgp_dump_packet (struct peer *, int, struct stream *);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?