Home
last modified time | relevance | path

Searched refs:fib_rule_port_range (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/include/net/
Dfib_rules.h44 struct fib_rule_port_range sport_range;
45 struct fib_rule_port_range dport_range;
137 static inline bool fib_rule_port_range_set(const struct fib_rule_port_range *range) in fib_rule_port_range_set()
142 static inline bool fib_rule_port_inrange(const struct fib_rule_port_range *a, in fib_rule_port_inrange()
149 static inline bool fib_rule_port_range_valid(const struct fib_rule_port_range *a) in fib_rule_port_range_valid()
155 static inline bool fib_rule_port_range_compare(struct fib_rule_port_range *a, in fib_rule_port_range_compare()
156 struct fib_rule_port_range *b) in fib_rule_port_range_compare()
/linux-6.6.21/include/uapi/linux/
Dfib_rules.h38 struct fib_rule_port_range { struct
/linux-6.6.21/net/core/
Dfib_rules.c240 struct fib_rule_port_range *port_range) in nla_get_port_range()
242 const struct fib_rule_port_range *pr = nla_data(pattr); in nla_get_port_range()
254 struct fib_rule_port_range *range) in nla_put_port_range()
770 [FRA_SPORT_RANGE] = { .len = sizeof(struct fib_rule_port_range) },
771 [FRA_DPORT_RANGE] = { .len = sizeof(struct fib_rule_port_range) }
999 + nla_total_size(sizeof(struct fib_rule_port_range)) /* FRA_SPORT_RANGE */ in fib_rule_nlmsg_size()
1000 + nla_total_size(sizeof(struct fib_rule_port_range)); /* FRA_DPORT_RANGE */ in fib_rule_nlmsg_size()