Home
last modified time | relevance | path

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

/linux/include/net/
H A Dip_fib.h360 struct flow_keys *flkeys) in fib4_rules_early_flow_dissect() argument
420 struct flow_keys *flkeys) in fib4_rules_early_flow_dissect() argument
427 memset(flkeys, 0, sizeof(*flkeys)); in fib4_rules_early_flow_dissect()
429 flkeys, NULL, 0, 0, 0, flag); in fib4_rules_early_flow_dissect()
431 fl4->fl4_sport = flkeys->ports.src; in fib4_rules_early_flow_dissect()
432 fl4->fl4_dport = flkeys->ports.dst; in fib4_rules_early_flow_dissect()
433 fl4->flowi4_proto = flkeys->basic.ip_proto; in fib4_rules_early_flow_dissect()
544 const struct sk_buff *skb, struct flow_keys *flkeys);
H A Dip6_fib.h694 struct flow_keys *flkeys) in fib6_rules_early_flow_dissect() argument
701 memset(flkeys, 0, sizeof(*flkeys)); in fib6_rules_early_flow_dissect()
703 flkeys, NULL, 0, 0, 0, flag); in fib6_rules_early_flow_dissect()
705 fl6->fl6_sport = flkeys->ports.src; in fib6_rules_early_flow_dissect()
706 fl6->fl6_dport = flkeys->ports.dst; in fib6_rules_early_flow_dissect()
707 fl6->flowi6_proto = flkeys->basic.ip_proto; in fib6_rules_early_flow_dissect()
740 struct flow_keys *flkeys) in fib6_rules_early_flow_dissect() argument
/linux/net/xfrm/
H A Dxfrm_policy.c3430 decode_session4(const struct xfrm_flow_keys *flkeys, struct flowi *fl, bool reverse) in decode_session4() argument
3437 fl4->saddr = flkeys->addrs.ipv4.dst; in decode_session4()
3438 fl4->daddr = flkeys->addrs.ipv4.src; in decode_session4()
3439 fl4->fl4_sport = flkeys->ports.dst; in decode_session4()
3440 fl4->fl4_dport = flkeys->ports.src; in decode_session4()
3442 fl4->saddr = flkeys->addrs.ipv4.src; in decode_session4()
3443 fl4->daddr = flkeys->addrs.ipv4.dst; in decode_session4()
3444 fl4->fl4_sport = flkeys->ports.src; in decode_session4()
3445 fl4->fl4_dport = flkeys->ports.dst; in decode_session4()
3448 switch (flkeys->basic.ip_proto) { in decode_session4()
[all …]
/linux/net/ipv6/
H A Dnetfilter.c29 struct flow_keys flkeys; in ip6_route_me_harder() local
49 fib6_rules_early_flow_dissect(net, skb, &fl6, &flkeys); in ip6_route_me_harder()
H A Droute.c2369 struct flow_keys *flkeys) in ip6_multipath_l3_keys() argument
2373 struct flow_keys *_flkeys = flkeys; in ip6_multipath_l3_keys()
2537 const struct sk_buff *skb, struct flow_keys *flkeys) in rt6_multipath_hash() argument
2547 ip6_multipath_l3_keys(skb, &hash_keys, flkeys); in rt6_multipath_hash()
2567 if (!flkeys) { in rt6_multipath_hash()
2569 flkeys = &keys; in rt6_multipath_hash()
2572 hash_keys.addrs.v6addrs.src = flkeys->addrs.v6addrs.src; in rt6_multipath_hash()
2573 hash_keys.addrs.v6addrs.dst = flkeys->addrs.v6addrs.dst; in rt6_multipath_hash()
2574 hash_keys.ports.src = flkeys->ports.src; in rt6_multipath_hash()
2575 hash_keys.ports.dst = flkeys->ports.dst; in rt6_multipath_hash()
[all …]
/linux/net/ipv4/
H A Droute.c2096 const struct sk_buff *skb, struct flow_keys *flkeys) in fib_multipath_hash() argument
2126 if (!flkeys) { in fib_multipath_hash()
2128 flkeys = &keys; in fib_multipath_hash()
2132 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in fib_multipath_hash()
2133 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in fib_multipath_hash()
2134 hash_keys.ports.src = flkeys->ports.src; in fib_multipath_hash()
2135 hash_keys.ports.dst = flkeys->ports.dst; in fib_multipath_hash()
2136 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash()
2298 struct flow_keys *flkeys = NULL, _flkeys; in ip_route_input_slow() local
2378 flkeys = &_flkeys; in ip_route_input_slow()
[all …]
H A Dfib_frontend.c371 struct flow_keys flkeys; in __fib_validate_source() local
392 if (!fib4_rules_early_flow_dissect(net, skb, &fl4, &flkeys)) { in __fib_validate_source()