Home
last modified time | relevance | path

Searched refs:lladdr (Results 1 – 6 of 6) sorted by relevance

/net/ipv6/
Dndisc.c695 u8 *lladdr = NULL; in ndisc_recv_ns() local
732 lladdr = ndisc_opt_addr_data(ndopts.nd_opts_src_lladdr, dev); in ndisc_recv_ns()
733 if (!lladdr) { in ndisc_recv_ns()
830 !inc || lladdr || !dev->addr_len); in ndisc_recv_ns()
832 neigh_update(neigh, lladdr, NUD_STALE, in ndisc_recv_ns()
855 u8 *lladdr = NULL; in ndisc_recv_na() local
884 lladdr = ndisc_opt_addr_data(ndopts.nd_opts_tgt_lladdr, dev); in ndisc_recv_na()
885 if (!lladdr) { in ndisc_recv_na()
928 if (lladdr && !memcmp(lladdr, dev->dev_addr, dev->addr_len) && in ndisc_recv_na()
935 neigh_update(neigh, lladdr, in ndisc_recv_na()
[all …]
Droute.c1653 u8 *lladdr; in rt6_do_redirect() local
1695 lladdr = NULL; in rt6_do_redirect()
1697 lladdr = ndisc_opt_addr_data(ndopts.nd_opts_tgt_lladdr, in rt6_do_redirect()
1699 if (!lladdr) { in rt6_do_redirect()
1725 neigh_update(neigh, lladdr, NUD_STALE, in rt6_do_redirect()
Daddrconf.c2873 struct in6_addr lladdr; in ipv6_inherit_linklocal() local
2875 if (!ipv6_get_lladdr(link_dev, &lladdr, IFA_F_TENTATIVE)) { in ipv6_inherit_linklocal()
2876 addrconf_add_linklocal(idev, &lladdr); in ipv6_inherit_linklocal()
/net/ieee802154/
D6lowpan.c173 const unsigned char *lladdr) in lowpan_compress_addr_64() argument
177 if (is_addr_mac_addr_based(ipaddr, lladdr)) in lowpan_compress_addr_64()
195 lowpan_uip_ds6_set_addr_iid(struct in6_addr *ipaddr, unsigned char *lladdr) in lowpan_uip_ds6_set_addr_iid() argument
197 memcpy(&ipaddr->s6_addr[8], lladdr, IEEE802154_ADDR_LEN); in lowpan_uip_ds6_set_addr_iid()
211 u8 const *prefix, u8 pref_post_count, unsigned char *lladdr) in lowpan_uncompress_addr() argument
220 if (lladdr) in lowpan_uncompress_addr()
222 lladdr, IEEE802154_ADDR_LEN); in lowpan_uncompress_addr()
234 if (lladdr == NULL) in lowpan_uncompress_addr()
238 lowpan_uip_ds6_set_addr_iid(ipaddr, lladdr); in lowpan_uncompress_addr()
/net/core/
Dneighbour.c1071 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, in neigh_update() argument
1108 lladdr = neigh->ha; in neigh_update()
1109 } else if (lladdr) { in neigh_update()
1116 !memcmp(lladdr, neigh->ha, dev->addr_len)) in neigh_update()
1117 lladdr = neigh->ha; in neigh_update()
1125 lladdr = neigh->ha; in neigh_update()
1138 if (lladdr != neigh->ha && !(flags & NEIGH_UPDATE_F_OVERRIDE)) { in neigh_update()
1142 lladdr = neigh->ha; in neigh_update()
1147 if (lladdr == neigh->ha && new == NUD_STALE && in neigh_update()
1167 if (lladdr != neigh->ha) { in neigh_update()
[all …]
Dnetpoll.c647 u8 *lladdr = NULL; in netpoll_neigh_reply() local
719 lladdr, np->dev->dev_addr, in netpoll_neigh_reply()