Home
last modified time | relevance | path

Searched refs:ARPHRD_ETHER (Results 1 – 25 of 56) sorted by relevance

123

/linux/net/ipv4/
H A Dip_tunnel.c305 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 Darp.c190 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 Dvport-netdev.c47 if (skb->dev->type == ARPHRD_ETHER) in netdev_port_receive()
94 (vport->dev->type != ARPHRD_ETHER && in ovs_netdev_link()
H A Dvport.c555 case ARPHRD_ETHER: in ovs_vport_send()
/linux/net/core/
H A Dfailover.c53 if (slave_dev->type != ARPHRD_ETHER) in failover_slave_register()
247 if (dev->type != ARPHRD_ETHER) in failover_register()
/linux/net/llc/
H A Dllc_output.c31 case ARPHRD_ETHER: in llc_mac_hdr_init()
H A Daf_llc.c287 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 Dllc_sap.c31 case ARPHRD_ETHER: in llc_mac_header_len()
/linux/drivers/net/wan/
H A Dhdlc_fr.c254 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 Dlapbether.c83 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 Dxt_mac.c30 if (skb->dev == NULL || skb->dev->type != ARPHRD_ETHER) in mac_mt()
H A Dnf_log_syslog.c94 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 Dif_arp.h31 #define ARPHRD_ETHER 1 /* Ethernet 10Mbps */ macro
/linux/net/ipv6/
H A Dip6_gre.c128 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 Debt_arp.c72 if (ah->ar_hln != ETH_ALEN || ah->ar_hrd != htons(ARPHRD_ETHER)) in ebt_arp_mt()
/linux/net/wireless/
H A Dibss.c439 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 Drmnet_handlers.c114 if (skb->dev->type == ARPHRD_ETHER) { in rmnet_map_ingress_handler()
/linux/drivers/staging/rtl8723bs/os_dep/
H A Drecv_linux.c179 ev.src_addr.sa_family = ARPHRD_ETHER; in rtw_handle_tkip_mic_err()
/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c95 if (arp->ar_hrd != htons(ARPHRD_ETHER) || in iwl_mei_rx_filter_arp()
/linux/drivers/net/wireless/ath/wil6210/
H A Dmain.c1841 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 Dddp.c698 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 Dact_skbmod.c61 } else if (!skb->dev || skb->dev->type != ARPHRD_ETHER) { in tcf_skbmod_act()
/linux/drivers/net/hamradio/
H A Dbpqether.c161 return dev->type == ARPHRD_ETHER && strncmp(dev->name, "dummy", 5); in dev_is_ethdev()
/linux/drivers/net/ethernet/qualcomm/
H A Dqca_uart.c253 dev->type = ARPHRD_ETHER; in qcauart_netdev_init()
/linux/net/ethernet/
H A Deth.c348 dev->type = ARPHRD_ETHER; in ether_setup()

123