attr_type
const XML_Char *attr_type,
if (xcstrcmp(attr_type, at->attr_type) != 0)
const XML_Char *attr_type;
const XML_Char *attr_type, const XML_Char *default_value, int is_required);
uint8_t attr_type)
cfgmap.attr_type = attr_type;
cfgmap->attr_type == cfgmap0->attr_type) {
uint8_t attr_type;
attr->attr_type = htobe16(IKEV2_ATTRAF_TV |
uint16_t attr_type; /* Attribute type */
type = betoh16(attr.attr_type) & ~IKEV2_ATTRAF_TV;
if (betoh16(attr.attr_type) & IKEV2_ATTRAF_TV) {
cfgmap->vendor_id, cfgmap->attr_type);
cfgmap->vendor_id, cfgmap->attr_type);
int cfg_type, uint32_t vendor_id, uint8_t attr_type)
if (vendor_id == 0 && radius_has_attr(pkt, attr_type))
radius_get_ipv4_attr(pkt, attr_type, &ia4);
attr_type))
radius_get_vs_ipv4_attr(pkt, vendor_id, attr_type,
if (vendor_id == 0 && radius_has_attr(pkt, attr_type))
radius_get_ipv6_attr(pkt, attr_type, &ia6);
attr_type))
radius_get_vs_ipv6_attr(pkt, vendor_id, attr_type,
ldap_find_attribute(struct ber_element *entry, struct attr_type *at)
struct attr_type *at;
struct attr_type *at);
struct attr_type *at;
struct attr_type *at;
struct attr_type *at;
strlcat(buf, ATTR_NAME(aptr->attr_type), size) >= size)
if (strlcat(buf, ATTR_NAME(aptr->attr_type),
schema_dump_attribute(struct attr_type *at, char *buf, size_t size)
push_attr(struct attr_list *alist, struct attr_type *a)
aptr->attr_type = a;
attr_oid_cmp(struct attr_type *a, struct attr_type *b)
schema_link_attr_name(struct schema *schema, const char *name, struct attr_type *attr)
schema_link_attr_names(struct schema *schema, struct attr_type *attr)
RB_GENERATE(attr_type_tree, attr_type, link, attr_oid_cmp);
struct attr_type *attr;
static struct attr_list *push_attr(struct attr_list *alist, struct attr_type *a);
struct attr_type *
schema_validate_match_rule(struct schema *schema, struct attr_type *at,
struct attr_type *attr = NULL, *prev, *sup;
struct attr_type *
struct attr_type find;
struct attr_type *
struct attr_type *ou_attr_type;
int schema_dump_attribute(struct attr_type *obj,
struct attr_type *lookup_attribute_by_oid(struct schema *schema, char *oid);
struct attr_type *lookup_attribute_by_name(struct schema *schema, char *name);
struct attr_type *lookup_attribute(struct schema *schema, char *oid_or_name);
RB_ENTRY(attr_type) link;
struct attr_type *sup;
RB_HEAD(attr_type_tree, attr_type);
RB_PROTOTYPE(attr_type_tree, attr_type, link, attr_oid_cmp);
struct attr_type *attr_type;
struct attr_type *at;
struct attr_type *at;
struct attr_type *at;
has_attribute(struct attr_type *at, struct attr_list *alist)
if (at == ap->attr_type)
validate_allowed_attribute(struct attr_type *at, struct obj_list *olist)
struct attr_type *at;
struct attr_type *at;
at = ap->attr_type;
validate_attribute(struct attr_type *at, struct ber_element *vals)
"type=%d", avp->vendor_id, avp->attr_type));
avp_attr_type_string(avp->attr_type),
avp->attr_type);
switch (avp->attr_type) {
avp_attr_type_string(avp->attr_type),
avp->attr_type);
avp_attr_type_string(avp->attr_type),
avp->attr_type));
avp->attr_type = L2TP_AVP_TYPE_MESSAGE_TYPE;
avp->attr_type = L2TP_AVP_TYPE_ASSIGNED_SESSION_ID;
"type=%d", avp->vendor_id, avp->attr_type));
avp_attr_type_string(avp->attr_type),
avp->attr_type);
switch (avp->attr_type) {
avp_attr_type_string(avp->attr_type),
avp->attr_type);
avp_attr_type_string(avp->attr_type),
avp->attr_type));
"type=%d", avp->vendor_id, avp->attr_type));
avp_attr_type_string(avp->attr_type),
avp->attr_type);
switch (avp->attr_type) {
avp_attr_type_string(avp->attr_type),
avp->attr_type);
avp_attr_type_string(avp->attr_type),
avp->attr_type));
avp->attr_type = L2TP_AVP_TYPE_MESSAGE_TYPE;
avp->attr_type = L2TP_AVP_TYPE_RESULT_CODE;
avp->attr_type = L2TP_AVP_TYPE_ASSIGNED_SESSION_ID;
ppp_cause.avp.attr_type =
"type=%d", avp->vendor_id, avp->attr_type));
switch (avp->attr_type) {
"mandatory", avp_attr_type_string(avp->attr_type),
avp->attr_type);
avp_attr_type_string(avp->attr_type),
avp->attr_type));
avp->attr_type = L2TP_AVP_TYPE_MESSAGE_TYPE;
avp->attr_type = L2TP_AVP_TYPE_ASSINGED_TUNNEL_ID;
avp->attr_type = L2TP_AVP_TYPE_RESULT_CODE;
"type=%d", avp->vendor_id, avp->attr_type));
avp_attr_type_string(avp->attr_type),
avp->attr_type);
switch (avp->attr_type) {
avp_attr_type_string(avp->attr_type),
avp->attr_type);
avp_attr_type_string(avp->attr_type),
avp->attr_type));
avp->attr_type = L2TP_AVP_TYPE_MESSAGE_TYPE;
avp->attr_type = L2TP_AVP_TYPE_PROTOCOL_VERSION;
avp->attr_type = L2TP_AVP_TYPE_FRAMING_CAPABILITIES;
avp->attr_type = L2TP_AVP_TYPE_HOST_NAME;
avp->attr_type = L2TP_AVP_TYPE_ASSINGED_TUNNEL_ID;
avp->attr_type = L2TP_AVP_TYPE_FIRMWARE_REVISION;
avp->attr_type = L2TP_AVP_TYPE_VENDOR_NAME;
avp->attr_type = L2TP_AVP_TYPE_RECV_WINDOW_SIZE;
avp->attr_type = L2TP_AVP_TYPE_MESSAGE_TYPE;
avp_attr_type_string(int attr_type)
if (attr_type == l2tp_avp_attribute_names[i].label)
uint16_t vendor_id, uint16_t attr_type, int fill_data)
if (avp->vendor_id != vendor_id || avp->attr_type != attr_type) {
avp1.attr_type = htons(avp->attr_type);
avp->attr_type = *pkt << 8;
avp->attr_type |= *(pkt + 1);
avp_attr_type_string((_avp)->attr_type), \
avp_attr_type_string((_avp)->attr_type), \
uint16_t attr_type;
radius_const_print(FILE *fout, RADIUS_PACKET *radpkt, uint8_t attr_type,
if (radius_get_uint32_attr(radpkt, attr_type, &u32val) != 0)
radius_u32_print(FILE *fout, RADIUS_PACKET *radpkt, uint8_t attr_type,
if (radius_get_uint32_attr(radpkt, attr_type, &u32val) != 0)
radius_str_print(FILE *fout, RADIUS_PACKET *radpkt, uint8_t attr_type,
if (radius_get_string_attr(radpkt, attr_type, strval, sizeof(strval))
radius_ipv4_print(FILE *fout, RADIUS_PACKET *radpkt, uint8_t attr_type,
if (radius_get_ipv4_attr(radpkt, attr_type, &ipv4) != 0)
radius_ipv6_print(FILE *fout, RADIUS_PACKET *radpkt, uint8_t attr_type,
if (radius_get_ipv6_attr(radpkt, attr_type, &ipv6) != 0)
ike_cfg_attribute_print (u_int8_t *buf, int attr_type, int maxlen)