Lines Matching defs:sup
141 setsupportedmap(struct sadb_supported *sup)
145 switch (sup->sadb_supported_exttype) {
160 *ipsup = malloc(sup->sadb_supported_len);
165 memcpy(*ipsup, sup, sup->sadb_supported_len);
704 struct sadb_supported *sup;
720 sup = (struct sadb_supported *)p;
721 if (ep < p + sizeof(*sup) ||
722 PFKEY_EXTLEN(sup) < sizeof(*sup) ||
723 ep < p + sup->sadb_supported_len) {
728 switch (sup->sadb_supported_exttype) {
738 sup->sadb_supported_len = PFKEY_EXTLEN(sup);
741 if (setsupportedmap(sup) != 0)
744 p += sup->sadb_supported_len;