sup
u_int m0, m1, m2, m3, top, sup, nrm;
sup = nrm << 1;
if (m0 >= sup) {
for (rsh = 1, top = m0 >> 1; top >= sup; rsh++) /* XXX slow */
sup su = NULL;
sodump(sup su, char *which)
sup su = NULL;
void sodump(sup, char *);
u_int m0, m1, m2, m3, top, sup, nrm;
sup = nrm << 1;
if (m0 >= sup) {
for (rsh = 1, top = m0 >> 1; top >= sup; rsh++) /* XXX slow */
struct iso_supplementary_descriptor *sup = NULL;
sup = (struct iso_supplementary_descriptor *)vdp;
if (bcmp(sup->escape, "%/@", 3) == 0)
if (bcmp(sup->escape, "%/C", 3) == 0)
if (bcmp(sup->escape, "%/E", 3) == 0)
if (isonum_711 (sup->flags) & 1)
sup->root_directory_record;
struct session_up sup;
if (imsg_get_data(&imsg, &sup, sizeof(sup)) == -1)
peer_up(peer, &sup);
peer_up(struct rde_peer *peer, struct session_up *sup)
if (memcmp(&peer->remote_addr, &sup->remote_addr,
sizeof(sup->remote_addr)) == 0 &&
memcmp(&peer->local_v4_addr, &sup->local_v4_addr,
sizeof(sup->local_v4_addr)) == 0 &&
memcmp(&peer->local_v6_addr, &sup->local_v6_addr,
sizeof(sup->local_v6_addr)) == 0 &&
memcmp(&peer->capa, &sup->capa, sizeof(sup->capa)) == 0)
peer->remote_addr = sup->remote_addr;
peer->local_v4_addr = sup->local_v4_addr;
peer->local_v6_addr = sup->local_v6_addr;
memcpy(&peer->capa, &sup->capa, sizeof(sup->capa));
peer->remote_bgpid = sup->remote_bgpid;
peer->local_if_scope = sup->if_scope;
peer->short_as = sup->short_as;
struct session_up sup;
sup.local_v4_addr = p->local;
sup.local_v6_addr = p->local_alt;
sup.local_v6_addr = p->local;
sup.local_v4_addr = p->local_alt;
sup.remote_addr = p->remote;
sup.if_scope = p->if_scope;
sup.remote_bgpid = p->remote_bgpid;
sup.short_as = p->short_as;
memcpy(&sup.capa, &p->capa.neg, sizeof(sup.capa));
imsg_rde(IMSG_SESSION_UP, p->conf.id, &sup, sizeof(sup));
if (schema_dump_objlist("SUP", obj->sup, buf, size) != 0)
if (at->sup != NULL)
strlcat(buf, ATTR_NAME(at->sup), size) >= size)
struct attr_type *attr = NULL, *prev, *sup;
if ((attr->sup = lookup_attribute(schema, arg)) == NULL) {
sup = attr->sup;
while (attr->syntax == NULL && sup != NULL) {
attr->syntax = sup->syntax;
sup = sup->sup;
sup = attr->sup;
while (attr->equality == NULL && sup != NULL) {
attr->equality = sup->equality;
sup = sup->sup;
sup = attr->sup;
while (attr->ordering == NULL && sup != NULL) {
attr->ordering = sup->ordering;
sup = sup->sup;
sup = attr->sup;
while (attr->substr == NULL && sup != NULL) {
attr->substr = sup->substr;
sup = sup->sup;
obj->sup = schema_parse_objlist(schema);
if (obj->sup == NULL)
if (obj->sup != NULL) {
SLIST_FOREACH(optr, obj->sup, next) {
struct obj_list *sup;
struct attr_type *sup;
if (validate_allowed_attribute(at, obj->sup) == LDAP_SUCCESS)
struct obj_ptr *optr, *sup;
if (obj->sup != NULL)
SLIST_FOREACH(sup, obj->sup, next)
olist_push(olist, sup->object);
is_super(struct object *sup, struct object *obj)
if (sup == NULL || obj->sup == NULL)
SLIST_FOREACH(optr, obj->sup, next)
if (optr->object == sup || is_super(sup, optr->object))