/linux/net/ipv4/ |
H A D | ip_tunnel.c | 305 if (dev->type != ARPHRD_ETHER) in ip_tunnel_bind_dev() 320 mtu -= t_hlen + (dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0); in ip_tunnel_bind_dev() 351 if (dev->type == ARPHRD_ETHER) in ip_tunnel_create() 413 skb_set_network_header(skb, (tunnel->dev->type == ARPHRD_ETHER) ? ETH_HLEN : 0); in ip_tunnel_rcv() 437 if (tunnel->dev->type == ARPHRD_ETHER) { in ip_tunnel_rcv() 522 pkt_size -= dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0; in tnl_update_pmtu() 526 mtu -= dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0; in tnl_update_pmtu() 884 if (dev->type != ARPHRD_ETHER) { in ip_tunnel_update() 1073 if (dev->type == ARPHRD_ETHER) in __ip_tunnel_change_mtu() 1243 if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) in ip_tunnel_newlink() [all …]
|
H A D | arp.c | 190 case ARPHRD_ETHER: in arp_mc_map() 613 arp->ar_hrd = htons(ARPHRD_ETHER); in arp_create() 732 case ARPHRD_ETHER: in arp_process() 744 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && in arp_process() 1120 r->arp_ha.sa_family != ARPHRD_ETHER && in arp_req_set()
|
/linux/net/openvswitch/ |
H A D | vport-netdev.c | 47 if (skb->dev->type == ARPHRD_ETHER) in netdev_port_receive() 94 (vport->dev->type != ARPHRD_ETHER && in ovs_netdev_link()
|
H A D | vport.c | 555 case ARPHRD_ETHER: in ovs_vport_send()
|
/linux/net/core/ |
H A D | failover.c | 53 if (slave_dev->type != ARPHRD_ETHER) in failover_slave_register() 247 if (dev->type != ARPHRD_ETHER) in failover_register()
|
/linux/net/llc/ |
H A D | llc_output.c | 31 case ARPHRD_ETHER: in llc_mac_hdr_init()
|
H A D | af_llc.c | 287 addr->sllc_arphrd = ARPHRD_ETHER; in llc_ui_autobind() 288 if (addr->sllc_arphrd != ARPHRD_ETHER) in llc_ui_autobind() 354 addr->sllc_arphrd = ARPHRD_ETHER; in llc_ui_bind() 355 if (unlikely(addr->sllc_family != AF_LLC || addr->sllc_arphrd != ARPHRD_ETHER)) in llc_ui_bind()
|
H A D | llc_sap.c | 31 case ARPHRD_ETHER: in llc_mac_header_len()
|
/linux/drivers/net/wan/ |
H A D | hdlc_fr.c | 254 if (type == ARPHRD_ETHER) in get_dev_p() 302 } else if (skb->dev->type == ARPHRD_ETHER) { in fr_hard_header() 366 if (dev->type == ARPHRD_ETHER) in pvc_ioctl() 395 if (dev->type == ARPHRD_ETHER) { in pvc_xmit() 1080 if (type == ARPHRD_ETHER) in fr_add_pvc() 1092 if (type == ARPHRD_ETHER) { in fr_add_pvc() 1270 result = ARPHRD_ETHER; /* bridged Ethernet device */ in fr_ioctl()
|
H A D | lapbether.c | 83 return dev->type == ARPHRD_ETHER && strncmp(dev->name, "dummy", 5); in dev_is_ethdev() 387 if (dev->type != ARPHRD_ETHER) in lapbeth_new_device()
|
/linux/net/netfilter/ |
H A D | xt_mac.c | 30 if (skb->dev == NULL || skb->dev->type != ARPHRD_ETHER) in mac_mt()
|
H A D | nf_log_syslog.c | 94 if (ah->ar_hrd != htons(ARPHRD_ETHER) || in dump_arp_packet() 789 case ARPHRD_ETHER: in dump_mac_header()
|
/linux/include/uapi/linux/ |
H A D | if_arp.h | 31 #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */ macro
|
/linux/net/ipv6/ |
H A D | ip6_gre.c | 128 ARPHRD_ETHER : ARPHRD_IP6GRE; in ip6gre_tunnel_lookup() 755 if (dev->type == ARPHRD_ETHER) in __gre6_xmit() 764 protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto; in __gre6_xmit() 1120 if (dev->type != ARPHRD_ETHER) { in ip6gre_tnl_link_config_common() 1142 p->flags&IP6_TNL_F_CAP_RCV && dev->type != ARPHRD_ETHER) in ip6gre_tnl_link_config_common() 1179 if (dev->type == ARPHRD_ETHER) in ip6gre_tnl_link_config_route() 1514 if (dev->type == ARPHRD_ETHER) in ip6gre_tunnel_init_common() 1898 if (dev->type == ARPHRD_ETHER) in ip6erspan_tap_init() 1991 if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) in ip6gre_newlink_common()
|
/linux/net/bridge/netfilter/ |
H A D | ebt_arp.c | 72 if (ah->ar_hln != ETH_ALEN || ah->ar_hrd != htons(ARPHRD_ETHER)) in ebt_arp_mt()
|
/linux/net/wireless/ |
H A D | ibss.c | 439 if (ap_addr->sa_family != ARPHRD_ETHER) in cfg80211_ibss_wext_siwap() 484 ap_addr->sa_family = ARPHRD_ETHER; in cfg80211_ibss_wext_giwap()
|
/linux/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_handlers.c | 114 if (skb->dev->type == ARPHRD_ETHER) { in rmnet_map_ingress_handler()
|
/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | recv_linux.c | 179 ev.src_addr.sa_family = ARPHRD_ETHER; in rtw_handle_tkip_mic_err()
|
/linux/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | net.c | 95 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in iwl_mei_rx_filter_arp()
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | main.c | 1841 ndev->type = ARPHRD_ETHER; in __wil_up() 1845 ndev->type = ARPHRD_ETHER; in __wil_up() 1849 ndev->type = ARPHRD_ETHER; in __wil_up() 1853 ndev->type = ARPHRD_ETHER; in __wil_up()
|
/linux/net/appletalk/ |
H A D | ddp.c | 698 if (dev->type != ARPHRD_ETHER && in atif_ioctl() 725 if (dev->type == ARPHRD_ETHER && nr->nr_phase != 2) in atif_ioctl() 828 if (dev->type != ARPHRD_ETHER) in atif_ioctl() 846 if (dev->type == ARPHRD_ETHER && nr->nr_phase != 2) in atif_ioctl()
|
/linux/net/sched/ |
H A D | act_skbmod.c | 61 } else if (!skb->dev || skb->dev->type != ARPHRD_ETHER) { in tcf_skbmod_act()
|
/linux/drivers/net/hamradio/ |
H A D | bpqether.c | 161 return dev->type == ARPHRD_ETHER && strncmp(dev->name, "dummy", 5); in dev_is_ethdev()
|
/linux/drivers/net/ethernet/qualcomm/ |
H A D | qca_uart.c | 253 dev->type = ARPHRD_ETHER; in qcauart_netdev_init()
|
/linux/net/ethernet/ |
H A D | eth.c | 348 dev->type = ARPHRD_ETHER; in ether_setup()
|