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 | 1949 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_outer() 1999 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_custom_hash_inner() 2036 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_custom_hash_fl4() 2087 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in fib_multipath_hash() 2095 hash_keys.basic.ip_proto = fl4->flowi4_proto; in fib_multipath_hash() 2116 hash_keys.basic.ip_proto = keys.basic.ip_proto; in fib_multipath_hash() 3163 u8 ip_proto, __be16 sport, in inet_rtm_getroute_build_skb() argument 3180 iph->protocol = ip_proto; in inet_rtm_getroute_build_skb() 3300 u8 ip_proto = IPPROTO_UDP; in inet_rtm_getroute() local 3328 &ip_proto, AF_INET, extack); in inet_rtm_getroute() [all …]
|
D | fib_rules.c | 191 if (rule->ip_proto && (rule->ip_proto != fl4->flowi4_proto)) in fib4_rule_match()
|
/net/core/ |
D | flow_dissector.c | 116 __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto, in __skb_flow_get_ports() argument 119 int poff = proto_ports_offset(ip_proto); in __skb_flow_get_ports() 726 int nhoff, u8 ip_proto, int hlen) in __skb_flow_dissect_ports() argument 743 key_ports->ports = __skb_flow_get_ports(skb, nhoff, ip_proto, in __skb_flow_dissect_ports() 820 key_basic->ip_proto = flow_keys->ip_proto; in __skb_flow_bpf_to_target() 931 u8 ip_proto = 0; in __skb_flow_dissect() local 1052 ip_proto = iph->protocol; in __skb_flow_dissect() 1098 ip_proto = iph->nexthdr; in __skb_flow_dissect() 1310 switch (ip_proto) { in __skb_flow_dissect() 1332 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() 1049 (rule->ip_proto && nla_put_u8(skb, FRA_IP_PROTO, rule->ip_proto))) in fib_nl_fill_rule()
|
/net/sched/ |
D | cls_flower.c | 1570 fl_set_key_val(tb, &key->basic.ip_proto, TCA_FLOWER_KEY_IP_PROTO, in fl_set_key() 1571 &mask->basic.ip_proto, TCA_FLOWER_UNSPEC, in fl_set_key() 1572 sizeof(key->basic.ip_proto)); in fl_set_key() 1596 if (key->basic.ip_proto == IPPROTO_TCP) { in fl_set_key() 1606 } else if (key->basic.ip_proto == IPPROTO_UDP) { in fl_set_key() 1613 } else if (key->basic.ip_proto == IPPROTO_SCTP) { in fl_set_key() 1621 key->basic.ip_proto == IPPROTO_ICMP) { in fl_set_key() 1631 key->basic.ip_proto == IPPROTO_ICMPV6) { in fl_set_key() 1664 if (key->basic.ip_proto == IPPROTO_TCP || in fl_set_key() 1665 key->basic.ip_proto == IPPROTO_UDP || in fl_set_key() [all …]
|
D | cls_flow.c | 89 return flow->basic.ip_proto; in flow_get_proto()
|
D | sch_cake.c | 686 host_keys.basic.ip_proto = 0; in cake_hash()
|
/net/ipv6/ |
D | fib6_rules.c | 329 if (rule->ip_proto && (rule->ip_proto != fl6->flowi6_proto)) in fib6_rule_match()
|
D | route.c | 2331 keys->basic.ip_proto = _flkeys->basic.ip_proto; in ip6_multipath_l3_keys() 2336 keys->basic.ip_proto = key_iph->nexthdr; in ip6_multipath_l3_keys() 2359 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_outer() 2411 hash_keys.basic.ip_proto = keys.basic.ip_proto; in rt6_multipath_custom_hash_inner() 2448 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_custom_hash_fl6() 2476 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash() 2500 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash() 2508 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash() 2533 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; in rt6_multipath_hash() 2545 hash_keys.basic.ip_proto = fl6->flowi6_proto; in rt6_multipath_hash()
|
/net/netfilter/ |
D | nft_payload.c | 339 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip() 379 NFT_OFFLOAD_MATCH(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_payload_offload_ip6()
|
D | nf_flow_table_offload.c | 178 key->basic.ip_proto = tuple->l4proto; in nf_flow_rule_match() 179 mask->basic.ip_proto = 0xff; in nf_flow_rule_match()
|
D | nft_meta.c | 721 NFT_OFFLOAD_MATCH_EXACT(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_meta_get_offload()
|
/net/ethtool/ |
D | ioctl.c | 3180 match->key.basic.ip_proto = IPPROTO_TCP; in ethtool_rx_flow_rule_create() 3181 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create() 3185 match->key.basic.ip_proto = IPPROTO_UDP; in ethtool_rx_flow_rule_create() 3186 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create()
|