Home
last modified time | relevance | path

Searched refs:attr_type (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/tests/atf_python/sys/net/
H A Drtsock.py358 def add_sa_attr(self, attr_type, attr_bytes: bytes): argument
359 self._attrs[attr_type] = attr_bytes
363 self.add_ip6_attr(attr_type, ip_addr, scopeid)
365 self.add_ip4_attr(attr_type, ip_addr)
367 def add_ip4_attr(self, attr_type, ip: str): argument
368 self.add_sa_attr(attr_type, self.sa.ip_sa(ip))
370 def add_ip6_attr(self, attr_type, ip6: str, scopeid: int): argument
371 self.add_sa_attr(attr_type, self.sa.ip6_sa(ip6, scopeid))
374 self.add_sa_attr(attr_type, self.sa.link_sa(ifindex))
376 def get_sa(self, attr_type) -> bytes: argument
[all …]
/freebsd-14.2/contrib/tcpdump/
H A Dprint-radius.c611 } attr_type[]= variable
905 if (attr_type[attr_code].siz_subtypes) { in print_attr_num()
908 table = attr_type[attr_code].subtypes; in print_attr_num()
920 if ( data_value <= (uint32_t)(attr_type[attr_code].siz_subtypes - 1 + in print_attr_num()
921 attr_type[attr_code].first_subtype) && in print_attr_num()
922 data_value >= attr_type[attr_code].first_subtype ) in print_attr_num()
1381 if (type != 0 && type < TAM_SIZE(attr_type)) in radius_attrs_print()
1382 attr_string = attr_type[type].name; in radius_attrs_print()
1400 if (type < TAM_SIZE(attr_type)) { in radius_attrs_print()
1402 if ( attr_type[type].print_func ) in radius_attrs_print()
[all …]
H A Dprint-l2tp.c569 uint16_t attr_type; in l2tp_avp_print() local
614 attr_type = GET_BE_U_2(dat); dat += 2; in l2tp_avp_print()
615 ND_PRINT("%s", tok2str(l2tp_avp2str, "AVP-#%u", attr_type)); in l2tp_avp_print()
620 switch (attr_type) { in l2tp_avp_print()
/freebsd-14.2/sys/netlink/
H A Dnetlink_message_parser.h282 int attr_type = 0; in nl_verify_parsers() local
284 MPASS(p->np[j].type > attr_type); in nl_verify_parsers()
285 attr_type = p->np[j].type; in nl_verify_parsers()
H A Dnetlink_message_writer.h262 nlattr_add(struct nl_writer *nw, int attr_type, int attr_len, const void *data) in nlattr_add() argument
274 nla->nla_type = attr_type; in nlattr_add()
H A Dnetlink_snl.h414 int attr_type = 0; in snl_verify_parsers() local
416 assert(p->np[j].type > attr_type); in snl_verify_parsers()
417 attr_type = p->np[j].type; in snl_verify_parsers()
1105 snl_add_msg_attr(struct snl_writer *nw, int attr_type, int attr_len, const void *data) in snl_add_msg_attr() argument
1117 nla->nla_type = attr_type; in snl_add_msg_attr()
/freebsd-14.2/contrib/expat/tests/
H A Dhandlers.h441 const XML_Char *attr_type; member
448 const XML_Char *attr_type, const XML_Char *default_value, int is_required);
H A Dhandlers.c1551 const XML_Char *attr_type, in verify_attlist_decl_handler() argument
1559 if (xcstrcmp(attr_type, at->attr_type)) in verify_attlist_decl_handler()
/freebsd-14.2/contrib/wpa/src/common/
H A Ddpp_crypto.c2157 int attr_type; in dpp_validate_csr() local
2172 &attr_len, &attr_type); in dpp_validate_csr()
2180 if (attr_type != ASN1_TAG_UTF8STRING && in dpp_validate_csr()
2181 attr_type != ASN1_TAG_PRINTABLESTRING && in dpp_validate_csr()
2182 attr_type != ASN1_TAG_IA5STRING) { in dpp_validate_csr()
2185 attr_type); in dpp_validate_csr()
/freebsd-14.2/contrib/wpa/src/crypto/
H A Dcrypto.h1269 int attr_type, const u8 *value, size_t len);
H A Dcrypto_wolfssl.c3383 int attr_type, const u8 *value, size_t len) in crypto_csr_set_attribute() argument
3385 if (!csr || attr_type != ASN1_TAG_UTF8STRING || !value || in crypto_csr_set_attribute()
H A Dcrypto_openssl.c4343 int attr_type, const u8 *value, size_t len) in crypto_csr_set_attribute() argument
4355 if (!X509_REQ_add1_attr_by_NID((X509_REQ *) csr, nid, attr_type, value, in crypto_csr_set_attribute()