Home
last modified time | relevance | path

Searched refs:flkeys (Results 1 – 7 of 7) sorted by relevance

/linux/include/net/
H A Dip_fib.h358 struct flow_keys *flkeys) in fib4_rules_early_flow_dissect() argument
419 struct flow_keys *flkeys) in fib4_rules_early_flow_dissect() argument
426 memset(flkeys, 0, sizeof(*flkeys)); in fib4_rules_early_flow_dissect()
428 flkeys, NULL, 0, 0, 0, flag); in fib4_rules_early_flow_dissect()
430 fl4->fl4_sport = flkeys->ports.src; in fib4_rules_early_flow_dissect()
431 fl4->fl4_dport = flkeys->ports.dst; in fib4_rules_early_flow_dissect()
432 fl4->flowi4_proto = flkeys->basic.ip_proto; in fib4_rules_early_flow_dissect()
543 const struct sk_buff *skb, struct flow_keys *flkeys);
/linux/net/ipv4/
H A Dnetfilter.c29 struct flow_keys flkeys; in ip_route_me_harder() local
52 fib4_rules_early_flow_dissect(net, skb, &fl4, &flkeys); in ip_route_me_harder()
H A Droute.c2050 const struct sk_buff *skb, struct flow_keys *flkeys) in fib_multipath_hash() argument
2080 if (!flkeys) { in fib_multipath_hash()
2082 flkeys = &keys; in fib_multipath_hash()
2086 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in fib_multipath_hash()
2087 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in fib_multipath_hash()
2088 hash_keys.ports.src = flkeys->ports.src; in fib_multipath_hash()
2089 hash_keys.ports.dst = flkeys->ports.dst; in fib_multipath_hash()
2090 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash()
2249 struct flow_keys *flkeys = NULL, _flkeys; in ip_route_input_slow() local
2329 flkeys = &_flkeys; in ip_route_input_slow()
[all …]
H A Dfib_frontend.c350 struct flow_keys flkeys; in __fib_validate_source() local
371 if (!fib4_rules_early_flow_dissect(net, skb, &fl4, &flkeys)) { in __fib_validate_source()
/linux/net/xfrm/
H A Dxfrm_policy.c3433 decode_session4(const struct xfrm_flow_keys *flkeys, struct flowi *fl, bool reverse) in decode_session4() argument
3440 fl4->saddr = flkeys->addrs.ipv4.dst; in decode_session4()
3441 fl4->daddr = flkeys->addrs.ipv4.src; in decode_session4()
3442 fl4->fl4_sport = flkeys->ports.dst; in decode_session4()
3443 fl4->fl4_dport = flkeys->ports.src; in decode_session4()
3445 fl4->saddr = flkeys->addrs.ipv4.src; in decode_session4()
3446 fl4->daddr = flkeys->addrs.ipv4.dst; in decode_session4()
3447 fl4->fl4_sport = flkeys->ports.src; in decode_session4()
3448 fl4->fl4_dport = flkeys->ports.dst; in decode_session4()
3451 switch (flkeys->basic.ip_proto) { in decode_session4()
[all …]
/linux/net/ipv6/
H A Dnetfilter.c28 struct flow_keys flkeys; in ip6_route_me_harder() local
48 fib6_rules_early_flow_dissect(net, skb, &fl6, &flkeys); in ip6_route_me_harder()
H A Droute.c2306 struct flow_keys *flkeys) in ip6_multipath_l3_keys() argument
2310 struct flow_keys *_flkeys = flkeys; in ip6_multipath_l3_keys()
2470 const struct sk_buff *skb, struct flow_keys *flkeys) in rt6_multipath_hash() argument
2480 ip6_multipath_l3_keys(skb, &hash_keys, flkeys); in rt6_multipath_hash()
2500 if (!flkeys) { in rt6_multipath_hash()
2502 flkeys = &keys; in rt6_multipath_hash()
2505 hash_keys.addrs.v6addrs.src = flkeys->addrs.v6addrs.src; in rt6_multipath_hash()
2506 hash_keys.addrs.v6addrs.dst = flkeys->addrs.v6addrs.dst; in rt6_multipath_hash()
2507 hash_keys.ports.src = flkeys->ports.src; in rt6_multipath_hash()
2508 hash_keys.ports.dst = flkeys->ports.dst; in rt6_multipath_hash()
[all …]