Home
last modified time | relevance | path

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

/linux-6.15/include/net/
H A Dip_fib.h360 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);
H A Dip6_fib.h640 struct flow_keys *flkeys) in fib6_rules_early_flow_dissect() argument
647 memset(flkeys, 0, sizeof(*flkeys)); in fib6_rules_early_flow_dissect()
649 flkeys, NULL, 0, 0, 0, flag); in fib6_rules_early_flow_dissect()
651 fl6->fl6_sport = flkeys->ports.src; in fib6_rules_early_flow_dissect()
652 fl6->fl6_dport = flkeys->ports.dst; in fib6_rules_early_flow_dissect()
653 fl6->flowi6_proto = flkeys->basic.ip_proto; in fib6_rules_early_flow_dissect()
686 struct flow_keys *flkeys) in fib6_rules_early_flow_dissect() argument
/linux-6.15/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-6.15/net/xfrm/
H A Dxfrm_policy.c3445 fl4->fl4_sport = flkeys->ports.dst; in decode_session4()
3446 fl4->fl4_dport = flkeys->ports.src; 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()
3479 fl6->fl6_sport = flkeys->ports.dst; in decode_session6()
3480 fl6->fl6_dport = flkeys->ports.src; in decode_session6()
3484 fl6->fl6_sport = flkeys->ports.src; in decode_session6()
3488 switch (flkeys->basic.ip_proto) { in decode_session6()
3505 struct xfrm_flow_keys flkeys; in __xfrm_decode_session() local
[all …]
/linux-6.15/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.c2341 struct flow_keys *flkeys) in ip6_multipath_l3_keys() argument
2345 struct flow_keys *_flkeys = flkeys; in ip6_multipath_l3_keys()
2515 ip6_multipath_l3_keys(skb, &hash_keys, flkeys); in rt6_multipath_hash()
2535 if (!flkeys) { in rt6_multipath_hash()
2537 flkeys = &keys; in rt6_multipath_hash()
2542 hash_keys.ports.src = flkeys->ports.src; in rt6_multipath_hash()
2543 hash_keys.ports.dst = flkeys->ports.dst; in rt6_multipath_hash()
2562 if (!flkeys) { in rt6_multipath_hash()
2564 flkeys = &keys; in rt6_multipath_hash()
2619 struct flow_keys *flkeys = NULL, _flkeys; in ip6_route_input() local
[all …]