亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? netrom.h

?? TCPIP協議包
?? H
字號:
#ifndef	_NETROM_H
#define	_NETROM_H

#ifndef	_MBUF_H
#include "mbuf.h"
#endif

#ifndef	_IFACE_H
#include "iface.h"
#endif

#ifndef	_AX25_H
#include "ax25.h"
#endif

#ifndef	_LAPB_H
#include "lapb.h"
#endif

#ifndef _NR4_H
#include "nr4.h"
#endif

/* net/rom support definitions
 * Copyright 1989 by Daniel M. Frank, W9NK.  Permission granted for
 * non-commercial distribution only.
 */

#define NR3HLEN		15	/* length of a net/rom level 3 hdr, */
#define NR3DLEN		241	/* max data size in net/rom l3 packet */
#define NR3NODESIG	0xff	/* signature for nodes broadcast */
#define NR3NODEHL	7	/* nodes bc header length */

#define NRNUMIFACE	10	/* number of interfaces associated */
				/* with net/rom network layer      */
#define NRNUMCHAINS	17	/* number of chains in the */
				/* neighbor and route hash tables */
#define NRRTDESTLEN	21	/* length of destination entry in */
				/* nodes broadcast */
#define NRDESTPERPACK	11	/* maximum number of destinations per */
				/* nodes packet */

/* NET/ROM protocol numbers */
#define NRPROTO_IP	0x0c

/* Internal representation of net/rom network layer header */
struct nr3hdr {
	uint8 source[AXALEN] ;	/* callsign of origin node */
	uint8 dest[AXALEN] ;	/* callsign of destination node */
	unsigned ttl ;		/* time-to-live */
} ;

/* Internal representation of net/rom routing broadcast destination */
/* entry */
struct nr3dest {
	uint8 dest[AXALEN] ;		/* destination callsign */
	char alias[AXALEN] ;		/* ident, upper case ASCII, blank-filled */
	uint8 neighbor[AXALEN] ;	/* best-quality neighbor */
	unsigned quality ;		/* quality of route for this neighbor */
} ;


/* net/rom interface table entry */
struct nriface {
	struct iface *iface ;		/* pointer to ax.25 interface */
	char alias[AXALEN] ;		/* alias for this interface's node */
					/* broadcasts */
	unsigned quality ;		/* net/rom link quality estimate */
} ;

/* net/rom neighbor table structure */
struct nrnbr_tab {
	struct nrnbr_tab *next ;	/* doubly linked list pointers */
	struct nrnbr_tab *prev ;
	uint8 call[AXALEN] ;		/* call of neighbor + 2 digis max */
	unsigned iface ;		/* offset of neighbor's port in */
					/* interface table */
	unsigned refcnt ;		/* how many routes for this neighbor? */
} ;

/* A list of these structures is provided for each route table */
/* entry.  They bind a destination to a neighbor node.  If the */
/* list of bindings becomes empty, the route table entry is    */
/* automatically deleted.									   */

struct nr_bind {
	struct nr_bind *next ;		/* doubly linked list */
	struct nr_bind *prev ;
	unsigned quality ;		/* quality estimate */
	unsigned obsocnt ;		/* obsolescence count */
	unsigned flags ;
#define	NRB_PERMANENT	0x01		/* entry never times out */
#define NRB_RECORDED	0x02		/* a "record route" entry */
	struct nrnbr_tab *via ;		/* route goes via this neighbor */
} ;

/* net/rom routing table entry */

struct nrroute_tab {
	struct nrroute_tab *next ;	/* doubly linked list pointers */
	struct nrroute_tab *prev ;
	char alias[AXALEN] ;		/* alias of node */
	uint8 call[AXALEN] ;		/* callsign of node */
	unsigned num_routes ;		/* how many routes in bindings list? */
	struct nr_bind *routes ;	/* list of neighbors */

} ;

/* The net/rom nodes broadcast filter structure */
struct nrnf_tab {
	struct nrnf_tab *next ;		/* doubly linked list */
	struct nrnf_tab *prev ;
	uint8 neighbor[AXALEN] ;	/* call of neighbor to filter */
	unsigned iface ;		/* filter on this interface */
} ;

/* Structure for handling raw NET/ROM user sockets */
struct raw_nr {
	struct raw_nr *prev;
	struct raw_nr *next;

	struct mbuf *rcvq;	/* receive queue */
	uint8 protocol;		/* Protocol */
};

/* The interface table */
extern struct nriface Nrifaces[NRNUMIFACE] ;

/* How many interfaces are in use */
extern unsigned Nr_numiface ;

/* The neighbor hash table (hashed on neighbor callsign) */
extern struct nrnbr_tab *Nrnbr_tab[NRNUMCHAINS] ;

