Home
last modified time | relevance | path

Searched refs:ip_proto (Results 101 – 125 of 144) sorted by relevance

123456

/openbmc/qemu/net/
H A Deth.c335 ipph.ip_proto = iphdr->ip_p; in eth_calc_ip4_pseudo_hdr_csum()
/openbmc/linux/include/net/
H A Dip6_fib.h613 fl6->flowi6_proto = flkeys->basic.ip_proto; in fib6_rules_early_flow_dissect()
H A Dip_fib.h429 fl4->flowi4_proto = flkeys->basic.ip_proto; in fib4_rules_early_flow_dissect()
H A Dip.h796 int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family,
/openbmc/linux/drivers/net/ethernet/
H A Djme.c2072 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 Dtc_tun.c188 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 Dfarch.c1994 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 Dfarch.c2063 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 Ddevlink_trap_control.sh671 skip_sw ip_proto udp src_port 12345 dst_port 54321 action trap
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c280 l4proto = match.key->ip_proto; in mtk_flow_offload_replace()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c421 switch (n->keys.basic.ip_proto) { in enic_grxclsrule()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c120 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 Dnf_flow_table_offload.c182 key->basic.ip_proto = tuple->l4proto; in nf_flow_rule_match()
183 mask->basic.ip_proto = 0xff; in nf_flow_rule_match()
H A Dnft_meta.c728 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 Dswitch-driver.rst137 * IPv4: dst_ip/src_ip/ip_proto/tos
/openbmc/linux/net/sched/
H A Dcls_flow.c90 return flow->basic.ip_proto; in flow_get_proto()
/openbmc/qemu/hw/net/
H A Drtl8139.c2221 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 Dioctl.c3303 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 Dbcmgenet.c1987 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 Dftgmac100.c696 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 Dhclge_main.h722 u8 ip_proto; member
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c1046 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 Dlib.sh1564 flower ip_proto udp dst_mac $mac action drop
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dlib.sh1564 flower ip_proto udp dst_mac $mac action drop
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnet_forwarding_lib.sh1564 flower ip_proto udp dst_mac $mac action drop

123456