Lines Matching refs:lladdr
242 struct net_linkaddr *lladdr; in ethernet_recv() local
353 lladdr = net_pkt_lladdr_src(pkt); in ethernet_recv()
354 lladdr->addr = hdr->src.addr; in ethernet_recv()
355 lladdr->len = sizeof(struct net_eth_addr); in ethernet_recv()
356 lladdr->type = NET_LINK_ETHERNET; in ethernet_recv()
358 lladdr = net_pkt_lladdr_dst(pkt); in ethernet_recv()
359 lladdr->addr = hdr->dst.addr; in ethernet_recv()
360 lladdr->len = sizeof(struct net_eth_addr); in ethernet_recv()
361 lladdr->type = NET_LINK_ETHERNET; in ethernet_recv()
377 if (!net_eth_is_addr_broadcast((struct net_eth_addr *)lladdr->addr) && in ethernet_recv()
378 !net_eth_is_addr_multicast((struct net_eth_addr *)lladdr->addr) && in ethernet_recv()
380 (struct net_eth_addr *)lladdr->addr) && in ethernet_recv()
381 !net_eth_is_addr_ptp_multicast((struct net_eth_addr *)lladdr->addr) && in ethernet_recv()
382 !net_linkaddr_cmp(net_if_get_link_addr(iface), lladdr)) { in ethernet_recv()