/* The routes hash table (hashed on destination callsign) */
extern struct nrroute_tab *Nrroute_tab[NRNUMCHAINS] ;

/* The nodes broadcast filter table */
extern struct nrnf_tab *Nrnf_tab[NRNUMCHAINS] ;

extern uint8 Nr_nodebc[AXALEN];

/* filter modes: */
#define	NRNF_NOFILTER	0	/* don't filter */
#define	NRNF_ACCEPT	1	/* accept broadcasts from stations in list */
#define	NRNF_REJECT	2	/* reject broadcasts from stations in list */

/* The filter mode */
extern unsigned Nr_nfmode ;

/* The time-to-live for net/rom network layer packets */
extern unsigned short Nr_ttl ;

/* The obsolescence count initializer */
extern unsigned Obso_init ;

/* The threshhold at which routes becoming obsolete are not broadcast */
extern unsigned Obso_minbc ;

/* The quality threshhold below which routes in a broadcast will */
/* be ignored */
extern unsigned Nr_autofloor ;

/* Whether we want to broadcast the contents of our routing
 * table, or just our own callsign and alias:
 */
extern int Nr_verbose ;

/* The maximum number of routes maintained for a destination. */
/* If the list fills up, only the highest quality routes are  */
/* kept.  This limiting is done to avoid possible over-use of */
/* memory for routing tables in closely spaced net/rom networks. */
extern unsigned Nr_maxroutes ;

/* The netrom pseudo-interface */
extern struct iface *Nr_iface ;

/* Functions */

/* In nr3.c: */
void del_rnr(struct raw_nr *rpp);
uint8 *find_nralias(char *);
struct nrroute_tab *find_nrroute(uint8 *);
void nr_bcnodes(unsigned ifno);
void nr_nodercv(struct iface *iface,uint8 *source,struct mbuf **bpp);
int nr_nfadd(uint8 *, unsigned);
int nr_nfdrop(uint8 *, unsigned);
void nr_route(struct mbuf **bp,struct ax25_cb *iaxp);
int nr_routeadd(char *, uint8 *, unsigned,
	unsigned, uint8 *, unsigned, unsigned);
int nr_routedrop(uint8 *, uint8 *, unsigned);
int nr_send(struct mbuf **bp,struct iface *iface,int32 gateway,uint8 tos);
void nr_sendraw(uint8 *dest,unsigned family,unsigned proto,
	struct mbuf **data);
void nr3output(uint8 *dest,struct mbuf **data);
uint16 nrhash(uint8 *s);
struct raw_nr *raw_nr(uint8);

/* In nrcmd.c: */
void donrdump(struct nr4cb *cb);
int doroutedump(void);
int dorouteinfo(int argc,char *argv[],void *p);
int putalias(char *to, char *from,int complain);

/* In nrhdr.c: */
struct mbuf *htonnr3(struct nr3hdr *);
struct mbuf *htonnrdest(struct nr3dest *);
int ntohnr3(struct nr3hdr *, struct mbuf **);
int ntohnrdest(struct nr3dest *ds,struct mbuf **bpp);

