📄 hash.h
字号:
/* Copyright 2002 Yon Uriarte and Jeff Dike * Licensed under the GPL */#ifndef __HASH_H__#define __HASH_H__struct nethub;extern void *find_in_hash(struct nethub *nh, char *dst);extern void insert_into_hash(struct nethub *nh, char *src, void *port);extern void delete_hash(struct nethub *nh, char *dst);extern void print_hash(struct nethub *nh, char *(*port_id)(void *));extern void update_entry_time(struct nethub *nh, char *src);extern void hash_init(struct nethub *nh);extern void hash_periodic(struct nethub *nh);#define GC_INTERVAL 2#define GC_EXPIRE 100#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -