/linux-4.4.14/net/tipc/ |
D | udp_media.c | 102 if (ntohs(ua->proto) == ETH_P_IP) { in tipc_udp_media_addr_set() 118 if (ntohs(ua->proto) == ETH_P_IP) in tipc_udp_addr2str() 173 if (dst->proto == htons(ETH_P_IP)) { in tipc_udp_send_msg() 259 if (ntohs(remote->proto) == ETH_P_IP) { in enable_mcast() 308 local->proto = htons(ETH_P_IP); in parse_options() 313 remote->proto = htons(ETH_P_IP); in parse_options() 372 if (local.proto == htons(ETH_P_IP)) { in tipc_udp_enable()
|
/linux-4.4.14/include/net/ |
D | inet_ecn.h | 149 case cpu_to_be16(ETH_P_IP): in INET_ECN_set_ce() 215 if (skb->protocol == htons(ETH_P_IP)) in IP_ECN_decapsulate() 230 if (skb->protocol == htons(ETH_P_IP)) in IP6_ECN_decapsulate()
|
D | vxlan.h | 220 case htons(ETH_P_IP): in vxlan_features_check()
|
D | ip_tunnels.h | 259 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_get_dsfield()
|
/linux-4.4.14/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()
|
/linux-4.4.14/net/ipv4/ |
D | xfrm4_output.c | 33 skb->protocol = htons(ETH_P_IP); in xfrm4_tunnel_check_size() 68 skb->protocol = htons(ETH_P_IP); in xfrm4_prepare_output()
|
D | xfrm4_state.c | 76 .eth_proto = htons(ETH_P_IP),
|
D | arp.c | 158 .protocol = cpu_to_be16(ETH_P_IP), 569 arp->ar_pro = htons(ETH_P_IP); in arp_create() 589 arp->ar_pro = htons(ETH_P_IP); in arp_create() 674 if (arp->ar_pro != htons(ETH_P_IP) || in arp_process() 692 arp->ar_pro != htons(ETH_P_IP)) in arp_process()
|
D | ip_tunnel.c | 616 if (skb->protocol == htons(ETH_P_IP)) { in tnl_update_pmtu() 677 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit() 721 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit() 773 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_xmit() 784 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_xmit()
|
D | ping.c | 179 if (skb->protocol == htons(ETH_P_IP)) { in ping_lookup() 198 if (skb->protocol == htons(ETH_P_IP) && in ping_lookup() 497 if (skb->protocol == htons(ETH_P_IP)) { in ping_err() 531 if (skb->protocol == htons(ETH_P_IP)) { in ping_err() 928 else if (skb->protocol == htons(ETH_P_IP) && isk->cmsg_flags) in ping_recvmsg()
|
D | ipip.c | 183 .proto = htons(ETH_P_IP), 220 if (unlikely(skb->protocol != htons(ETH_P_IP))) in ipip_tunnel_xmit()
|
D | ipconfig.c | 532 if (rarp->ar_pro != htons(ETH_P_IP)) in ic_rarp_recv() 656 .type = cpu_to_be16(ETH_P_IP), 870 skb->protocol = htons(ETH_P_IP); in ic_bootp_send_if()
|
D | route.c | 1488 skb->protocol != htons(ETH_P_IP)) in ip_route_input_mc() 1621 skb->protocol == htons(ETH_P_IP) && in __mkroute_input() 1626 if (skb->protocol != htons(ETH_P_IP)) { in __mkroute_input() 1867 if (skb->protocol != htons(ETH_P_IP)) in ip_route_input_slow() 2585 skb->protocol = htons(ETH_P_IP); in inet_rtm_getroute()
|
D | ip_vti.c | 225 case htons(ETH_P_IP): in vti_tunnel_xmit()
|
D | af_inet.c | 1644 .type = cpu_to_be16(ETH_P_IP), 1678 .type = cpu_to_be16(ETH_P_IP),
|
D | ip_output.c | 299 skb->protocol = htons(ETH_P_IP); in ip_mc_output() 357 skb->protocol = htons(ETH_P_IP); in ip_output()
|
D | ip_fragment.c | 692 if (skb->protocol != htons(ETH_P_IP)) in ip_check_defrag()
|
D | ip_gre.c | 236 tpi->proto = htons(ETH_P_IP); in parse_gre_header()
|
D | ipmr.c | 2076 skb->protocol = htons(ETH_P_IP); in __pim_rcv()
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | netdev.c | 514 cpu_to_be16(ETH_P_IP)); in i2400m_net_rx() 517 skb->protocol = htons(ETH_P_IP); in i2400m_net_rx() 564 protocol = ETH_P_IP; in i2400m_net_erx() 567 cpu_to_be16(ETH_P_IP)); in i2400m_net_erx() 570 skb->protocol = htons(ETH_P_IP); in i2400m_net_erx()
|
/linux-4.4.14/net/802/ |
D | fddi.c | 59 if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP) in fddi_header() 63 if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP) in fddi_header()
|
D | fc.c | 47 if (type == ETH_P_IP || type == ETH_P_ARP) in fc_header()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | filter.h | 190 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_local() 215 spec->ether_type = htons(ETH_P_IP); in efx_filter_set_ipv4_full()
|
D | rx.c | 872 if (ether_type != htons(ETH_P_IP) && ether_type != htons(ETH_P_IPV6)) in efx_filter_rfs() 884 if (ether_type == htons(ETH_P_IP)) { in efx_filter_rfs() 920 if (ether_type == htons(ETH_P_IP)) in efx_filter_rfs() 988 if (spec->ether_type == htons(ETH_P_IP) && in efx_filter_is_mc_recipient()
|
D | tx.c | 863 if (protocol == htons(ETH_P_IP)) { in efx_tso_check_protocol() 1026 if (st->protocol == htons(ETH_P_IP)) { in tso_start() 1184 if (st->protocol == htons(ETH_P_IP)) { in tso_start_new_packet()
|
D | ethtool.c | 810 spec.ether_type == htons(ETH_P_IP) && in efx_ethtool_get_class_rule() 984 spec.ether_type = htons(ETH_P_IP); in efx_ethtool_set_class_rule()
|
D | selftest.c | 379 payload->header.h_proto = htons(ETH_P_IP); in efx_iterate_state()
|
D | farch.c | 2076 if (gen_spec->ether_type != htons(ETH_P_IP)) in efx_farch_filter_from_gen_spec() 2179 gen_spec->ether_type = htons(ETH_P_IP); in efx_farch_filter_to_gen_spec()
|
D | ptp.c | 1359 likely(skb->protocol == htons(ETH_P_IP)) && in efx_ptp_is_ptp_tx()
|
/linux-4.4.14/samples/bpf/ |
D | sockex3_kern.c | 50 case ETH_P_IP: in parse_eth_proto() 172 parse_eth_proto(skb, ETH_P_IP); in parse_ip_proto() 269 parse_eth_proto(skb, ETH_P_IP); in PROG()
|
D | sockex2_kern.c | 118 if (likely(proto == ETH_P_IP)) in flow_dissector() 156 if (proto == ETH_P_IP) in flow_dissector()
|
/linux-4.4.14/net/bridge/ |
D | br_netfilter_hooks.c | 65 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP)) 84 (vlan_proto(skb) == htons(ETH_P_IP) && \ 509 skb->protocol = htons(ETH_P_IP); in br_nf_pre_routing() 542 if (skb->protocol == htons(ETH_P_IP)) in br_nf_forward_finish() 622 skb->protocol = htons(ETH_P_IP); in br_nf_forward_ip() 735 skb->protocol == htons(ETH_P_IP)) { in br_nf_dev_queue_xmit() 825 skb->protocol = htons(ETH_P_IP); in br_nf_post_routing()
|
D | br_multicast.c | 61 case htons(ETH_P_IP): in br_ip_equal() 91 case htons(ETH_P_IP): in br_ip_hash() 129 br_dst.proto = htons(ETH_P_IP); in br_mdb_ip4_get() 166 case htons(ETH_P_IP): in br_mdb_get() 376 skb->protocol = htons(ETH_P_IP); in br_ip4_multicast_alloc_query() 388 eth->h_proto = htons(ETH_P_IP); in br_ip4_multicast_alloc_query() 516 case htons(ETH_P_IP): in br_multicast_alloc_query() 732 br_group.proto = htons(ETH_P_IP); in br_ip4_multicast_add_group() 812 if (ip->proto == htons(ETH_P_IP)) in br_multicast_select_own_querier() 858 br_group.proto = htons(ETH_P_IP); in br_multicast_send_query() [all …]
|
D | br_mdb.c | 89 if (p->addr.proto == htons(ETH_P_IP)) in br_mdb_fill_info() 322 if (entry->addr.proto == htons(ETH_P_IP)) { in is_valid_mdb_entry() 451 if (ip.proto == htons(ETH_P_IP)) in __br_mdb_add() 525 if (ip.proto == htons(ETH_P_IP)) in __br_mdb_del()
|
D | br_input.c | 89 if (parp->ar_pro != htons(ETH_P_IP) || in br_do_proxy_arp()
|
D | br_private.h | 587 case (htons(ETH_P_IP)): in br_multicast_querier_exists()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebt_among.c | 72 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) { in get_ip_dst() 103 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) { in get_ip_src()
|
D | nf_log_bridge.c | 28 case htons(ETH_P_IP): in nf_log_bridge_packet()
|
D | ebt_arpreply.c | 35 ap->ar_pro != htons(ETH_P_IP) || in ebt_arpreply_tg()
|
D | ebt_ip.c | 85 if (e->ethproto != htons(ETH_P_IP) || in ebt_ip_mt_check()
|
D | nf_tables_bridge.c | 97 case htons(ETH_P_IP): in nft_do_chain_bridge()
|
D | ebt_arp.c | 42 if (ah->ar_pln != sizeof(__be32) || ah->ar_pro != htons(ETH_P_IP)) in ebt_arp_mt()
|
D | ebt_log.c | 99 htons(ETH_P_IP)) { in ebt_log_packet()
|
D | nft_reject_bridge.c | 271 case htons(ETH_P_IP): in nft_reject_bridge_eval()
|
/linux-4.4.14/include/uapi/linux/ |
D | if_ether.h | 46 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 110 if (eth->h_proto == htons(ETH_P_IP)) { in mlx5e_lro_update_hdr() 158 return (ethertype == htons(ETH_P_IP) || ethertype == htons(ETH_P_IPV6)); in is_first_ethertype_ip()
|
D | en_flow_table.c | 309 ETH_P_IP); in __mlx5e_add_eth_addr_rule() 344 ETH_P_IP); in __mlx5e_add_eth_addr_rule() 377 ETH_P_IP); in __mlx5e_add_eth_addr_rule() 410 ETH_P_IP); in __mlx5e_add_eth_addr_rule() 443 ETH_P_IP); in __mlx5e_add_eth_addr_rule()
|
/linux-4.4.14/net/phonet/ |
D | pep-gprs.c | 57 return htons(ETH_P_IP); in gprs_type_trans() 193 case htons(ETH_P_IP): in gprs_xmit()
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_dup_ipv4.c | 48 skb->protocol = htons(ETH_P_IP); in nf_dup_ipv4_route()
|
D | nf_reject_ipv4.c | 64 nskb->protocol = htons(ETH_P_IP); in nf_reject_iphdr_put()
|
D | ipt_SYNPROXY.c | 56 nskb->protocol = htons(ETH_P_IP); in synproxy_send_tcp()
|
D | ipt_CLUSTERIP.c | 521 arp->ar_pro != htons(ETH_P_IP) || in arp_mangle()
|
/linux-4.4.14/net/batman-adv/ |
D | multicast.c | 385 case ETH_P_IP: in batadv_mcast_forw_mode_check() 409 case ETH_P_IP: in batadv_mcast_forw_want_all_ip_count() 503 case ETH_P_IP: in batadv_mcast_forw_ip_node_get()
|
D | gateway_client.c | 700 case htons(ETH_P_IP): in batadv_gw_dhcp_recipient_get() 736 case htons(ETH_P_IP): in batadv_gw_dhcp_recipient_get()
|
D | distributed-arp-table.c | 868 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_arp_get_type()
|
D | main.c | 354 case htons(ETH_P_IP): in batadv_skb_set_priority()
|
D | bridge_loop_avoidance.c | 929 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_bla_process_claim()
|
/linux-4.4.14/drivers/net/wan/ |
D | hdlc_raw.c | 29 return cpu_to_be16(ETH_P_IP); in raw_type_trans()
|
D | dlci.c | 80 case ETH_P_IP: in dlci_header() 159 skb->protocol = htons(ETH_P_IP); in dlci_receive()
|
D | hdlc_ppp.c | 155 return htons(ETH_P_IP); in ppp_type_trans() 182 case ETH_P_IP: in ppp_hard_header()
|
D | hdlc_fr.c | 294 case cpu_to_be16(ETH_P_IP): in fr_hard_header() 930 skb->protocol = htons(ETH_P_IP); in fr_rx() 946 case ETH_P_IP: /* a long variant */ in fr_rx()
|
D | hdlc_cisco.c | 142 case cpu_to_be16(ETH_P_IP): in cisco_type_trans()
|
/linux-4.4.14/arch/um/drivers/ |
D | slip_kern.c | 44 return htons(ETH_P_IP); in slip_protocol()
|
D | slirp_kern.c | 49 return htons(ETH_P_IP); in slirp_protocol()
|
/linux-4.4.14/net/atm/ |
D | br2684.c | 232 case ETH_P_IP: in br2684_xmit_vcc() 395 if (type == htons(ETH_P_IP) && in packet_fails_filter() 461 skb->protocol = htons(ETH_P_IP); in br2684_push() 486 skb->protocol = htons(ETH_P_IP); in br2684_push()
|
D | clip.c | 221 skb->protocol = htons(ETH_P_IP); in clip_push()
|
D | mpc.c | 584 if (eth->h_proto != htons(ETH_P_IP)) in mpc_send_packet()
|
/linux-4.4.14/net/sched/ |
D | em_ipset.c | 63 case htons(ETH_P_IP): in em_ipset_match()
|
D | act_connmark.c | 48 if (skb->protocol == htons(ETH_P_IP)) { in tcf_connmark()
|
D | sch_dsmark.c | 203 case htons(ETH_P_IP): in dsmark_enqueue() 291 case htons(ETH_P_IP): in dsmark_dequeue()
|
D | cls_flow.c | 155 case htons(ETH_P_IP): in flow_get_nfct_src() 167 case htons(ETH_P_IP): in flow_get_nfct_dst()
|
D | cls_flower.c | 260 if (key->basic.n_proto == htons(ETH_P_IP) || in fl_set_key() 613 if ((key->basic.n_proto == htons(ETH_P_IP) || in fl_dump()
|
D | act_csum.c | 514 case cpu_to_be16(ETH_P_IP): in tcf_csum()
|
/linux-4.4.14/net/ax25/ |
D | ax25_in.c | 130 skb->protocol = htons(ETH_P_IP); in ax25_rx_iframe() 248 skb->protocol = htons(ETH_P_IP); in ax25_rcv()
|
D | ax25_ip.c | 84 case ETH_P_IP: in ax25_hard_header()
|
/linux-4.4.14/net/netrom/ |
D | nr_dev.c | 55 skb->protocol = htons(ETH_P_IP); in nr_rx_ip()
|
/linux-4.4.14/net/openvswitch/ |
D | flow_netlink.c | 162 if (match->key->eth.type == htons(ETH_P_IP)) { in match_validate() 1495 if (swkey->eth.type == htons(ETH_P_IP)) { in __ovs_nla_put_key() 1548 if ((swkey->eth.type == htons(ETH_P_IP) || in __ovs_nla_put_key() 1582 } else if (swkey->eth.type == htons(ETH_P_IP) && in __ovs_nla_put_key() 2054 if (eth_type != htons(ETH_P_IP)) in validate_set() 2103 if ((eth_type != htons(ETH_P_IP) && in validate_set() 2111 if ((eth_type != htons(ETH_P_IP) && in validate_set() 2124 if ((eth_type != htons(ETH_P_IP) && in validate_set() 2292 (eth_type != htons(ETH_P_IP) && in __ovs_nla_copy_actions()
|
D | conntrack.c | 61 case ETH_P_IP: in key_to_nfproto() 309 if (key->eth.type == htons(ETH_P_IP)) { in handle_fragments()
|
D | flow.c | 499 if (key->eth.type == htons(ETH_P_IP)) { in key_extract() 582 arp->ar_pro == htons(ETH_P_IP) && in key_extract()
|
D | actions.c | 688 if (ethertype == htons(ETH_P_IP)) { in ovs_fragment()
|
/linux-4.4.14/net/netfilter/ |
D | xt_AUDIT.c | 149 case htons(ETH_P_IP): in audit_tg()
|
D | nf_tables_netdev.c | 98 case htons(ETH_P_IP): in nft_do_chain_netdev()
|
D | nfnetlink_queue.c | 694 skb->protocol = htons(ETH_P_IP); in nfqnl_enqueue_packet()
|
/linux-4.4.14/net/caif/ |
D | caif_usb.c | 60 skb->protocol = htons(ETH_P_IP); in cfusbl_transmit()
|
D | chnl_net.c | 104 skb->protocol = htons(ETH_P_IP); in chnl_recv_cb()
|
/linux-4.4.14/drivers/staging/gdm724x/ |
D | gdm_lte.c | 378 case ETH_P_IP: in gdm_lte_tx_nic_type() 658 eth.h_proto = htons(ETH_P_IP); in gdm_lte_netif_rx() 659 vlan_eth.h_vlan_encapsulated_proto = htons(ETH_P_IP); in gdm_lte_netif_rx()
|
/linux-4.4.14/drivers/net/usb/ |
D | cdc_mbim.c | 213 case htons(ETH_P_IP): in is_ip_proto() 377 proto = htons(ETH_P_IP); in cdc_mbim_process_dgram()
|
D | lg-vl600.c | 303 packet->h_proto = htons(ETH_P_IP); in vl600_tx_fixup()
|
D | sierra_net.c | 197 return skb->protocol == cpu_to_be16(ETH_P_IP); in is_ip() 706 eth->h_proto = cpu_to_be16(ETH_P_IP); in sierra_net_bind()
|
D | qmi_wwan.c | 91 proto = htons(ETH_P_IP); in qmi_wwan_rx_fixup()
|
D | r8152.c | 1484 case htons(ETH_P_IP): in r8152_tx_csum() 1515 case htons(ETH_P_IP): in r8152_tx_csum()
|
D | hso.c | 955 odev->skb_rx_buf->protocol = cpu_to_be16(ETH_P_IP); in packetizeRx()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_output.c | 238 if (skb->protocol == htons(ETH_P_IP)) in xfrm_local_error()
|
/linux-4.4.14/drivers/net/ |
D | vrf.c | 158 case htons(ETH_P_IP): in is_ip_rx_frame() 334 case htons(ETH_P_IP): in is_ip_tx_frame() 563 skb->protocol = htons(ETH_P_IP); in vrf_output()
|
D | tun.c | 1088 struct tun_pi pi = { 0, cpu_to_be16(ETH_P_IP) }; in tun_get_user() 1198 pi.proto = htons(ETH_P_IP); in tun_get_user()
|
D | vxlan.c | 1369 parp->ar_pro != htons(ETH_P_IP) || in arp_reduce() 1601 case ETH_P_IP: in route_shortcircuit() 2181 (ntohs(eth->h_proto) == ETH_P_IP || in vxlan_xmit()
|
/linux-4.4.14/drivers/net/ipvlan/ |
D | ipvlan_core.c | 137 case htons(ETH_P_IP): { in ipvlan_get_L3_hdr() 447 else if (skb->protocol == htons(ETH_P_IP)) in ipvlan_process_outbound()
|
/linux-4.4.14/drivers/staging/octeon/ |
D | ethernet-tx.c | 398 if ((skb->protocol == htons(ETH_P_IP)) && in cvm_oct_xmit() 611 if (skb->protocol == htons(ETH_P_IP)) { in cvm_oct_xmit_pow()
|
/linux-4.4.14/net/dccp/ |
D | ipv6.c | 307 if (skb->protocol == htons(ETH_P_IP)) in dccp_v6_conn_request() 400 if (skb->protocol == htons(ETH_P_IP)) { in dccp_v6_request_recv_sock() 559 if (skb->protocol == htons(ETH_P_IP)) in dccp_v6_do_rcv()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 701 if (vlan_get_protocol(skb) != htons(ETH_P_IP)) in fm10k_gre_is_nvgre() 728 case htons(ETH_P_IP): in fm10k_tx_encap_offload() 753 case htons(ETH_P_IP): in fm10k_tx_encap_offload() 863 case htons(ETH_P_IP): in fm10k_tx_csum()
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_fanout.c | 78 fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); in sock_fanout_open()
|
D | psock_tpacket.c | 146 if (eth->h_proto != htons(ETH_P_IP)) { in test_payload() 166 eth->h_proto = htons(ETH_P_IP); in create_payload()
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | pm.c | 63 .type = __cpu_to_le16(ETH_P_IP),
|
/linux-4.4.14/drivers/net/hyperv/ |
D | netvsc_drv.c | 243 !(flow.basic.n_proto == htons(ETH_P_IP) || in netvsc_set_hash() 392 if ((eth_hdr(skb)->h_proto != htons(ETH_P_IP)) && in get_net_transport_info() 399 if ((eth_hdr(skb)->h_proto == htons(ETH_P_IP))) { in get_net_transport_info()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | os_intfs.c | 287 case htons(ETH_P_IP): in rtw_classify8021d() 320 case ETH_P_IP: in rtw_recv_select_queue23a()
|
/linux-4.4.14/drivers/net/ethernet/cisco/enic/ |
D | enic_clsf.c | 181 if (!res || keys.basic.n_proto != htons(ETH_P_IP) || in enic_rx_flow_steer()
|
D | enic_main.c | 528 if (skb->protocol == cpu_to_be16(ETH_P_IP)) { in enic_queue_wq_skb_tso()
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 256 if (eth->h_proto != htons(ETH_P_IP)) in rtllib_classify() 634 if (ether_type == ETH_P_IP) { in rtllib_xmit_inter()
|
D | rtllib.h | 525 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/linux-4.4.14/net/core/ |
D | flow_dissector.c | 170 case htons(ETH_P_IP): { in __skb_flow_dissect() 461 proto = htons(ETH_P_IP); in __skb_flow_dissect()
|
D | netpoll.c | 469 skb->protocol = eth->h_proto = htons(ETH_P_IP); in netpoll_send_udp()
|
D | pktgen.c | 2805 __be16 protocol = htons(ETH_P_IP); in fill_packet_ipv4() 2856 *vlan_encapsulated_proto = htons(ETH_P_IP); in fill_packet_ipv4()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 229 if (eth->h_proto != htons(ETH_P_IP)) in libipw_classify()
|
/linux-4.4.14/drivers/net/hamradio/ |
D | bpqether.c | 253 if (skb->protocol == htons(ETH_P_IP)) in bpq_xmit()
|
D | mkiss.c | 532 if (skb->protocol == htons(ETH_P_IP)) in ax_xmit()
|
D | 6pack.c | 250 if (skb->protocol == htons(ETH_P_IP)) in sp_xmit()
|
D | hdlcdrv.c | 407 if (skb->protocol == htons(ETH_P_IP)) in hdlcdrv_send_packet()
|
D | yam.c | 600 if (skb->protocol == htons(ETH_P_IP)) in yam_send_packet()
|
D | baycom_epp.c | 775 if (skb->protocol == htons(ETH_P_IP)) in baycom_send_packet()
|
D | dmascc.c | 923 if (skb->protocol == htons(ETH_P_IP)) in scc_send_packet()
|
D | scc.c | 1642 if (skb->protocol == htons(ETH_P_IP)) in scc_net_tx()
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 664 case htons(ETH_P_IP): in rtw_classify8021d() 699 case htons(ETH_P_IP): in rtw_recv_select_queue()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | sunvnet.c | 322 if (skb->protocol != htons(ETH_P_IP)) in vnet_fullcsum() 393 if (skb->protocol == ETH_P_IP) { in vnet_rx_one() 1158 if (skb->protocol == htons(ETH_P_IP)) in vnet_handle_offloads() 1279 if (skb->protocol == htons(ETH_P_IP)) { in vnet_start_xmit()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_ppp.c | 1098 skb->protocol = htons(ETH_P_IP); in isdn_ppp_push_higher() 1117 skb->protocol = htons(ETH_P_IP); in isdn_ppp_push_higher() 1147 skb->protocol = htons(ETH_P_IP); in isdn_ppp_push_higher() 1272 case ETH_P_IP: in isdn_ppp_xmit() 1495 case ETH_P_IP: in isdn_ppp_autodial_filter()
|
D | isdn_net.c | 202 (proto != ETH_P_IP) ? "Protocol != ETH_P_IP" : ""); in isdn_net_unreachable() 894 proto = ETH_P_IP; in isdn_net_log_skb() 918 case ETH_P_IP: in isdn_net_log_skb() 1828 skb->protocol = htons(ETH_P_IP); in isdn_net_receive()
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
D | gdm_qos.c | 266 if (ethh->h_proto == cpu_to_be16(ETH_P_IP)) { in gdm_qos_send_hci_pkt()
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | rtl871x_xmit.c | 244 if (ETH_P_IP == pattrib->ether_type) { in r8712_update_attrib() 253 if (ETH_P_IP == pattrib->ether_type) {/* IP header*/ in r8712_update_attrib()
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1934 if (protocol == htons(ETH_P_IP)) { in igbvf_tso() 1966 if (protocol == htons(ETH_P_IP)) in igbvf_tso() 2020 case htons(ETH_P_IP): in igbvf_tx_csum() 2253 if (protocol == htons(ETH_P_IP)) in igbvf_xmit_frame_ring_adv()
|
/linux-4.4.14/net/ipv6/ |
D | tcp_ipv6.c | 957 if (skb->protocol == htons(ETH_P_IP)) in tcp_v6_conn_request() 990 if (skb->protocol == htons(ETH_P_IP)) { in tcp_v6_syn_recv_sock() 1198 if (skb->protocol == htons(ETH_P_IP)) in tcp_v6_do_rcv()
|
D | ip6_tunnel.c | 930 return ip6_tnl_rcv(skb, ETH_P_IP, IPPROTO_IPIP, in ip4ip6_rcv() 1275 case htons(ETH_P_IP): in ip6_tnl_xmit()
|
D | sit.c | 725 .proto = htons(ETH_P_IP), 1023 case htons(ETH_P_IP): in sit_tunnel_xmit()
|
D | ip6_vti.c | 529 case htons(ETH_P_IP): in vti6_tnl_xmit()
|
D | udp.c | 427 is_udp4 = (skb->protocol == htons(ETH_P_IP)); in udpv6_recvmsg()
|
D | ip6_gre.c | 907 case htons(ETH_P_IP): in ip6gre_tunnel_xmit()
|
/linux-4.4.14/net/bluetooth/bnep/ |
D | core.c | 92 s->proto_filter[0].start = ETH_P_IP; in bnep_set_default_proto_filter()
|
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_xmit.c | 401 if (pattrib->ether_type == ETH_P_IP) { in set_qos() 448 if (pattrib->ether_type == ETH_P_IP) { in update_attrib() 455 if (pattrib->ether_type == ETH_P_IP) {/* IP header */ in update_attrib()
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_core.h | 861 case ETH_P_IP: in qeth_get_ip_version()
|
D | qeth_l3_main.c | 1779 ETH_P_IP); in qeth_l3_rebuild_skb() 1790 case __constant_htons(ETH_P_IP): in qeth_l3_rebuild_skb() 2649 else if (skb->protocol == ETH_P_IP) in qeth_l3_get_cast_type()
|
D | ctcm_main.c | 91 (header->type != ETH_P_IP)) { in ctcm_unpack_skb()
|
D | netiucv.c | 639 pskb->protocol = ntohs(ETH_P_IP); in netiucv_unpack_skb()
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 280 if (eth->h_proto != htons(ETH_P_IP)) in ieee80211_classify()
|
/linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 202 if (unlikely(skb->protocol != htons(ETH_P_IP)) && in xgene_enet_work_msg() 515 skb->protocol == htons(ETH_P_IP))) { in xgene_enet_rx_frame()
|
/linux-4.4.14/drivers/firewire/ |
D | net.c | 492 case ETH_P_IP: in fwnet_finish_incoming_packet() 1253 case htons(ETH_P_IP): in fwnet_tx()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_alb.c | 1338 case htons(ETH_P_IP): in bond_tlb_xmit() 1380 case ETH_P_IP: { in bond_alb_xmit()
|
D | bond_main.c | 2454 arp->ar_pro != htons(ETH_P_IP) || in bond_arp_rcv() 3113 if (skb->protocol == htons(ETH_P_IP)) { in bond_flow_dissect() 3719 if (iph->protocol == IPPROTO_IGMP && skb->protocol == htons(ETH_P_IP)) { in bond_xmit_roundrobin()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be.h | 795 return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; in is_ipv4_pkt()
|
/linux-4.4.14/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 416 if (proto_type == ETH_P_IP) { in xemaclite_recv_data()
|
D | ll_temac_main.c | 771 (skb->protocol == htons(ETH_P_IP)) && in ll_temac_recv()
|
D | xilinx_axienet_main.c | 763 skb->protocol == htons(ETH_P_IP) && in axienet_recv()
|
/linux-4.4.14/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1044 ((skb->protocol == htons(ETH_P_IP) && in ibmveth_start_xmit() 1227 if (be16_to_cpu(skb->protocol) == ETH_P_IP) { in ibmveth_poll()
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 962 if ((header->proto != htons(ETH_P_IP)) && in ipoib_start_xmit() 985 case htons(ETH_P_IP): in ipoib_start_xmit()
|
D | ipoib_cm.c | 1389 if (skb->protocol == htons(ETH_P_IP)) in ipoib_cm_skb_reap()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 979 case ETH_P_IP: in bcm_sysport_insert_tsb() 996 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcm_sysport_insert_tsb()
|
/linux-4.4.14/drivers/net/ethernet/ |
D | jme.c | 975 if (skb->protocol != htons(ETH_P_IP)) in jme_udpsum() 2101 if (skb->protocol == htons(ETH_P_IP)) { in jme_tx_tso() 2131 case htons(ETH_P_IP): in jme_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/rocker/ |
D | rocker.c | 2083 case ETH_P_IP: in rocker_cmd_flow_tbl_add_acl() 2959 __be16 eth_type = htons(ETH_P_IP); in rocker_port_ipv4_neigh() 3261 .eth_type = htons(ETH_P_IP), 3751 eth_type = htons(ETH_P_IP); in rocker_port_router_mac() 3995 __be16 eth_type = htons(ETH_P_IP); in rocker_port_fib_ipv4()
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_xmit.c | 468 if (ETH_P_IP == pattrib->ether_type) { in update_attrib() 475 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib()
|
/linux-4.4.14/drivers/net/ethernet/faraday/ |
D | ftgmac100.c | 688 if (protocol == cpu_to_be16(ETH_P_IP)) { in ftgmac100_xmit()
|
/linux-4.4.14/drivers/tty/ |
D | n_gsm.c | 2717 skb->protocol = htons(ETH_P_IP); in gsm_mux_rx_netchar() 2787 if (nc->protocol != htons(ETH_P_IP)) in gsm_create_network()
|
/linux-4.4.14/drivers/net/slip/ |
D | slip.c | 369 skb->protocol = htons(ETH_P_IP);
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 556 if (protocol == ETH_P_IP) { in qlcnic_tx_pkt() 752 if (protocol == ETH_P_IP) in qlcnic_xmit_frame()
|
/linux-4.4.14/Documentation/networking/ |
D | packet_mmap.txt | 627 int err, fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)); 877 if (eth->h_proto == htons(ETH_P_IP)) {
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2058 flex_ptype |= (protocol == htons(ETH_P_IP)) ? in i40e_atr() 2824 if (protocol == htons(ETH_P_IP)) in i40e_xmit_frame_ring()
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_generic.c | 332 case ETH_P_IP: in ethertype_to_npindex() 351 ETH_P_IP,
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptlan.c | 1535 (fcllc->ethertype == htons(ETH_P_IP) || in mpt_lan_type_trans()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 722 if (skb->protocol == htons(ETH_P_IP)) { in gelic_descr_set_tx_cmdstat()
|
/linux-4.4.14/drivers/net/ethernet/tile/ |
D | tilepro.c | 1744 BUG_ON(skb->protocol != htons(ETH_P_IP)); in tile_net_tx_tso()
|
/linux-4.4.14/net/wireless/ |
D | util.c | 769 case htons(ETH_P_IP): in cfg80211_classify8021d()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2720 if (protocol == htons(ETH_P_IP)) { in e1000_tso() 2786 case cpu_to_be16(ETH_P_IP): in e1000_tx_csum() 3244 if (protocol == htons(ETH_P_IP)) in e1000_xmit_frame()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | mvneta.c | 1297 if (l3_proto == htons(ETH_P_IP)) in mvneta_txq_desc_csum() 1464 if (l3_proto == htons(ETH_P_IP)) { in mvneta_skb_tx_csum()
|
D | mvpp2.c | 2382 mvpp2_prs_match_etype(&pe, 0, ETH_P_IP); in mvpp2_prs_etype_init() 4274 if (l3_proto == swab16(ETH_P_IP)) { in mvpp2_txq_desc_csum() 5036 if (skb->protocol == htons(ETH_P_IP)) { in mvpp2_skb_tx_csum()
|
D | mv643xx_eth.c | 700 BUG_ON(skb->protocol != htons(ETH_P_IP) && in skb_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 2601 return (skb->protocol == htons(ETH_P_IP)) && in is_ipv4() 2767 == htons(ETH_P_IP) && in liquidio_xmit()
|
/linux-4.4.14/net/appletalk/ |
D | ddp.c | 1298 skb->protocol = htons(ETH_P_IP); in handle_ip_over_ddp()
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 530 if (eh->h_proto != htons(ETH_P_IP)) in ioc3_tcpudp_checksum()
|
/linux-4.4.14/net/mpls/ |
D | af_mpls.c | 201 skb->protocol = htons(ETH_P_IP); in mpls_egress()
|
/linux-4.4.14/lib/ |
D | test_bpf.c | 682 { { 10, ETH_P_IP }, { 100, ETH_P_IP } }, 5141 skb->protocol = htons(ETH_P_IP); in populate_skb()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5358 if (protocol == htons(ETH_P_IP)) { in e1000_tso() 5420 case cpu_to_be16(ETH_P_IP): in e1000_tx_csum() 5639 if (((struct ethhdr *)skb->data)->h_proto != htons(ETH_P_IP)) in e1000_transfer_dhcp_info() 5793 if (protocol == htons(ETH_P_IP)) in e1000_xmit_frame()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 1394 case ETH_P_IP: in bcmgenet_put_tx_csum() 1413 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcmgenet_put_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 3300 if (first->protocol == htons(ETH_P_IP)) { in ixgbevf_tso() 3360 case htons(ETH_P_IP): in ixgbevf_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 2132 if (skb->protocol == htons(ETH_P_IP)) { in atl1_tso() 2390 if (skb->protocol == htons(ETH_P_IP)) { in atl1_xmit_frame()
|
/linux-4.4.14/security/smack/ |
D | smack_lsm.c | 4069 if (skb->protocol == htons(ETH_P_IP)) in smack_socket_getpeersec_dgram() 4170 if (skb->protocol == htons(ETH_P_IP)) in smack_inet_conn_request()
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 76 if (skb->protocol == htons(ETH_P_IP)) { in fill_desc()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1978 if (protocol == htons(ETH_P_IP)) in i40e_xmit_frame_ring()
|
/linux-4.4.14/security/selinux/ |
D | hooks.c | 4444 if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) in selinux_socket_sock_rcv_skb() 4536 if (skb && skb->protocol == htons(ETH_P_IP)) in selinux_socket_getpeersec_dgram() 4661 if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) in selinux_inet_conn_established()
|
/linux-4.4.14/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 970 ctx.ipv4 = (vlan_get_protocol(skb) == cpu_to_be16(ETH_P_IP)); in vmxnet3_tq_xmit() 1204 BUG_ON(hdr.eth->h_proto != htons(ETH_P_IP)); in vmxnet3_get_hdr_len()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 1157 case cpu_to_be16(ETH_P_IP): in wil_tx_desc_offload_setup()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 6957 if (first->protocol == htons(ETH_P_IP)) { in ixgbe_tso() 7367 if (first->protocol != htons(ETH_P_IP) || in ixgbe_atr() 7384 (first->protocol != htons(ETH_P_IP) || in ixgbe_atr() 7422 if (first->protocol == htons(ETH_P_IP)) { in ixgbe_atr()
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 2512 if (vlan_get_protocol(skb) == htons(ETH_P_IP)) { in bnad_tso_prepare() 2881 if (net_proto == htons(ETH_P_IP)) in bnad_txq_wi_prepare()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 901 if (skb->protocol == htons(ETH_P_IP)) { in bnxt_gro_skb() 2825 req.ethertype = htons(ETH_P_IP); in bnxt_hwrm_cfa_ntuple_filter_alloc() 5365 if ((fkeys->basic.n_proto != htons(ETH_P_IP)) || in bnxt_rx_flow_steer()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 403 pkt->eth.h_proto = cpu_to_be16(ETH_P_IP), in iwl_mvm_build_tcp_packet()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1379 skb->protocol == htons(ETH_P_IP) && in sge_rx()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 1351 if (ETH_P_IP == ether_type) { in rtl_is_special_data()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | cmd.c | 1243 arp_hdr->ar_pro = cpu_to_be16(ETH_P_IP); in wl1271_cmd_build_arp_rsp()
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1623 if (skb->protocol == htons(ETH_P_IP) || in atl1e_cal_tdp_req()
|
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1173 if (skb->protocol == htons(ETH_P_IP)) { in pch_gbe_tx_queue()
|
/linux-4.4.14/include/linux/ |
D | netdevice.h | 3664 protocol == htons(ETH_P_IP)) || in can_checksum_protocol()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 1923 if (protocol == cpu_to_be16(ETH_P_IP)) { in netxen_tso_check()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4665 if (first->protocol == htons(ETH_P_IP)) { in igb_tso() 4722 case htons(ETH_P_IP): in igb_tx_csum()
|
/linux-4.4.14/drivers/net/ethernet/realtek/ |
D | r8169.c | 7045 case htons(ETH_P_IP): in rtl8169_tso_csum_v2() 7077 case htons(ETH_P_IP): in rtl8169_tso_csum_v2()
|