Lines Matching refs:vendor
119 describe_pulled_avp(uint16_t vendor,
131 if (vendor == VENDOR_IETF) {
134 fprintf(stderr, "type=%d/%d ", (int) vendor, (int) type);
158 * vendor -- vendor code
166 l2tp_dgram_validate_avp(uint16_t vendor,
171 if (vendor != VENDOR_IETF) {
173 l2tp_set_errmsg("Unknown mandatory AVP (vendor %d, type %d)",
174 (int) vendor, (int) type);
323 uint16_t vendor, type;
482 &avp_len, &vendor, &type, &err);
487 if (type != AVP_MESSAGE_TYPE || vendor != VENDOR_IETF) {
574 * vendor -- vendor ID
588 uint16_t vendor,
607 vendor == VENDOR_IETF &&
649 dgram->data[dgram->cursor+2] = (vendor >> 8);
650 dgram->data[dgram->cursor+3] = (vendor & 0xFF);
674 * vendor -- set to vendor ID
689 uint16_t *vendor,
737 PULL_UINT16(dgram->data, dgram->cursor, *vendor);
741 if (*vendor == VENDOR_IETF && *type == AVP_RANDOM_VECTOR) {
799 /* DBG(describe_pulled_avp(*vendor, *type, *len, *hidden, *mandatory, ans)); */
961 * vendor -- vendor ID we want
974 uint16_t vendor,
987 l2tp_set_errmsg("AVP of vendor/type (%d, %d) not found",
988 (int) vendor, (int) type);
994 if (vendor == svend && type == stype) break;