#endif	/* _NETROM_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久久9999| 亚洲一区免费视频| 欧美福利电影网| 成人免费av在线| 久久99久久久久| 亚洲午夜激情网页| 最近日韩中文字幕| 久久久91精品国产一区二区三区| 在线欧美一区二区| 99精品偷自拍| 国产精品77777竹菊影视小说| 天堂一区二区在线免费观看| 亚洲欧美日韩一区| 国产精品免费视频一区| 久久久一区二区三区捆绑**| 欧美三级韩国三级日本一级| 成年人网站91| 国产不卡在线视频| 国产精品乡下勾搭老头1| 青青草国产成人av片免费| 亚洲一区在线播放| 亚洲另类一区二区| 日韩美女视频一区| 一区二区中文字幕在线| 日本一二三四高清不卡| 久久精品亚洲乱码伦伦中文| 精品区一区二区| 欧美一区二区三区色| 在线观看91av| 欧美日韩国产美| 欧美午夜视频网站| 精品视频免费在线| 欧美男生操女生| 欧美精品v国产精品v日韩精品| 欧美午夜不卡视频| 在线视频欧美精品| 欧美日韩久久一区二区| 欧美伊人久久大香线蕉综合69| 久久只精品国产| 久久午夜色播影院免费高清| 精品欧美一区二区三区精品久久 | 成人h精品动漫一区二区三区| 黄一区二区三区| 精品一区二区精品| 国产一本一道久久香蕉| 国产精一区二区三区| 国产福利精品一区| jlzzjlzz欧美大全| 91美女在线看| 欧美日韩一级大片网址| 91精品国产91久久久久久一区二区| 欧美精品久久久久久久多人混战| 欧美一区欧美二区| 精品国产第一区二区三区观看体验| 2020日本不卡一区二区视频| 久久精品视频在线看| 国产精品欧美一级免费| 一区二区三区国产豹纹内裤在线 | 国产成人精品亚洲日本在线桃色| 久久久久九九视频| 亚洲国产美女搞黄色| 久久品道一品道久久精品| 2019国产精品| 国产精品久线观看视频| 亚洲午夜在线视频| 蜜臀av亚洲一区中文字幕| 国产精品一区二区三区四区| 99久精品国产| 欧美一级艳片视频免费观看| 国产亚洲精品精华液| 亚洲另类中文字| 美女网站一区二区| 成人av在线资源| 欧美三级乱人伦电影| 26uuu国产电影一区二区| 亚洲视频图片小说| 蜜桃av噜噜一区| 91色乱码一区二区三区| 5858s免费视频成人| 中文字幕va一区二区三区| 亚洲自拍偷拍欧美| 国产成人免费视频一区| 欧美日韩在线观看一区二区 | 日本特黄久久久高潮| 国产一区二区中文字幕| 91国内精品野花午夜精品| 欧美tickling网站挠脚心| 国产精品传媒在线| 久久精品国产在热久久| 91麻豆文化传媒在线观看| 日韩美一区二区三区| 综合久久国产九一剧情麻豆| 久久99久久精品| 91国产免费看| 中文在线一区二区| 乱中年女人伦av一区二区| 在线视频综合导航| 男人的天堂亚洲一区| 成人午夜又粗又硬又大| 91精品在线免费观看| 日韩美女视频19| 国产传媒日韩欧美成人| 日韩免费电影一区| 午夜精品一区二区三区电影天堂 | 亚洲一线二线三线视频| 国产**成人网毛片九色 | 久久女同互慰一区二区三区| 亚洲444eee在线观看| 99视频在线精品| 欧美国产精品专区| 韩国三级在线一区| 欧美成人乱码一区二区三区| 亚洲一本大道在线| 91在线你懂得| 国产精品天干天干在观线| 久久精品国产成人一区二区三区 | 色综合天天综合| 国产欧美视频在线观看| 久久99久久久久久久久久久| 制服丝袜亚洲精品中文字幕| 一区二区三区美女| 色先锋资源久久综合| 1024成人网色www| 成人免费视频app| 国产视频在线观看一区二区三区| 蜜臀a∨国产成人精品| 欧美二区三区91| 日韩专区在线视频| 欧美日韩高清不卡| 三级欧美在线一区| 欧美一区二区日韩| 另类中文字幕网| 欧美大片日本大片免费观看| 日本女人一区二区三区| 欧美日韩国产在线观看| 五月天激情小说综合| 欧美三级乱人伦电影| 天天操天天色综合| 欧美高清精品3d| 日韩av网站免费在线| 日韩一区二区电影在线| 久久超碰97中文字幕| 精品粉嫩超白一线天av| 国产激情一区二区三区| 国产精品每日更新在线播放网址| 国产成人亚洲综合a∨婷婷图片| 久久久精品影视| 成人午夜视频在线| 亚洲欧洲精品成人久久奇米网| 97国产一区二区| 一区二区三区在线视频观看 | 日韩高清不卡一区| 欧美一区二区精美| 国产成人日日夜夜| 一区在线观看视频| 欧美人妇做爰xxxⅹ性高电影| 日日夜夜精品免费视频| 视频一区视频二区中文| 欧美成人精品福利| 国产99精品国产| 亚洲免费观看高清完整版在线观看熊| 欧美体内she精高潮| 日产欧产美韩系列久久99| 久久免费偷拍视频| 91片黄在线观看| 天天综合网 天天综合色| 久久欧美中文字幕| 91国模大尺度私拍在线视频| 日本中文一区二区三区| 国产调教视频一区| 欧美在线一二三四区| 久久国产精品72免费观看| 国产欧美日韩三级| 欧美亚洲综合色| 国产精品亚洲а∨天堂免在线| 玉足女爽爽91| 26uuu成人网一区二区三区| 91小宝寻花一区二区三区| 日本 国产 欧美色综合| 中日韩av电影| 欧美日韩你懂的| 国产成人av一区| 日韩中文字幕91| 亚洲欧洲成人精品av97| 日韩免费看的电影| 色综合久久综合中文综合网| 久久爱另类一区二区小说| 亚洲视频在线观看三级| 精品三级在线观看| 在线精品国精品国产尤物884a| 久久99热这里只有精品| 亚洲影院在线观看| 国产精品视频观看| 精品三级在线看| 欧美日韩国产在线播放网站| eeuss鲁一区二区三区| 毛片基地黄久久久久久天堂| 一区二区三区在线观看网站| 久久久精品天堂| 欧美一区二区三区电影|