Searched refs:ip_proto (Results 1 – 14 of 14) sorted by relevance
/net/ipv4/ |
D | netlink.c | 10 int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family, in rtm_getroute_parse_ip_proto() argument 13 *ip_proto = nla_get_u8(attr); in rtm_getroute_parse_ip_proto() 15 switch (*ip_proto) { in rtm_getroute_parse_ip_proto()
|
D | route.c | 1934 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_outer() 1984 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_inner() 2021 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_custom_hash_fl4() 2072 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash() 2080 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_hash() 2101 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_hash() 3145 u8 ip_proto, __be16 sport, in inet_rtm_getroute_build_skb() argument 3162 iph->protocol = ip_proto; in inet_rtm_getroute_build_skb() 3282 u8 ip_proto = IPPROTO_UDP; in inet_rtm_getroute() local 3310 &ip_proto, AF_INET, extack); in inet_rtm_getroute() [all …]
|
D | fib_rules.c | 192 if (rule->ip_proto && (rule->ip_proto != fl4->flowi4_proto)) in fib4_rule_match()
|
/net/core/ |
D | flow_dissector.c | 119 __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto, in __skb_flow_get_ports() argument 122 int poff = proto_ports_offset(ip_proto); in __skb_flow_get_ports() 830 int nhoff, u8 ip_proto, int hlen) in __skb_flow_dissect_ports() argument 847 key_ports->ports = __skb_flow_get_ports(skb, nhoff, ip_proto, in __skb_flow_dissect_ports() 924 key_basic->ip_proto = flow_keys->ip_proto; in __skb_flow_bpf_to_target() 1040 u8 ip_proto = 0; in __skb_flow_dissect() local 1177 ip_proto = iph->protocol; in __skb_flow_dissect() 1223 ip_proto = iph->nexthdr; in __skb_flow_dissect() 1501 switch (ip_proto) { in __skb_flow_dissect() 1528 ip_proto = opthdr[0]; in __skb_flow_dissect() [all …]
|
D | fib_rules.c | 471 if (rule->ip_proto && r->ip_proto != rule->ip_proto) in rule_find() 656 nlrule->ip_proto = nla_get_u8(tb[FRA_IP_PROTO]); in fib_nl2rule() 732 if (r->ip_proto != rule->ip_proto) in rule_exists() 1070 (rule->ip_proto && nla_put_u8(skb, FRA_IP_PROTO, rule->ip_proto))) in fib_nl_fill_rule()
|
/net/sched/ |
D | cls_flower.c | 806 if (key->basic.ip_proto != IPPROTO_ESP && in fl_set_key_spi() 807 key->basic.ip_proto != IPPROTO_AH) { in fl_set_key_spi() 1808 fl_set_key_val(tb, &key->basic.ip_proto, TCA_FLOWER_KEY_IP_PROTO, in fl_set_key() 1809 &mask->basic.ip_proto, TCA_FLOWER_UNSPEC, in fl_set_key() 1810 sizeof(key->basic.ip_proto)); in fl_set_key() 1834 if (key->basic.ip_proto == IPPROTO_TCP) { in fl_set_key() 1844 } else if (key->basic.ip_proto == IPPROTO_UDP) { in fl_set_key() 1851 } else if (key->basic.ip_proto == IPPROTO_SCTP) { in fl_set_key() 1859 key->basic.ip_proto == IPPROTO_ICMP) { in fl_set_key() 1869 key->basic.ip_proto == IPPROTO_ICMPV6) { in fl_set_key() [all …]
|
D | cls_flow.c | 90 return flow->basic.ip_proto; in flow_get_proto()
|
D | sch_cake.c | 687 host_keys.basic.ip_proto = 0; in cake_hash()
|
/net/ipv6/ |
D | fib6_rules.c | 334 if (rule->ip_proto && (rule->ip_proto != fl6->flowi6_proto)) in fib6_rule_match()
|
D | route.c | 2332 keys->basic.ip_proto = _flkeys->basic.ip_proto; in ip6_multipath_l3_keys() 2337 keys->basic.ip_proto = key_iph->nexthdr; in ip6_multipath_l3_keys() 2360 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_outer() 2412 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_inner() 2449 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_custom_hash_fl6() 2477 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash() 2501 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash() 2509 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash() 2534 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash() 2546 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
|
/net/netfilter/ |
D | nft_payload.c | 404 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip() 444 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip6()
|
D | nf_flow_table_offload.c | 182 key->basic.ip_proto = tuple->l4proto; in nf_flow_rule_match() 183 mask->basic.ip_proto = 0xff; in nf_flow_rule_match()
|
D | nft_meta.c | 728 NFT_OFFLOAD_MATCH_EXACT(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_meta_get_offload()
|
/net/ethtool/ |
D | ioctl.c | 3300 match->key.basic.ip_proto = IPPROTO_TCP; in ethtool_rx_flow_rule_create() 3301 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create() 3305 match->key.basic.ip_proto = IPPROTO_UDP; in ethtool_rx_flow_rule_create() 3306 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create()
|