Lines Matching refs:ARPHRD_ETHER
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()
393 skb_set_network_header(skb, (tunnel->dev->type == ARPHRD_ETHER) ? ETH_HLEN : 0); in ip_tunnel_rcv()
410 if (tunnel->dev->type == ARPHRD_ETHER) { in ip_tunnel_rcv()
495 pkt_size -= dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0; in tnl_update_pmtu()
499 mtu -= dev->type == ARPHRD_ETHER ? dev->hard_header_len : 0; in tnl_update_pmtu()
839 if (dev->type != ARPHRD_ETHER) { in ip_tunnel_update()
985 if (dev->type == ARPHRD_ETHER) in __ip_tunnel_change_mtu()
1158 if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) in ip_tunnel_newlink()
1165 if (dev->type == ARPHRD_ETHER) in ip_tunnel_newlink()
1204 if (dev->type != ARPHRD_ETHER) { in ip_tunnel_changelink()