Searched refs:flkeys (Results 1 – 4 of 4) sorted by relevance
| /linux/include/net/ |
| H A D | ip_fib.h | 360 struct flow_keys *flkeys) in fib4_rules_early_flow_dissect() argument 421 struct flow_keys *flkeys) in fib4_rules_early_flow_dissect() argument 428 memset(flkeys, 0, sizeof(*flkeys)); in fib4_rules_early_flow_dissect() 430 flkeys, NULL, 0, 0, 0, flag); in fib4_rules_early_flow_dissect() 432 fl4->fl4_sport = flkeys->ports.src; in fib4_rules_early_flow_dissect() 433 fl4->fl4_dport = flkeys->ports.dst; in fib4_rules_early_flow_dissect() 434 fl4->flowi4_proto = flkeys->basic.ip_proto; in fib4_rules_early_flow_dissect() 545 const struct sk_buff *skb, struct flow_keys *flkeys);
|
| /linux/net/xfrm/ |
| H A D | xfrm_policy.c | 3436 decode_session4(const struct xfrm_flow_keys *flkeys, struct flowi *fl, bool reverse) in decode_session4() argument 3443 fl4->saddr = flkeys->addrs.ipv4.dst; in decode_session4() 3444 fl4->daddr = flkeys->addrs.ipv4.src; in decode_session4() 3445 fl4->fl4_sport = flkeys->ports.dst; in decode_session4() 3446 fl4->fl4_dport = flkeys->ports.src; in decode_session4() 3448 fl4->saddr = flkeys->addrs.ipv4.src; in decode_session4() 3449 fl4->daddr = flkeys->addrs.ipv4.dst; in decode_session4() 3450 fl4->fl4_sport = flkeys->ports.src; in decode_session4() 3451 fl4->fl4_dport = flkeys->ports.dst; in decode_session4() 3454 switch (flkeys->basic.ip_proto) { in decode_session4() [all …]
|
| /linux/net/ipv6/ |
| H A D | route.c | 2358 struct flow_keys *flkeys) in ip6_multipath_l3_keys() argument 2362 struct flow_keys *_flkeys = flkeys; in ip6_multipath_l3_keys() 2526 const struct sk_buff *skb, struct flow_keys *flkeys) in rt6_multipath_hash() argument 2536 ip6_multipath_l3_keys(skb, &hash_keys, flkeys); in rt6_multipath_hash() 2556 if (!flkeys) { in rt6_multipath_hash() 2558 flkeys = &keys; in rt6_multipath_hash() 2561 hash_keys.addrs.v6addrs.src = flkeys->addrs.v6addrs.src; in rt6_multipath_hash() 2562 hash_keys.addrs.v6addrs.dst = flkeys->addrs.v6addrs.dst; in rt6_multipath_hash() 2563 hash_keys.ports.src = flkeys->ports.src; in rt6_multipath_hash() 2564 hash_keys.ports.dst = flkeys->ports.dst; in rt6_multipath_hash() [all …]
|
| /linux/net/ipv4/ |
| H A D | route.c | 2067 const struct sk_buff *skb, struct flow_keys *flkeys) in fib_multipath_hash() argument 2097 if (!flkeys) { in fib_multipath_hash() 2099 flkeys = &keys; in fib_multipath_hash() 2103 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in fib_multipath_hash() 2104 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in fib_multipath_hash() 2105 hash_keys.ports.src = flkeys->ports.src; in fib_multipath_hash() 2106 hash_keys.ports.dst = flkeys->ports.dst; in fib_multipath_hash() 2107 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash() 2269 struct flow_keys *flkeys = NULL, _flkeys; in ip_route_input_slow() local 2349 flkeys = &_flkeys; in ip_route_input_slow() [all …]
|