Home
last modified time | relevance | path

Searched refs:ETH_P_IP (Results 1 – 25 of 218) sorted by relevance

123456789

/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c68 .etype = ETH_P_IP,
76 .etype = ETH_P_IP,
84 .etype = ETH_P_IP,
92 .etype = ETH_P_IP,
100 .etype = ETH_P_IP,
115 .etype = ETH_P_IP,
123 .etype = ETH_P_IP,
131 .etype = ETH_P_IP,
182 if (ethertype == ETH_P_IP) in mlx5_etype_to_ipv()
/drivers/infiniband/sw/rxe/
Drxe_icrc.c82 (skb->protocol == htons(ETH_P_IP) ? in rxe_icrc_hdr()
96 if (skb->protocol == htons(ETH_P_IP)) { /* IPv4 */ in rxe_icrc_hdr()
158 else if (skb->protocol == htons(ETH_P_IP)) in rxe_icrc_check()
Drxe_recv.c124 if (skb->protocol == htons(ETH_P_IP)) { in check_addr()
242 if (skb->protocol == htons(ETH_P_IP)) in rxe_rcv_mcast_pkt()
337 if (skb->protocol == htons(ETH_P_IP)) { in rxe_chk_dgid()
Drxe_net.c354 if (skb->protocol == htons(ETH_P_IP)) in rxe_prepare()
388 if (skb->protocol == htons(ETH_P_IP)) { in rxe_send()
415 if (skb->protocol == htons(ETH_P_IP)) in rxe_loopback()
515 skb->protocol = htons(ETH_P_IP); in rxe_init_packet()
/drivers/net/arcnet/
Drfc1051.c107 return htons(ETH_P_IP); in type_trans()
117 return htons(ETH_P_IP); in type_trans()
170 case ETH_P_IP: in build_header()
Drfc1201.c111 return htons(ETH_P_IP); in type_trans()
128 return htons(ETH_P_IP); in type_trans()
387 case ETH_P_IP: in build_header()
/drivers/net/ethernet/netronome/nfp/abm/
Dcls.c68 case htons(ETH_P_IP): in nfp_abm_u32_check_knode()
182 tos_off = proto == htons(ETH_P_IP) ? 16 : 20; in nfp_abm_u32_knode_replace()
244 if (cls_u32->common.protocol != htons(ETH_P_IP) && in nfp_abm_setup_tc_block_cb()
/drivers/net/ethernet/sfc/falcon/
Dfilter.h187 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_local()
212 spec->ether_type = htons(ETH_P_IP); in ef4_filter_set_ipv4_full()
Drx.c855 if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) in ef4_filter_rfs()
870 if (fk.basic.n_proto == htons(ETH_P_IP)) { in ef4_filter_rfs()
890 if (spec.ether_type == htons(ETH_P_IP)) in ef4_filter_rfs()
968 if (spec->ether_type == htons(ETH_P_IP) && in ef4_filter_is_mc_recipient()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_selftest.c133 ethh->h_proto = htons(ETH_P_IP); in mlx5e_test_get_udp_skb()
165 skb->protocol = htons(ETH_P_IP); in mlx5e_test_get_udp_skb()
243 lbtp->pt.type = htons(ETH_P_IP); in mlx5e_test_loopback_setup()
Den_arfs.c466 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_TCP) in arfs_get_table()
468 if (etype == htons(ETH_P_IP) && ip_proto == IPPROTO_UDP) in arfs_get_table()
527 if (tuple->etype == htons(ETH_P_IP)) { in arfs_add_rule()
641 if (tuple->etype == htons(ETH_P_IP)) { in arfs_alloc_rule()
668 if (tuple->etype == htons(ETH_P_IP)) in arfs_cmp()
706 if (fk.basic.n_proto != htons(ETH_P_IP) && in mlx5e_rx_flow_steer()
/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c369 if (skb->protocol == htons(ETH_P_IP)) { in qede_compare_ip_addr()
445 if (skb->protocol != htons(ETH_P_IP) && in qede_rx_flow_steer()
449 if (skb->protocol == htons(ETH_P_IP)) { in qede_rx_flow_steer()
502 if (skb->protocol == htons(ETH_P_IP)) { in qede_rx_flow_steer()
1342 if (fltr->tuple.eth_proto == htons(ETH_P_IP)) { in qede_get_cls_rule_entry()
1403 if (t->eth_proto == htons(ETH_P_IP)) in qede_flow_get_min_header_size()
1419 if (a->eth_proto != htons(ETH_P_IP) || in qede_flow_spec_ipv4_cmp()
1420 b->eth_proto != htons(ETH_P_IP)) in qede_flow_spec_ipv4_cmp()
1794 tuple->eth_proto = htons(ETH_P_IP); in qede_flow_parse_tcp_v4()
1814 tuple->eth_proto = htons(ETH_P_IP); in qede_flow_parse_udp_v4()
[all …]
/drivers/net/ethernet/sfc/
Dfilter.h214 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local()
239 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
Drx_common.c660 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
917 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
933 if (req->spec.ether_type == htons(ETH_P_IP)) in efx_filter_rfs_work()
988 if (fk.basic.n_proto != htons(ETH_P_IP) && fk.basic.n_proto != htons(ETH_P_IPV6)) { in efx_filter_rfs()
1008 if (fk.basic.n_proto == htons(ETH_P_IP)) { in efx_filter_rfs()
Dtx_tso.c155 if (protocol == htons(ETH_P_IP)) { in efx_tso_check_protocol()
183 if (st->protocol == htons(ETH_P_IP)) { in tso_start()
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Den_accel.h63 case htons(ETH_P_IP): in mlx5e_tx_tunnel_accel()
83 swp_spec.tun_l3_proto = htons(ETH_P_IP); in mlx5e_tx_tunnel_accel()
Dipsec_rxtx.c127 if (skb->protocol == htons(ETH_P_IP)) { in mlx5e_ipsec_remove_trailer()
335 (skb->protocol != htons(ETH_P_IP) && in mlx5e_ipsec_tx_build_eseg()
385 (skb->protocol != htons(ETH_P_IP) && in mlx5e_ipsec_handle_tx_skb()
/drivers/net/ethernet/intel/ice/
Dice_arfs.c319 if (fk->basic.n_proto == htons(ETH_P_IP)) { in ice_arfs_build_entry()
367 if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_UDP) in ice_arfs_is_perfect_flow_set()
369 else if (l3_proto == htons(ETH_P_IP) && l4_proto == IPPROTO_TCP) in ice_arfs_is_perfect_flow_set()
423 if ((n_proto == htons(ETH_P_IP) && !ip_is_fragment(ip_hdr(skb))) || in ice_rx_flow_steer()
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_data.c260 if (skb->protocol == htons(ETH_P_IP)) { in rmnet_map_v5_checksum_uplink_packet()
421 if (skb->protocol == htons(ETH_P_IP)) in rmnet_map_checksum_downlink_packet()
452 if (skb->protocol == htons(ETH_P_IP)) { in rmnet_map_v4_checksum_uplink_packet()
/drivers/net/
Dbareudp.c68 if (skb->protocol == htons(ETH_P_IP)) in bareudp_udp_encap_recv()
73 if (bareudp->ethertype == htons(ETH_P_IP)) { in bareudp_udp_encap_recv()
84 proto = htons(ETH_P_IP); in bareudp_udp_encap_recv()
420 if (bareudp->ethertype == htons(ETH_P_IP) && in bareudp_proto_valid()
623 conf->ethertype != htons(ETH_P_IP))) in bareudp_configure()
/drivers/net/netdevsim/
Dpsample.c55 eth->h_proto = htons(ETH_P_IP); in nsim_dev_psample_skb_build()
56 skb->protocol = htons(ETH_P_IP); in nsim_dev_psample_skb_build()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.h63 if (fk.basic.n_proto != htons(ETH_P_IP) && in mlx5e_use_ptpsq()
/drivers/net/wan/
Dhdlc_raw.c26 return cpu_to_be16(ETH_P_IP); in raw_type_trans()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c119 ehdr->h_proto = htons(ETH_P_IP); in stmmac_test_get_udp_skb()
124 ptr[3] = htons(ETH_P_IP); in stmmac_test_get_udp_skb()
140 tag[1] = htons(ETH_P_IP); in stmmac_test_get_udp_skb()
145 tag[3] = htons(ETH_P_IP); in stmmac_test_get_udp_skb()
209 skb->protocol = htons(ETH_P_IP); in stmmac_test_get_udp_skb()
334 tpriv->pt.type = htons(ETH_P_IP); in __stmmac_test_loopback()
908 tpriv->pt.type = htons(ETH_P_IP); in __stmmac_test_vlanfilt()
1279 tpriv->pt.type = svlan ? htons(ETH_P_8021Q) : htons(ETH_P_IP); in stmmac_test_vlanoff_common()
/drivers/staging/r8188eu/core/
Drtw_br_ext.c413 if (protocol == ETH_P_IP) { in nat25_db_handle()
448 if (arp->ar_pro != __constant_htons(ETH_P_IP)) { in nat25_db_handle()
664 if (protocol == __constant_htons(ETH_P_IP)) { /* IP */ in dhcp_flag_bcast()

123456789