Lines Matching defs:sup
142 setsupportedmap(sup)
143 struct sadb_supported *sup;
147 switch (sup->sadb_supported_exttype) {
162 *ipsup = malloc(sup->sadb_supported_len);
167 memcpy(*ipsup, sup, sup->sadb_supported_len);
745 struct sadb_supported *sup;
761 sup = (struct sadb_supported *)p;
762 if (ep < p + sizeof(*sup) ||
763 PFKEY_EXTLEN(sup) < sizeof(*sup) ||
764 ep < p + sup->sadb_supported_len) {
769 switch (sup->sadb_supported_exttype) {
779 sup->sadb_supported_len = PFKEY_EXTLEN(sup);
782 if (setsupportedmap(sup) != 0)
785 p += sup->sadb_supported_len;