Lines Matching refs:sup
164 setsupportedmap(struct sadb_supported *sup)
168 switch (sup->sadb_supported_exttype) {
183 *ipsup = malloc((size_t)sup->sadb_supported_len);
188 memcpy(*ipsup, sup, (size_t)sup->sadb_supported_len);
744 struct sadb_supported *sup;
760 sup = (void *)p;
761 if (ep < p + sizeof(*sup) ||
762 PFKEY_EXTLEN(sup) < sizeof(*sup) ||
763 ep < p + sup->sadb_supported_len) {
768 switch (sup->sadb_supported_exttype) {
778 sup->sadb_supported_len = PFKEY_EXTLEN(sup);
781 if (setsupportedmap(sup) != 0)
784 p += sup->sadb_supported_len;