/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | fs_ttc.c | 68 .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/ |
D | rxe_icrc.c | 82 (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()
|
D | rxe_recv.c | 124 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()
|
D | rxe_net.c | 354 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/ |
D | rfc1051.c | 107 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()
|
D | rfc1201.c | 111 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/ |
D | cls.c | 68 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/ |
D | filter.h | 187 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()
|
D | rx.c | 855 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/ |
D | en_selftest.c | 133 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()
|
D | en_arfs.c | 466 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/ |
D | qede_filter.c | 369 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/ |
D | filter.h | 214 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()
|
D | rx_common.c | 660 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()
|
D | tx_tso.c | 155 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/ |
D | en_accel.h | 63 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()
|
D | ipsec_rxtx.c | 127 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/ |
D | ice_arfs.c | 319 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/ |
D | rmnet_map_data.c | 260 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/ |
D | bareudp.c | 68 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/ |
D | psample.c | 55 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/ |
D | ptp.h | 63 if (fk.basic.n_proto != htons(ETH_P_IP) && in mlx5e_use_ptpsq()
|
/drivers/net/wan/ |
D | hdlc_raw.c | 26 return cpu_to_be16(ETH_P_IP); in raw_type_trans()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 119 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/ |
D | rtw_br_ext.c | 413 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()
|