Home | History | Annotate | Download | only in ldpd

Lines Matching refs:sa_len

82 	do { l = RT_ROUNDUP(u->sa.sa_len); memcpy(cp, u, l); cp += l;} while(0);
84 do { l = RT_ROUNDUP(u.sa_len); memcpy(cp, &u, l); cp += l; } while(0);
87 if (size_cp + sunion->sa.sa_len > rlen) \
90 size_cp += sunion->sa.sa_len;
100 RT_ROUNDUP((origunion)->sa.sa_len)); \
161 int olen = su->sa.sa_len;
164 for (su->sa.sa_len = 0; cp1 > (char *) su;)
166 su->sa.sa_len = 1 + cp1 - (char *) su;
171 su->sa.sa_len = 4 + from_union_to_cidr(su) / 8 +
222 if (a->sa.sa_len != b->sa.sa_len)
224 return memcmp(a, b, a->sa.sa_len);
342 so_prefix_temp = calloc(1, so_prefix->sa.sa_len);
345 memcpy(so_prefix_temp, so_prefix, so_prefix->sa.sa_len);
431 so_pref_temp = calloc(1, so_pref->sa.sa_len);
434 memcpy(so_pref_temp, so_pref, so_pref->sa.sa_len);
503 union sockunion *so_pref_temp = calloc(1, so_pref->sa.sa_len);
508 memcpy(so_pref_temp, so_pref, so_pref->sa.sa_len);
650 so_pref->sa.sa_len = sizeof(struct sockaddr_in);
902 so_pref->sa.sa_len = sizeof(struct sockaddr_in);