• 大小: 5.65MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-22
  • 语言: 其他
  • 标签: olsrd  linux移植  

资源简介

博客olsrd路由协议移植到嵌入式linux中使用https://blog.csdn.net/it_is_time_to/article/details/80916149 对应的源码

资源截图

代码片段和文件信息

/*	$OpenBSD: engine.cv 1.15 2005/08/05 13:03:00 espie Exp $	*/

/*-
 * Copyright (c) 1992 1993 1994 Henry Spencer.
 * Copyright (c) 1992 1993 1994
 * The Regents of the University of California.  All rights reserved.
 *
 * This code is derived from software contributed to Berkeley by
 * Henry Spencer.
 *
 * Redistribution and use in source and binary forms with or without
 * modification are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ‘‘AS IS‘‘ AND
 * ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL
 * DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT
 * LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 * @(#)engine.c 8.5 (Berkeley) 3/20/94
 */

/*
 * The matching engine and friends.  This file is #included by regexec.c
 * after suitable #defines of a variety of macros used herein so that
 * different state representations can be used without duplicating masses
 * of code.
 */

#ifdef SNAMES
#define matcher smatcher
#define fast sfast
#define slow sslow
#define dissect sdissect
#define backref sbackref
#define step sstep
#define print sprint
#define at sat
#define match smat
#define nope snope
#endif
#ifdef LNAMES
#define matcher lmatcher
#define fast lfast
#define slow lslow
#define dissect ldissect
#define backref lbackref
#define step lstep
#define print lprint
#define at lat
#define match lmat
#define nope lnope
#endif

/* another structure passed up and down to avoid zillions of parameters */
struct match {
struct re_guts *g;
int eflags;
regmatch_t *pmatch; /* [nsub+1] (0 element unused) */
char *offp; /* offsets work from here */
char *beginp; /* start of string -- virtual NUL precedes */
char *endp; /* end of string -- virtual NUL here */
char *coldp; /* can be no match starting before here */
char **lastpos; /* [nplus+1] */
STATEVARS;
states st; /* curren

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        231  2013-05-17 00:30  olsrd-0.6.4.1\.gitignore

     文件         71  2013-05-17 00:30  olsrd-0.6.4.1\android\arch\syslimits.h

     文件       1834  2013-05-17 00:30  olsrd-0.6.4.1\android\linux\if_tunnel.h

     文件       1073  2013-05-17 00:30  olsrd-0.6.4.1\android\linux\ip6_tunnel.h

     文件       1000  2013-05-17 00:30  olsrd-0.6.4.1\android\README

     文件       2820  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\cclass.h

     文件       4248  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\cname.h

     文件       2718  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\COPYRIGHT

     文件      26474  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\engine.c

     文件      18565  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\NOTICE

     文件      35473  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\regcomp.c

     文件       4389  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\regerror.c

     文件       6832  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\regex2.h

     文件       5695  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\regexec.c

     文件       2515  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\regfree.c

     文件       2271  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\utils.h

     文件       5396  2013-05-17 00:30  olsrd-0.6.4.1\android\regex\WHATSNEW

     文件       3574  2013-05-17 00:30  olsrd-0.6.4.1\android\regex.h

     文件      71754  2013-05-17 00:30  olsrd-0.6.4.1\CHANGELOG

     文件          2  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\bin\.gitignore

     文件      35147  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\LICENCE

     文件        300  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\Makefile

     文件         54  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\sampleconf.txt

     文件       2590  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\src\config.c

     文件       1048  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\src\config.h

     文件       1368  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\src\debug.h

     文件       9833  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\src\netsimpcap.c

     文件       5328  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\src\network_tap.c

     文件       1127  2013-05-17 00:30  olsrd-0.6.4.1\contrib\netsimpcap\src\network_tap.h

     文件         43  2013-05-17 00:30  olsrd-0.6.4.1\contrib\README

............此处省略753个文件信息

评论

共有 条评论

相关资源