/linux-4.1.27/net/tipc/ |
D | udp_media.c | 100 if (ntohs(ua->proto) == ETH_P_IP) { in tipc_udp_media_addr_set() 116 if (ntohs(ua->proto) == ETH_P_IP) in tipc_udp_addr2str() 167 if (dst->proto == htons(ETH_P_IP)) { in tipc_udp_send_msg() 252 if (ntohs(remote->proto) == ETH_P_IP) { in enable_mcast() 301 local->proto = htons(ETH_P_IP); in parse_options() 306 remote->proto = htons(ETH_P_IP); in parse_options() 365 if (local.proto == htons(ETH_P_IP)) { in tipc_udp_enable()
|
/linux-4.1.27/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 | 162 case htons(ETH_P_IP): in vxlan_features_check()
|
D | ip_tunnels.h | 180 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_get_dsfield()
|
/linux-4.1.27/drivers/net/arcnet/ |
D | rfc1051.c | 110 return htons(ETH_P_IP); in type_trans() 120 return htons(ETH_P_IP); in type_trans() 177 case ETH_P_IP: in build_header()
|
D | rfc1201.c | 112 return htons(ETH_P_IP); in type_trans() 129 return htons(ETH_P_IP); in type_trans() 384 case ETH_P_IP: in build_header()
|
/linux-4.1.27/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.1.27/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 | 862 if (protocol == htons(ETH_P_IP)) { in efx_tso_check_protocol() 1025 if (st->protocol == htons(ETH_P_IP)) { in tso_start() 1183 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 | 370 payload->header.h_proto = htons(ETH_P_IP); in efx_iterate_state()
|
D | farch.c | 2058 if (gen_spec->ether_type != htons(ETH_P_IP)) in efx_farch_filter_from_gen_spec() 2161 gen_spec->ether_type = htons(ETH_P_IP); in efx_farch_filter_to_gen_spec()
|
D | ptp.c | 1349 likely(skb->protocol == htons(ETH_P_IP)) && in efx_ptp_is_ptp_tx()
|
D | ef10.c | 2200 if (spec->ether_type == htons(ETH_P_IP) && in efx_ef10_filter_is_exclusive()
|
/linux-4.1.27/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.1.27/net/bridge/ |
D | br_netfilter.c | 64 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP)) 83 (vlan_proto(skb) == htons(ETH_P_IP) && \ 663 skb->protocol = htons(ETH_P_IP); in br_nf_pre_routing() 697 if (skb->protocol == htons(ETH_P_IP)) { in br_nf_forward_finish() 773 skb->protocol = htons(ETH_P_IP); in br_nf_forward_ip() 844 if (skb_is_gso(skb) || skb->protocol != htons(ETH_P_IP)) in br_nf_dev_queue_xmit() 919 skb->protocol = htons(ETH_P_IP); in br_nf_post_routing()
|
D | br_multicast.c | 49 case htons(ETH_P_IP): in br_ip_equal() 79 case htons(ETH_P_IP): in br_ip_hash() 117 br_dst.proto = htons(ETH_P_IP); in br_mdb_ip4_get() 154 case htons(ETH_P_IP): in br_mdb_get() 362 skb->protocol = htons(ETH_P_IP); in br_ip4_multicast_alloc_query() 374 eth->h_proto = htons(ETH_P_IP); in br_ip4_multicast_alloc_query() 502 case htons(ETH_P_IP): in br_multicast_alloc_query() 718 br_group.proto = htons(ETH_P_IP); in br_ip4_multicast_add_group() 797 if (ip->proto == htons(ETH_P_IP)) in br_multicast_select_own_querier() 843 br_group.proto = htons(ETH_P_IP); in br_multicast_send_query() [all …]
|
D | br_mdb.c | 88 if (p->addr.proto == htons(ETH_P_IP)) in br_mdb_fill_info() 252 if (entry->addr.proto == htons(ETH_P_IP)) { in is_valid_mdb_entry() 375 if (ip.proto == htons(ETH_P_IP)) in __br_mdb_add() 422 if (ip.proto == htons(ETH_P_IP)) { in __br_mdb_del()
|
D | br_input.c | 83 if (parp->ar_pro != htons(ETH_P_IP) || in br_do_proxy_arp()
|
D | br_private.h | 512 case (htons(ETH_P_IP)): in br_multicast_querier_exists()
|
/linux-4.1.27/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 | 99 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 | 272 case htons(ETH_P_IP): in nft_reject_bridge_eval()
|
/linux-4.1.27/samples/bpf/ |
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.1.27/include/uapi/linux/ |
D | if_ether.h | 45 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/linux-4.1.27/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.1.27/net/batman-adv/ |
D | multicast.c | 353 case ETH_P_IP: in batadv_mcast_forw_mode_check() 377 case ETH_P_IP: in batadv_mcast_forw_want_all_ip_count() 471 case ETH_P_IP: in batadv_mcast_forw_ip_node_get()
|
D | gateway_client.c | 705 case htons(ETH_P_IP): in batadv_gw_dhcp_recipient_get() 746 case htons(ETH_P_IP): in batadv_gw_dhcp_recipient_get()
|
D | main.c | 328 case htons(ETH_P_IP): in batadv_skb_set_priority()
|
D | distributed-arp-table.c | 831 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_arp_get_type()
|
D | bridge_loop_avoidance.c | 915 if (arphdr->ar_pro != htons(ETH_P_IP)) in batadv_bla_process_claim()
|
/linux-4.1.27/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.1.27/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.1.27/net/ipv4/ |
D | xfrm4_output.c | 66 skb->protocol = htons(ETH_P_IP); in xfrm4_prepare_output()
|
D | xfrm4_state.c | 76 .eth_proto = htons(ETH_P_IP),
|
D | arp.c | 156 .protocol = cpu_to_be16(ETH_P_IP), 530 arp->ar_pro = htons(ETH_P_IP); in arp_create() 550 arp->ar_pro = htons(ETH_P_IP); in arp_create() 655 if (arp->ar_pro != htons(ETH_P_IP) || in arp_process() 673 arp->ar_pro != htons(ETH_P_IP)) in arp_process()
|
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() 496 if (skb->protocol == htons(ETH_P_IP)) { in ping_err() 530 if (skb->protocol == htons(ETH_P_IP)) { in ping_err() 927 else if (skb->protocol == htons(ETH_P_IP) && isk->cmsg_flags) in ping_recvmsg()
|
D | ip_tunnel.c | 605 if (skb->protocol == htons(ETH_P_IP)) { in tnl_update_pmtu() 664 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit() 708 if (skb->protocol == htons(ETH_P_IP)) { in ip_tunnel_xmit() 761 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_xmit() 772 if (skb->protocol == htons(ETH_P_IP)) in ip_tunnel_xmit()
|
D | ipip.c | 183 .proto = htons(ETH_P_IP), 220 if (unlikely(skb->protocol != htons(ETH_P_IP))) in ipip_tunnel_xmit()
|
D | gre_demux.c | 151 tpi->proto = htons(ETH_P_IP); in parse_gre_header()
|
D | ipconfig.c | 528 if (rarp->ar_pro != htons(ETH_P_IP)) in ic_rarp_recv() 652 .type = cpu_to_be16(ETH_P_IP), 856 skb->protocol = htons(ETH_P_IP); in ic_bootp_send_if()
|
D | route.c | 1459 skb->protocol != htons(ETH_P_IP)) in ip_route_input_mc() 1604 skb->protocol == htons(ETH_P_IP) && in __mkroute_input() 1609 if (skb->protocol != htons(ETH_P_IP)) { in __mkroute_input() 1790 if (skb->protocol != htons(ETH_P_IP)) in ip_route_input_slow() 2511 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 | 1638 .type = cpu_to_be16(ETH_P_IP), 1672 .type = cpu_to_be16(ETH_P_IP),
|
D | ip_output.c | 291 skb->protocol = htons(ETH_P_IP); in ip_mc_output() 347 skb->protocol = htons(ETH_P_IP); in ip_output()
|
D | ip_fragment.c | 670 if (skb->protocol != htons(ETH_P_IP)) in ip_check_defrag()
|
D | ipmr.c | 2084 skb->protocol = htons(ETH_P_IP); in __pim_rcv()
|
/linux-4.1.27/net/sched/ |
D | em_ipset.c | 63 case htons(ETH_P_IP): in em_ipset_match()
|
D | act_connmark.c | 47 if (skb->protocol == htons(ETH_P_IP)) { in tcf_connmark()
|
D | sch_dsmark.c | 207 case htons(ETH_P_IP): in dsmark_enqueue() 293 case htons(ETH_P_IP): in dsmark_dequeue()
|
D | cls_flow.c | 148 case htons(ETH_P_IP): in flow_get_nfct_src() 160 case htons(ETH_P_IP): in flow_get_nfct_dst()
|
D | act_csum.c | 513 case cpu_to_be16(ETH_P_IP): in tcf_csum()
|
/linux-4.1.27/net/ax25/ |
D | ax25_in.c | 131 skb->protocol = htons(ETH_P_IP); in ax25_rx_iframe() 249 skb->protocol = htons(ETH_P_IP); in ax25_rcv()
|
D | ax25_ip.c | 85 case ETH_P_IP: in ax25_hard_header()
|
/linux-4.1.27/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.1.27/net/netrom/ |
D | nr_dev.c | 55 skb->protocol = htons(ETH_P_IP); in nr_rx_ip()
|
/linux-4.1.27/net/core/ |
D | flow_dissector.c | 90 case htons(ETH_P_IP): { in __skb_flow_dissect() 249 proto = htons(ETH_P_IP); in __skb_flow_dissect()
|
D | netpoll.c | 462 skb->protocol = eth->h_proto = htons(ETH_P_IP); in netpoll_send_udp()
|
D | pktgen.c | 2754 __be16 protocol = htons(ETH_P_IP); in fill_packet_ipv4() 2805 *vlan_encapsulated_proto = htons(ETH_P_IP); in fill_packet_ipv4()
|
D | skbuff.c | 4020 case htons(ETH_P_IP): in skb_checksum_setup()
|
/linux-4.1.27/net/openvswitch/ |
D | flow_netlink.c | 161 if (match->key->eth.type == htons(ETH_P_IP)) { in match_validate() 1354 if (swkey->eth.type == htons(ETH_P_IP)) { in __ovs_nla_put_key() 1407 if ((swkey->eth.type == htons(ETH_P_IP) || in __ovs_nla_put_key() 1441 } else if (swkey->eth.type == htons(ETH_P_IP) && in __ovs_nla_put_key() 1863 if (eth_type != htons(ETH_P_IP)) in validate_set() 1912 if ((eth_type != htons(ETH_P_IP) && in validate_set() 1920 if ((eth_type != htons(ETH_P_IP) && in validate_set() 1933 if ((eth_type != htons(ETH_P_IP) && in validate_set() 2100 (eth_type != htons(ETH_P_IP) && in __ovs_nla_copy_actions()
|
D | flow.c | 492 if (key->eth.type == htons(ETH_P_IP)) { in key_extract() 575 arp->ar_pro == htons(ETH_P_IP) && in key_extract()
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 64 nskb->protocol = htons(ETH_P_IP); in nf_reject_iphdr_put()
|
D | ipt_SYNPROXY.c | 53 nskb->protocol = htons(ETH_P_IP); in synproxy_send_tcp()
|
D | ipt_CLUSTERIP.c | 516 arp->ar_pro != htons(ETH_P_IP) || in arp_mangle()
|
/linux-4.1.27/net/netfilter/ |
D | xt_AUDIT.c | 149 case htons(ETH_P_IP): in audit_tg()
|
D | xt_TEE.c | 81 skb->protocol = htons(ETH_P_IP); in tee_tg_route4()
|
D | nfnetlink_queue_core.c | 660 skb->protocol = htons(ETH_P_IP); in nfqnl_enqueue_packet()
|
/linux-4.1.27/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 | 1470 case htons(ETH_P_IP): in r8152_tx_csum() 1501 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.1.27/tools/testing/selftests/net/ |
D | psock_fanout.c | 74 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.1.27/net/xfrm/ |
D | xfrm_output.c | 224 if (skb->protocol == htons(ETH_P_IP)) in xfrm_local_error()
|
/linux-4.1.27/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.1.27/drivers/net/hyperv/ |
D | netvsc_drv.c | 200 !(flow.n_proto == htons(ETH_P_IP) || in netvsc_set_hash() 349 if ((eth_hdr(skb)->h_proto != htons(ETH_P_IP)) && in get_net_transport_info() 356 if ((eth_hdr(skb)->h_proto == htons(ETH_P_IP))) { in get_net_transport_info()
|
/linux-4.1.27/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.1.27/drivers/staging/octeon/ |
D | ethernet-tx.c | 414 if (USE_HW_TCPUDP_CHECKSUM && (skb->protocol == htons(ETH_P_IP)) && in cvm_oct_xmit() 624 if (skb->protocol == htons(ETH_P_IP)) { in cvm_oct_xmit_pow()
|
/linux-4.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 139 case htons(ETH_P_IP): { in ipvlan_get_L3_hdr() 438 else if (skb->protocol == htons(ETH_P_IP)) in ipvlan_process_outbound()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 710 if (vlan_get_protocol(skb) != htons(ETH_P_IP)) in fm10k_gre_is_nvgre() 737 case htons(ETH_P_IP): in fm10k_tx_encap_offload() 762 case htons(ETH_P_IP): in fm10k_tx_encap_offload() 872 case htons(ETH_P_IP): in fm10k_tx_csum()
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | pm.c | 63 .type = __cpu_to_le16(ETH_P_IP),
|
/linux-4.1.27/net/dccp/ |
D | ipv6.c | 338 if (skb->protocol == htons(ETH_P_IP)) in dccp_v6_conn_request() 428 if (skb->protocol == htons(ETH_P_IP)) { in dccp_v6_request_recv_sock() 597 if (skb->protocol == htons(ETH_P_IP)) in dccp_v6_do_rcv()
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
D | os_intfs.c | 288 case htons(ETH_P_IP): in rtw_classify8021d() 321 case ETH_P_IP: in rtw_recv_select_queue23a()
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
D | enic_clsf.c | 181 if (!res || keys.n_proto != htons(ETH_P_IP) || in enic_rx_flow_steer()
|
D | enic_main.c | 458 if (skb->protocol == cpu_to_be16(ETH_P_IP)) { in enic_queue_wq_skb_tso()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 260 if (eth->h_proto != htons(ETH_P_IP)) in rtllib_classify() 634 if (ETH_P_IP == ether_type) { in rtllib_xmit_inter()
|
D | rtllib.h | 760 #define ETH_P_IP 0x0800 /* Internet Protocol packet */ macro
|
/linux-4.1.27/drivers/net/hamradio/ |
D | bpqether.c | 254 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.1.27/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 229 if (eth->h_proto != htons(ETH_P_IP)) in libipw_classify()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 637 case htons(ETH_P_IP): in rtw_classify8021d() 672 case htons(ETH_P_IP): in rtw_recv_select_queue()
|
/linux-4.1.27/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()
|
D | cassini.c | 2145 if (skb->protocol == htons(ETH_P_IP)) { in cas_rx_process_pkt()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1933 if (protocol == htons(ETH_P_IP)) { in igbvf_tso() 1965 if (protocol == htons(ETH_P_IP)) in igbvf_tso() 2019 case htons(ETH_P_IP): in igbvf_tx_csum() 2252 if (protocol == htons(ETH_P_IP)) in igbvf_xmit_frame_ring_adv()
|
/linux-4.1.27/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 194 if (unlikely(skb->protocol != htons(ETH_P_IP)) && in xgene_enet_work_msg() 341 skb->protocol == htons(ETH_P_IP))) { in xgene_enet_rx_frame()
|
/linux-4.1.27/net/ipv6/ |
D | tcp_ipv6.c | 980 if (skb->protocol == htons(ETH_P_IP)) in tcp_v6_conn_request() 1010 if (skb->protocol == htons(ETH_P_IP)) { in tcp_v6_syn_recv_sock() 1215 if (skb->protocol == htons(ETH_P_IP)) in tcp_v6_do_rcv()
|
D | sit.c | 725 .proto = htons(ETH_P_IP), 1023 case htons(ETH_P_IP): in sit_tunnel_xmit()
|
D | ip6_tunnel.c | 871 return ip6_tnl_rcv(skb, ETH_P_IP, IPPROTO_IPIP, in ip4ip6_rcv() 1217 case htons(ETH_P_IP): in ip6_tnl_xmit()
|
D | ip6_vti.c | 529 case htons(ETH_P_IP): in vti6_tnl_xmit()
|
D | udp.c | 424 is_udp4 = (skb->protocol == htons(ETH_P_IP)); in udpv6_recvmsg()
|
D | ip6_gre.c | 910 case htons(ETH_P_IP): in ip6gre_tunnel_xmit()
|
/linux-4.1.27/net/bluetooth/bnep/ |
D | core.c | 92 s->proto_filter[0].start = ETH_P_IP; in bnep_set_default_proto_filter()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 1961 if (protocol == htons(ETH_P_IP)) { in i40e_atr() 2002 flex_ptype |= (protocol == htons(ETH_P_IP)) ? in i40e_atr() 2704 if (protocol == htons(ETH_P_IP)) in i40e_xmit_frame_ring()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 280 if (eth->h_proto != htons(ETH_P_IP)) in ieee80211_classify()
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_core.h | 854 case ETH_P_IP: in qeth_get_ip_version()
|
D | qeth_l3_main.c | 1885 ETH_P_IP); in qeth_l3_rebuild_skb() 1896 case __constant_htons(ETH_P_IP): in qeth_l3_rebuild_skb() 2759 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 | 640 pskb->protocol = ntohs(ETH_P_IP); in netiucv_unpack_skb()
|
/linux-4.1.27/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 | 2433 arp->ar_pro != htons(ETH_P_IP) || in bond_arp_rcv() 3102 if (skb->protocol == htons(ETH_P_IP)) { in bond_flow_dissect() 3701 if (iph->protocol == IPPROTO_IGMP && skb->protocol == htons(ETH_P_IP)) { in bond_xmit_roundrobin()
|
/linux-4.1.27/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.1.27/lib/ |
D | test_bpf.c | 324 { { 10, ETH_P_IP }, { 100, ETH_P_IP } }, 1827 skb->protocol = htons(ETH_P_IP); in populate_skb()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be.h | 772 return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; in is_ipv4_pkt()
|
D | be_main.c | 4980 case htons(ETH_P_IP): in be_features_check()
|
/linux-4.1.27/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 416 if (proto_type == ETH_P_IP) { in xemaclite_recv_data()
|
D | ll_temac_main.c | 773 (skb->protocol == htons(ETH_P_IP)) && in ll_temac_recv()
|
D | xilinx_axienet_main.c | 759 skb->protocol == htons(ETH_P_IP) && in axienet_recv()
|
/linux-4.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 734 if ((header->proto != htons(ETH_P_IP)) && in ipoib_start_xmit() 757 case htons(ETH_P_IP): in ipoib_start_xmit()
|
D | ipoib_cm.c | 1393 if (skb->protocol == htons(ETH_P_IP)) in ipoib_cm_skb_reap()
|
/linux-4.1.27/drivers/net/ethernet/rocker/ |
D | rocker.c | 1964 case ETH_P_IP: in rocker_cmd_flow_tbl_add_acl() 2833 __be16 eth_type = htons(ETH_P_IP); in rocker_port_ipv4_neigh() 3132 .eth_type = htons(ETH_P_IP), 3550 eth_type = htons(ETH_P_IP); in rocker_port_router_mac() 3770 __be16 eth_type = htons(ETH_P_IP); in rocker_port_fib_ipv4()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 900 case ETH_P_IP: in bcm_sysport_insert_tsb() 917 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcm_sysport_insert_tsb()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_xmit.c | 467 if (ETH_P_IP == pattrib->ether_type) { in update_attrib() 474 if (ETH_P_IP == pattrib->ether_type) {/* IP header */ in update_attrib()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | jme.c | 973 if (skb->protocol != htons(ETH_P_IP)) in jme_udpsum() 2099 if (skb->protocol == htons(ETH_P_IP)) { in jme_tx_tso() 2129 case htons(ETH_P_IP): in jme_tx_csum()
|
/linux-4.1.27/drivers/net/ |
D | tun.c | 1034 struct tun_pi pi = { 0, cpu_to_be16(ETH_P_IP) }; in tun_get_user() 1144 pi.proto = htons(ETH_P_IP); in tun_get_user()
|
D | vxlan.c | 1356 parp->ar_pro != htons(ETH_P_IP) || in arp_reduce() 1588 case ETH_P_IP: in route_shortcircuit() 2082 (ntohs(eth->h_proto) == ETH_P_IP || in vxlan_xmit()
|
/linux-4.1.27/net/mpls/ |
D | af_mpls.c | 119 skb->protocol = htons(ETH_P_IP); in mpls_egress()
|
/linux-4.1.27/drivers/net/ethernet/faraday/ |
D | ftgmac100.c | 688 if (protocol == cpu_to_be16(ETH_P_IP)) { in ftgmac100_xmit()
|
/linux-4.1.27/drivers/tty/ |
D | n_gsm.c | 2718 skb->protocol = __constant_htons(ETH_P_IP); in gsm_mux_rx_netchar() 2788 if (nc->protocol != htons(ETH_P_IP)) in gsm_create_network()
|
/linux-4.1.27/drivers/net/slip/ |
D | slip.c | 369 skb->protocol = htons(ETH_P_IP);
|
/linux-4.1.27/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.1.27/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.1.27/drivers/net/ppp/ |
D | ppp_generic.c | 330 case ETH_P_IP: in ethertype_to_npindex() 349 ETH_P_IP,
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mvneta.c | 1239 if (l3_proto == htons(ETH_P_IP)) in mvneta_txq_desc_csum() 1406 if (l3_proto == htons(ETH_P_IP)) { in mvneta_skb_tx_csum()
|
D | mvpp2.c | 2363 mvpp2_prs_match_etype(&pe, 0, ETH_P_IP); in mvpp2_prs_etype_init() 4261 if (l3_proto == swab16(ETH_P_IP)) { in mvpp2_txq_desc_csum() 4961 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.1.27/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 1066 case cpu_to_be16(ETH_P_IP): in wil_tx_desc_offload_cksum_set()
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptlan.c | 1535 (fcllc->ethertype == htons(ETH_P_IP) || in mpt_lan_type_trans()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/tile/ |
D | tilepro.c | 1747 BUG_ON(skb->protocol != htons(ETH_P_IP)); in tile_net_tx_tso()
|
/linux-4.1.27/net/wireless/ |
D | util.c | 769 case htons(ETH_P_IP): in cfg80211_classify8021d()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 5209 if (protocol == htons(ETH_P_IP)) { in e1000_tso() 5271 case cpu_to_be16(ETH_P_IP): in e1000_tx_csum() 5490 if (((struct ethhdr *)skb->data)->h_proto != htons(ETH_P_IP)) in e1000_transfer_dhcp_info() 5644 if (protocol == htons(ETH_P_IP)) in e1000_xmit_frame()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2725 if (protocol == htons(ETH_P_IP)) { in e1000_tso() 2791 case cpu_to_be16(ETH_P_IP): in e1000_tx_csum() 3249 if (protocol == htons(ETH_P_IP)) in e1000_xmit_frame()
|
/linux-4.1.27/security/smack/ |
D | smack_lsm.c | 3758 if (skb->protocol == htons(ETH_P_IP)) in smack_socket_getpeersec_dgram() 3861 if (skb->protocol == htons(ETH_P_IP)) in smack_inet_conn_request()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 1246 case ETH_P_IP: in bcmgenet_put_tx_csum() 1265 if (ip_proto == IPPROTO_UDP && ip_ver == ETH_P_IP) in bcmgenet_put_tx_csum()
|
/linux-4.1.27/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 530 if (eh->h_proto != htons(ETH_P_IP)) in ioc3_tcpudp_checksum()
|
/linux-4.1.27/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 964 ((skb->protocol == htons(ETH_P_IP) && in ibmveth_start_xmit()
|
/linux-4.1.27/net/appletalk/ |
D | ddp.c | 1298 skb->protocol = htons(ETH_P_IP); in handle_ip_over_ddp()
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 4428 if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) in selinux_socket_sock_rcv_skb() 4520 if (skb && skb->protocol == htons(ETH_P_IP)) in selinux_socket_getpeersec_dgram() 4644 if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) in selinux_inet_conn_established()
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 3288 if (first->protocol == htons(ETH_P_IP)) { in ixgbevf_tso() 3348 case htons(ETH_P_IP): in ixgbevf_tx_csum()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1935 if (protocol == htons(ETH_P_IP)) in i40e_xmit_frame_ring()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 6799 if (first->protocol == htons(ETH_P_IP)) { in ixgbe_tso() 6859 case htons(ETH_P_IP): in ixgbe_tx_csum() 7179 (first->protocol != htons(ETH_P_IP) || in ixgbe_atr() 7217 if (first->protocol == htons(ETH_P_IP)) { in ixgbe_atr()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 2510 if (vlan_get_protocol(skb) == htons(ETH_P_IP)) { in bnad_tso_prepare() 2877 if (net_proto == htons(ETH_P_IP)) in bnad_txq_wi_prepare()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1379 skb->protocol == htons(ETH_P_IP) && in sge_rx()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | base.c | 1353 if (ETH_P_IP == ether_type) { in rtl_is_special_data()
|
/linux-4.1.27/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.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | d3.c | 409 pkt->eth.h_proto = cpu_to_be16(ETH_P_IP), in iwl_mvm_build_tcp_packet()
|
/linux-4.1.27/include/linux/ |
D | netdevice.h | 3581 protocol == htons(ETH_P_IP)) || in can_checksum_protocol()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1623 if (skb->protocol == htons(ETH_P_IP) || in atl1e_cal_tdp_req()
|
/linux-4.1.27/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.1.27/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.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 4669 if (first->protocol == htons(ETH_P_IP)) { in igb_tso() 4726 case htons(ETH_P_IP): in igb_tx_csum()
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
D | r8169.c | 6975 case htons(ETH_P_IP): in rtl8169_tso_csum_v2() 7007 case htons(ETH_P_IP): in rtl8169_tso_csum_v2()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_main.c | 343 return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; in is_ipv4_pkt()
|
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 1997 if (vlan_get_protocol(skb) != htons(ETH_P_IP)) in xmit_common()
|
/linux-4.1.27/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 950 ctx.ipv4 = (vlan_get_protocol(skb) == cpu_to_be16(ETH_P_IP)); in vmxnet3_tq_xmit()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_netdev.c | 314 if (skb->protocol != htons(ETH_P_IP)) in mlx4_en_filter_rfs()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 723 case ETH_P_IP: in bnx2x_gro_receive()
|
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.c | 634 if (skb->protocol == htons(ETH_P_IP)) { in vxge_get_vpath_no()
|
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 1284 (vh->h_vlan_encapsulated_proto == htons(ETH_P_IP) || in myri10ge_vlan_ip_csum()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 2582 if (likely(l3_proto == htons(ETH_P_IP))) { in ql_tso()
|