/freebsd/tests/atf_python/sys/net/ |
H A D | rtsock.py | 358 def add_sa_attr(self, attr_type, attr_bytes: bytes): argument 359 self._attrs[attr_type] = attr_bytes 361 def add_ip_attr(self, attr_type, ip_addr: str, scopeid: int = 0): argument 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)) 373 def add_link_attr(self, attr_type, ifindex: Optional[int] = 0): argument [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-radius.c | 611 } 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 D | print-l2tp.c | 569 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/sys/netlink/ |
H A D | netlink_message_parser.h | 299 int attr_type = 0; in nl_verify_parsers() 301 MPASS(p->np[j].type > attr_type); in nl_verify_parsers() 302 attr_type = p->np[j].type; in nl_verify_parsers() 294 int attr_type = 0; nl_verify_parsers() local
|
H A D | netlink_message_writer.c | 367 nlattr_add(struct nl_writer *nw, uint16_t attr_type, uint16_t attr_len, in nlattr_add() argument 387 nla->nla_type = attr_type; in nlattr_add()
|
H A D | netlink_snl.h | 423 int attr_type = 0; in snl_verify_parsers() local 425 assert(p->np[j].type > attr_type); in snl_verify_parsers() 426 attr_type = p->np[j].type; in snl_verify_parsers() 1139 snl_add_msg_attr(struct snl_writer *nw, int attr_type, int attr_len, const void *data) in snl_add_msg_attr() argument 1151 nla->nla_type = attr_type; in snl_add_msg_attr()
|
H A D | netlink_message_writer.h | 219 bool nlattr_add(struct nl_writer *nw, uint16_t attr_type, uint16_t attr_len,
|
/freebsd/contrib/expat/tests/ |
H A D | handlers.h | 440 const XML_Char *attr_type; 447 const XML_Char *attr_type, const XML_Char *default_value, int is_required); 435 const XML_Char *attr_type; global() member
|
H A D | handlers.c | 1551 const XML_Char *attr_type, in verify_attlist_decl_handler() 1559 if (xcstrcmp(attr_type, at->attr_type)) in verify_attlist_decl_handler() 1549 verify_attlist_decl_handler(void * userData,const XML_Char * element_name,const XML_Char * attr_name,const XML_Char * attr_type,const XML_Char * default_value,int is_required) verify_attlist_decl_handler() argument
|
/freebsd/contrib/wpa/src/common/ |
H A D | dpp_crypto.c | 2157 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/contrib/wpa/src/crypto/ |
H A D | crypto.h | 1269 int attr_type, const u8 *value, size_t len);
|
H A D | crypto_wolfssl.c | 3383 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 D | crypto_openssl.c | 4343 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()
|