Lines Matching refs:lladdr
87 const struct net_linkaddr *lladdr) in net_nbr_link() argument
101 !memcmp(lladdr->addr, in net_nbr_link()
102 net_neighbor_lladdr[i].lladdr.addr, in net_nbr_link()
103 lladdr->len)) { in net_nbr_link()
126 net_linkaddr_set(&net_neighbor_lladdr[avail].lladdr, lladdr->addr, in net_nbr_link()
127 lladdr->len); in net_nbr_link()
128 net_neighbor_lladdr[avail].lladdr.len = lladdr->len; in net_nbr_link()
129 net_neighbor_lladdr[avail].lladdr.type = lladdr->type; in net_nbr_link()
136 int net_nbr_unlink(struct net_nbr *nbr, struct net_linkaddr *lladdr) in net_nbr_unlink() argument
138 ARG_UNUSED(lladdr); in net_nbr_unlink()
150 (void)memset(net_neighbor_lladdr[nbr->idx].lladdr.addr, 0, in net_nbr_unlink()
151 sizeof(net_neighbor_lladdr[nbr->idx].lladdr.addr)); in net_nbr_unlink()
162 struct net_linkaddr *lladdr) in net_nbr_lookup() argument
171 !memcmp(net_neighbor_lladdr[nbr->idx].lladdr.addr, in net_nbr_lookup()
172 lladdr->addr, lladdr->len)) { in net_nbr_lookup()
186 return &net_neighbor_lladdr[idx].lladdr; in net_nbr_get_lladdr()
195 struct net_linkaddr lladdr = { in net_nbr_clear_table() local
196 .addr = net_neighbor_lladdr[i].lladdr.addr, in net_nbr_clear_table()
197 .len = net_neighbor_lladdr[i].lladdr.len in net_nbr_clear_table()
200 net_nbr_unlink(nbr, &lladdr); in net_nbr_clear_table()
227 net_neighbor_lladdr[nbr->idx].lladdr.addr, in net_nbr_print()
228 net_neighbor_lladdr[nbr->idx].lladdr.len)); in net_nbr_print()