📄 fib_semantics.h
字号:
/* fib_semantics.h * linqianghe@163.com * 2006-11-07 */#ifndef INCLUDED_FIB_SEMANTICS_H#define INCLUDED_FIB_SEMANTICS_H#include "ip_fib.h"#include <linux/init.h>void __exit myfib_info_exit(void);struct fib_info *myfib_create_info(const struct rtmsg *r, struct kern_rta *rta, const struct nlmsghdr *nlh, int *errp);void myfib_release_info(struct fib_info *fi);void dump_fib_info(void);int myfib_sync_up(struct net_device *dev);int myfib_sync_down( u32 local, struct net_device *dev, int force );int myfib_semantic_match( struct list_head *head, const struct flowi *flp, struct fib_result *res, __u32 zone, __u32 mask, int prefixlen );int myfib_nh_match(struct rtmsg *r, struct nlmsghdr *nlh, struct kern_rta *rta, struct fib_info *fi);int myfib_dump_info( struct sk_buff *skb, u32 pid, u32 seq, int event, u8 tb_id, u8 type, u8 scope, void *dst, int dst_len, u8 tos, struct fib_info *fi, unsigned int flags );void myfib_select_multipath(const struct flowi *flp, struct fib_result *res);u32 __myfib_res_prefsrc(struct fib_result *res);#endif //INCLUDED_FIB_SEMANTICS_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -