fib_rules.h (8b3521eeb7598c3b10c7e14361a7974464527702) fib_rules.h (04af8cf6f320031090ab6fa4600b912b0c18fb4b)
1#ifndef __NET_FIB_RULES_H
2#define __NET_FIB_RULES_H
3
4#include <linux/types.h>
5#include <linux/netdevice.h>
6#include <linux/fib_rules.h>
7#include <net/flow.h>
8#include <net/rtnetlink.h>

--- 40 unchanged lines hidden (view full) ---

49 int (*configure)(struct fib_rule *,
50 struct sk_buff *,
51 struct fib_rule_hdr *,
52 struct nlattr **);
53 int (*compare)(struct fib_rule *,
54 struct fib_rule_hdr *,
55 struct nlattr **);
56 int (*fill)(struct fib_rule *, struct sk_buff *,
1#ifndef __NET_FIB_RULES_H
2#define __NET_FIB_RULES_H
3
4#include <linux/types.h>
5#include <linux/netdevice.h>
6#include <linux/fib_rules.h>
7#include <net/flow.h>
8#include <net/rtnetlink.h>

--- 40 unchanged lines hidden (view full) ---

49 int (*configure)(struct fib_rule *,
50 struct sk_buff *,
51 struct fib_rule_hdr *,
52 struct nlattr **);
53 int (*compare)(struct fib_rule *,
54 struct fib_rule_hdr *,
55 struct nlattr **);
56 int (*fill)(struct fib_rule *, struct sk_buff *,
57 struct nlmsghdr *,
58 struct fib_rule_hdr *);
59 u32 (*default_pref)(struct fib_rules_ops *ops);
60 size_t (*nlmsg_payload)(struct fib_rule *);
61
62 /* Called after modifications to the rules set, must flush
63 * the route cache if one exists. */
64 void (*flush_cache)(struct fib_rules_ops *ops);
65

--- 51 unchanged lines hidden ---
57 struct fib_rule_hdr *);
58 u32 (*default_pref)(struct fib_rules_ops *ops);
59 size_t (*nlmsg_payload)(struct fib_rule *);
60
61 /* Called after modifications to the rules set, must flush
62 * the route cache if one exists. */
63 void (*flush_cache)(struct fib_rules_ops *ops);
64

--- 51 unchanged lines hidden ---