📄 decode_ospf.c
字号:
/* decode_ospf.c Open Shortest Path First. Copyright (c) 2000 Dug Song <dugsong@monkey.org> $Id: decode_ospf.c,v 1.5 2000/12/15 20:16:58 dugsong Exp $*/#include "config.h"#include <sys/types.h>#include <stdio.h>#include <string.h>#include "decode.h"intdecode_ospf(u_char *buf, int len, u_char *obuf, int olen){ if (len < 25) return (0); if (pntohs(buf + 14) != 1) return (0); buf[24] = '\0'; return (snprintf(obuf, olen, "%s\n", buf + 16));}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -