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.c3440 decode_session4(const struct xfrm_flow_keys *flkeys, struct flowi *fl, bool reverse) in decode_session4() argument
3447 fl4->saddr = flkeys->addrs.ipv4.dst; in decode_session4()
3448 fl4->daddr = flkeys->addrs.ipv4.src; in decode_session4()
3449 fl4->fl4_sport = flkeys->ports.dst; in decode_session4()
3450 fl4->fl4_dport = flkeys->ports.src; in decode_session4()
3452 fl4->saddr = flkeys->addrs.ipv4.src; in decode_session4()
3453 fl4->daddr = flkeys->addrs.ipv4.dst; in decode_session4()
3454 fl4->fl4_sport = flkeys->ports.src; in decode_session4()
3455 fl4->fl4_dport = flkeys->ports.dst; in decode_session4()
3458 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.c2375 struct flow_keys *flkeys) in ip6_multipath_l3_keys() argument
2379 struct flow_keys *_flkeys = flkeys; in ip6_multipath_l3_keys()
2543 const struct sk_buff *skb, struct flow_keys *flkeys) in rt6_multipath_hash() argument
2553 ip6_multipath_l3_keys(skb, &hash_keys, flkeys); in rt6_multipath_hash()
2573 if (!flkeys) { in rt6_multipath_hash()
2575 flkeys = &keys; in rt6_multipath_hash()
2578 hash_keys.addrs.v6addrs.src = flkeys->addrs.v6addrs.src; in rt6_multipath_hash()
2579 hash_keys.addrs.v6addrs.dst = flkeys->addrs.v6addrs.dst; in rt6_multipath_hash()
2580 hash_keys.ports.src = flkeys->ports.src; in rt6_multipath_hash()
2581 hash_keys.ports.dst = flkeys in rt6_multipath_hash()
2660 struct flow_keys *flkeys = NULL, _flkeys; ip6_route_input() local
[all...]
/linux/net/ipv4/
H A Droute.c2098 const struct sk_buff *skb, struct flow_keys *flkeys) in fib_multipath_hash()
2128 if (!flkeys) { in fib_multipath_hash()
2130 flkeys = &keys; in fib_multipath_hash()
2134 hash_keys.addrs.v4addrs.src = flkeys->addrs.v4addrs.src; in fib_multipath_hash()
2135 hash_keys.addrs.v4addrs.dst = flkeys->addrs.v4addrs.dst; in fib_multipath_hash()
2136 hash_keys.ports.src = flkeys->ports.src; in fib_multipath_hash()
2137 hash_keys.ports.dst = flkeys->ports.dst; in fib_multipath_hash()
2138 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash()
2300 struct flow_keys *flkeys = NULL, _flkeys; in ip_route_input_slow()
2380 flkeys in ip_route_input_slow()
2096 fib_multipath_hash(const struct net * net,const struct flowi4 * fl4,const struct sk_buff * skb,struct flow_keys * flkeys) fib_multipath_hash() argument
2298 struct flow_keys *flkeys = NULL, _flkeys; ip_route_input_slow() local
[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()