Lines Matching refs:alen
32 int alen;
78 int alen;
79 im->alen = alen = RTA_PAYLOAD(tb[IFLA_ADDRESS]);
80 if (alen > sizeof(im->addr))
81 alen = sizeof(im->addr);
82 memcpy(im->addr, RTA_DATA(tb[IFLA_ADDRESS]), alen);
84 im->alen = 0;
138 unsigned alen)
147 if (alen > sizeof(im->addr))
148 alen = sizeof(im->addr);
149 if (alen > im->alen)
150 alen = im->alen;
151 memcpy(addr, im->addr, alen);
152 return alen;