/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/ |
H A D | fib_rules.c | 137 struct fib_rule_hdr *frh, 144 if (frh->tos & ~IPTOS_TOS_MASK) 161 if (frh->src_len) 164 if (frh->dst_len) 172 rule4->src_len = frh->src_len; 174 rule4->dst_len = frh->dst_len; 176 rule4->tos = frh->tos; 183 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, argument 188 if (frh->src_len && (rule4->src_len != frh 136 fib4_rule_configure(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh, struct nlattr **tb) argument 211 fib4_rule_fill(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh) argument [all...] |
H A D | ipmr.c | 199 struct fib_rule_hdr *frh, struct nlattr **tb) 204 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, argument 211 struct fib_rule_hdr *frh) 213 frh->dst_len = 0; 214 frh->src_len = 0; 215 frh->tos = 0; 198 ipmr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh, struct nlattr **tb) argument 210 ipmr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/ |
H A D | fib6_rules.c | 147 struct fib_rule_hdr *frh, 164 if (frh->src_len) 168 if (frh->dst_len) 172 rule6->src.plen = frh->src_len; 173 rule6->dst.plen = frh->dst_len; 174 rule6->tclass = frh->tos; 181 static int fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, argument 186 if (frh->src_len && (rule6->src.plen != frh->src_len)) 189 if (frh 146 fib6_rule_configure(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh, struct nlattr **tb) argument 206 fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh) argument [all...] |
H A D | ip6mr.c | 186 struct fib_rule_hdr *frh, struct nlattr **tb) 191 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, argument 198 struct fib_rule_hdr *frh) 200 frh->dst_len = 0; 201 frh->src_len = 0; 202 frh->tos = 0; 185 ip6mr_rule_configure(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh, struct nlattr **tb) argument 197 ip6mr_rule_fill(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/decnet/ |
H A D | dn_rules.c | 118 struct fib_rule_hdr *frh, 124 if (frh->tos) 141 if (frh->src_len) 144 if (frh->dst_len) 147 r->src_len = frh->src_len; 149 r->dst_len = frh->dst_len; 156 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, argument 161 if (frh->src_len && (r->src_len != frh->src_len)) 164 if (frh 117 dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh, struct nlattr **tb) argument 194 dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb, struct fib_rule_hdr *frh) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/core/ |
H A D | fib_rules.c | 242 static int validate_rulemsg(struct fib_rule_hdr *frh, struct nlattr **tb, argument 247 if (frh->src_len) 249 frh->src_len > (ops->addr_size * 8) || 253 if (frh->dst_len) 255 frh->dst_len > (ops->addr_size * 8) || 267 struct fib_rule_hdr *frh = nlmsg_data(nlh); local 273 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*frh))) 276 ops = lookup_rules_ops(net, frh->family); 282 err = nlmsg_parse(nlh, sizeof(*frh), tb, FRA_MAX, ops->policy); 286 err = validate_rulemsg(frh, t 416 struct fib_rule_hdr *frh = nlmsg_data(nlh); local 531 struct fib_rule_hdr *frh; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/ |
H A D | fib_rules.h | 100 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) argument 104 return frh->table;
|