/openbmc/qemu/net/ |
H A D | eth.c | 335 ipph.ip_proto = iphdr->ip_p; in eth_calc_ip4_pseudo_hdr_csum()
|
/openbmc/linux/include/net/ |
H A D | ip6_fib.h | 613 fl6->flowi6_proto = flkeys->basic.ip_proto; in fib6_rules_early_flow_dissect()
|
H A D | ip_fib.h | 429 fl4->flowi4_proto = flkeys->basic.ip_proto; in fib4_rules_early_flow_dissect()
|
H A D | ip.h | 796 int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family,
|
/openbmc/linux/drivers/net/ethernet/ |
H A D | jme.c | 2072 u8 ip_proto; in jme_tx_csum() local 2076 ip_proto = ip_hdr(skb)->protocol; in jme_tx_csum() 2079 ip_proto = ipv6_hdr(skb)->nexthdr; in jme_tx_csum() 2082 ip_proto = 0; in jme_tx_csum() 2086 switch (ip_proto) { in jme_tx_csum()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun.c | 188 static int mlx5e_gen_ip_tunnel_header(char buf[], __u8 *ip_proto, in mlx5e_gen_ip_tunnel_header() argument 196 return e->tunnel->generate_ip_tun_hdr(buf, ip_proto, e); in mlx5e_gen_ip_tunnel_header()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 1994 switch (gen_spec->ip_proto) { in ef4_farch_filter_from_gen_spec() 2016 if (!is_full && gen_spec->ip_proto == IPPROTO_UDP) { in ef4_farch_filter_from_gen_spec() 2093 gen_spec->ip_proto = in ef4_farch_filter_to_gen_spec() 2110 (!is_full && gen_spec->ip_proto == IPPROTO_UDP)) { in ef4_farch_filter_to_gen_spec()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | farch.c | 2063 switch (gen_spec->ip_proto) { in efx_farch_filter_from_gen_spec() 2085 if (!is_full && gen_spec->ip_proto == IPPROTO_UDP) { in efx_farch_filter_from_gen_spec() 2162 gen_spec->ip_proto = in efx_farch_filter_to_gen_spec() 2179 (!is_full && gen_spec->ip_proto == IPPROTO_UDP)) { in efx_farch_filter_to_gen_spec()
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_trap_control.sh | 671 skip_sw ip_proto udp src_port 12345 dst_port 54321 action trap
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 280 l4proto = match.key->ip_proto; in mtk_flow_offload_replace()
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 421 switch (n->keys.basic.ip_proto) { in enic_grxclsrule()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_flower.c | 120 if (mt.mask->ip_proto) { in sparx5_tc_flower_handler_basic_usage() 121 st->l4_proto = mt.key->ip_proto; in sparx5_tc_flower_handler_basic_usage()
|
/openbmc/linux/net/netfilter/ |
H A 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()
|
H A D | nft_meta.c | 728 NFT_OFFLOAD_MATCH_EXACT(FLOW_DISSECTOR_KEY_BASIC, basic, ip_proto, in nft_meta_get_offload()
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
H A D | switch-driver.rst | 137 * IPv4: dst_ip/src_ip/ip_proto/tos
|
/openbmc/linux/net/sched/ |
H A D | cls_flow.c | 90 return flow->basic.ip_proto; in flow_get_proto()
|
/openbmc/qemu/hw/net/ |
H A D | rtl8139.c | 2221 p_tcpip_hdr->ip_proto = IP_PROTO_TCP; in rtl8139_cplus_transmit_one() 2282 p_tcpip_hdr->ip_proto = IP_PROTO_TCP; in rtl8139_cplus_transmit_one() 2302 p_udpip_hdr->ip_proto = IP_PROTO_UDP; in rtl8139_cplus_transmit_one()
|
/openbmc/linux/net/ethtool/ |
H A D | ioctl.c | 3303 match->key.basic.ip_proto = IPPROTO_TCP; in ethtool_rx_flow_rule_create() 3304 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create() 3308 match->key.basic.ip_proto = IPPROTO_UDP; in ethtool_rx_flow_rule_create() 3309 match->mask.basic.ip_proto = 0xff; in ethtool_rx_flow_rule_create()
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 1987 u8 ip_proto; in bcmgenet_add_tsb() local 2014 ip_proto = ip_hdr(skb)->protocol; in bcmgenet_add_tsb() 2017 ip_proto = ipv6_hdr(skb)->nexthdr; in bcmgenet_add_tsb() 2021 ip_proto = 0; in bcmgenet_add_tsb() 2031 if (ip_proto == IPPROTO_UDP) in bcmgenet_add_tsb()
|
/openbmc/linux/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 696 u8 ip_proto = ip_hdr(skb)->protocol; in ftgmac100_prep_tx_csum() local 699 switch(ip_proto) { in ftgmac100_prep_tx_csum()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 722 u8 ip_proto; member
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 1046 if (fkeys->basic.ip_proto == IPPROTO_TCP) in bnxt_grxclsrule() 1048 else if (fkeys->basic.ip_proto == IPPROTO_UDP) in bnxt_grxclsrule() 1067 if (fkeys->basic.ip_proto == IPPROTO_TCP) in bnxt_grxclsrule() 1069 else if (fkeys->basic.ip_proto == IPPROTO_UDP) in bnxt_grxclsrule()
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | lib.sh | 1564 flower ip_proto udp dst_mac $mac action drop
|
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | lib.sh | 1564 flower ip_proto udp dst_mac $mac action drop
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | net_forwarding_lib.sh | 1564 flower ip_proto udp dst_mac $mac action drop
|