Lines Matching refs:sup
164 setsupportedmap(sup)
165 struct sadb_supported *sup;
169 switch (sup->sadb_supported_exttype) {
184 *ipsup = malloc(sup->sadb_supported_len);
189 memcpy(*ipsup, sup, sup->sadb_supported_len);
766 struct sadb_supported *sup;
782 sup = (struct sadb_supported *)p;
783 if (ep < p + sizeof(*sup) ||
784 (size_t)PFKEY_EXTLEN(sup) < sizeof(*sup) ||
785 ep < p + sup->sadb_supported_len) {
790 switch (sup->sadb_supported_exttype) {
800 sup->sadb_supported_len = PFKEY_EXTLEN(sup);
803 if (setsupportedmap(sup) != 0)
806 p += sup->sadb_supported_len;