/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 29 u8 ip_proto; member in struct:qede_arfs_tuple 389 __be16 src_port, __be16 dst_port, u8 ip_proto) 394 if (tpos->tuple.ip_proto == ip_proto && 440 u8 ip_proto; local 450 ip_proto = ip_hdr(skb)->protocol; 453 ip_proto = ipv6_hdr(skb)->nexthdr; 457 if (ip_proto != IPPROTO_TCP && ip_proto != IPPROTO_UDP) 466 skb, ports[0], ports[1], ip_proto); 388 qede_arfs_htbl_key_search(struct hlist_head *h, const struct sk_buff *skb, __be16 src_port, __be16 dst_port, u8 ip_proto) argument 1825 u8 ip_proto = 0; local [all...] |
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 1985 u8 ip_proto; local 2012 ip_proto = ip_hdr(skb)->protocol; 2015 ip_proto = ipv6_hdr(skb)->nexthdr; 2019 ip_proto = 0; 2029 if (ip_proto == IPPROTO_UDP)
|
/linux-master/net/ipv4/ |
H A D | route.c | 1940 hash_keys.basic.ip_proto = keys.basic.ip_proto; 1990 hash_keys.basic.ip_proto = keys.basic.ip_proto; 2027 hash_keys.basic.ip_proto = fl4->flowi4_proto; 2078 hash_keys.basic.ip_proto = flkeys->basic.ip_proto; 2086 hash_keys.basic.ip_proto = fl4->flowi4_proto; 2107 hash_keys.basic.ip_proto = keys.basic.ip_proto; 3102 inet_rtm_getroute_build_skb(__be32 src, __be32 dst, u8 ip_proto, __be16 sport, __be16 dport) argument 3240 u8 ip_proto = IPPROTO_UDP; local [all...] |
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 3713 if (match.key->ip_proto != IPPROTO_TCP) {
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 8455 if (!filter->dst_port || filter->ip_proto == IPPROTO_UDP) 8591 filter->ip_proto = match.key->ip_proto; 8731 switch (filter->ip_proto) {
|
H A D | i40e.h | 320 u8 ip_proto; /* IPPROTO value */ member in struct:i40e_cloud_filter
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1501 static void bnxt_gro_tunnel(struct sk_buff *skb, __be16 ip_proto) argument 1505 if (ip_proto == htons(ETH_P_IP)) { 5476 (((fkeys)->basic.ip_proto == IPPROTO_TCP && \ 5478 ((fkeys)->basic.ip_proto == IPPROTO_UDP && \ 5482 (((fkeys)->basic.ip_proto == IPPROTO_TCP && \ 5484 ((fkeys)->basic.ip_proto == IPPROTO_UDP && \ 5834 req->ip_protocol = keys->basic.ip_proto; 14190 keys1->basic.ip_proto != keys2->basic.ip_proto) 14276 ((fkeys->basic.ip_proto ! [all...] |
/linux-master/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_intf.c | 167 u8 ip_proto; local 184 ip_proto = ip_hdr(skb)->protocol; 191 ip_proto = ipv6_hdr(skb)->nexthdr; 198 switch (ip_proto) {
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_flower.c | 120 if (mt.mask->ip_proto) { 121 st->l4_proto = mt.key->ip_proto; 155 NL_SET_ERR_MSG_MOD(st->fco->common.extack, "ip_proto parse error");
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_arfs.c | 72 u8 ip_proto; member in struct:arfs_tuple 499 u8 ip_proto, __be16 etype) 501 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_TCP) 503 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_UDP) 505 if (etype == htons(ETH_P_IPV6) && ip_proto == IPPROTO_TCP) 507 if (etype == htons(ETH_P_IPV6) && ip_proto == IPPROTO_UDP) 537 arfs_table = arfs_get_table(arfs, tuple->ip_proto, tuple->etype); 539 WARN_ONCE(1, "arfs table does not exist for etype %u and ip_proto %u\n", 540 tuple->etype, tuple->ip_proto); 546 if (tuple->ip_proto 498 arfs_get_table(struct mlx5e_arfs_tables *arfs, u8 ip_proto, __be16 etype) argument [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 624 u8 ip_proto = 0; local 658 if (match.mask->ip_proto && 659 (match.key->ip_proto != IPPROTO_TCP && 660 match.key->ip_proto != IPPROTO_UDP && 661 match.key->ip_proto != IPPROTO_SCTP && 662 match.key->ip_proto != IPPROTO_ICMP && 663 match.key->ip_proto != IPPROTO_ESP && 664 match.key->ip_proto != IPPROTO_AH && 665 match.key->ip_proto != IPPROTO_ICMPV6)) { 667 "ip_proto [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 116 static enum ice_protocol_type ice_proto_type_from_l4_port(u16 ip_proto) argument 118 switch (ip_proto) { 325 hdr->l3_key.ip_proto == IPPROTO_UDP) { 592 list[i].type = ice_proto_type_from_l4_port(headers->l3_key.ip_proto); 1358 headers->l3_key.ip_proto = IPPROTO_UDP; 1521 headers->l3_key.ip_proto = match.key->ip_proto; 1681 switch (headers->l3_key.ip_proto) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | ptp.h | 88 return (fk.basic.ip_proto == IPPROTO_UDP &&
|
/linux-master/include/linux/ |
H A D | skbuff.h | 1505 __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto, 1509 int thoff, u8 ip_proto) 1511 return __skb_flow_get_ports(skb, thoff, ip_proto, NULL, 0); 1508 skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto) argument
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 358 offsetof(struct hclge_fd_rule, tuples.ip_proto), 359 offsetof(struct hclge_fd_rule, tuples_mask.ip_proto) }, 6173 struct hclge_fd_rule *rule, u8 ip_proto) 6197 rule->tuples.ip_proto = ip_proto; 6198 rule->tuples_mask.ip_proto = 0xFF; 6217 rule->tuples.ip_proto = fs->h_u.usr_ip4_spec.proto; 6218 rule->tuples_mask.ip_proto = fs->m_u.usr_ip4_spec.proto; 6225 struct hclge_fd_rule *rule, u8 ip_proto) 6249 rule->tuples.ip_proto 6172 hclge_fd_get_tcpip4_tuple(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule, u8 ip_proto) argument 6224 hclge_fd_get_tcpip6_tuple(struct ethtool_rx_flow_spec *fs, struct hclge_fd_rule *rule, u8 ip_proto) argument [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1d_ipv6.sh | 346 flower ip_proto udp src_ip $vxlan_local_ip \ 403 flower ip_proto udp src_ip $vxlan_local_ip \ 469 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ 472 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ 656 flower ip_tos $tos ip_proto udp dst_port $VXPORT action pass
|
H A D | vxlan_bridge_1q_ipv6.sh | 449 flower ip_proto udp src_ip $vxlan_local_ip \ 514 flower ip_proto udp src_ip $vxlan_local_ip \ 589 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \ 592 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
|
H A D | vxlan_bridge_1d.sh | 535 flower ip_tos $tos ip_proto udp dst_port $VXPORT action pass
|
H A D | tc_police.sh | 133 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 159 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 171 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 208 dst_ip 198.51.100.1 ip_proto udp src_port 12345 \ 213 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 220 dst_ip 198.51.100.1 ip_proto udp dst_port 22222 \ 242 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 247 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 252 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \ 305 dst_ip 198.51.100.1 ip_proto ud [all...] |
H A D | lib.sh | 1101 flower ip_proto icmp$vsuf $filter \ 1618 flower ip_proto udp dst_mac $mac action drop
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mbox.h | 1548 u8 ip_proto; member in struct:flow_msg
|
/linux-master/drivers/net/ethernet/sun/ |
H A D | niu.c | 6563 u8 ip_proto; local 6578 ip_proto = ip_hdr(skb)->protocol; 6582 ip_proto = ipv6_hdr(skb)->nexthdr; 6587 ip_proto = ihl = 0; 6595 csum_bits = (ip_proto == IPPROTO_TCP ? 6597 (ip_proto == IPPROTO_UDP ?
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | tc_flower.sh | 881 # Create chain with up to 2 key blocks (ip_proto only) 883 ip_proto tcp &> /dev/null 884 # Create chain with 2-4 key blocks (ip_proto, src MAC) 886 ip_proto tcp \ 888 # Create chain with 4-8 key blocks (ip_proto, src & dst MAC, IPv4 dest) 890 ip_proto tcp \ 903 $tcflags ip_proto tcp action drop 1057 ip_proto tcp tcp_flags 0x01/0x01 \ 1078 ip_proto tcp tcp_flags 0x01/0x01 \
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 7245 __u8 ip_proto; member in struct:bpf_flow_keys
|
/linux-master/net/xfrm/ |
H A D | xfrm_policy.c | 3411 switch (flkeys->basic.ip_proto) { 3421 fl4->flowi4_proto = flkeys->basic.ip_proto; 3445 switch (flkeys->basic.ip_proto) { 3455 fl6->flowi6_proto = flkeys->basic.ip_proto;
|