| /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 | 300 int attr_type = 0; in nl_verify_parsers() local 302 MPASS(p->np[j].type > attr_type); in nl_verify_parsers() 303 attr_type = p->np[j].type; in nl_verify_parsers()
|
| 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() 1148 snl_add_msg_attr(struct snl_writer *nw, int attr_type, int attr_len, const void *data) in snl_add_msg_attr() argument 1160 nla->nla_type = attr_type; in snl_add_msg_attr()
|
| H A D | netlink_message_writer.h | 221 bool nlattr_add(struct nl_writer *nw, uint16_t attr_type, uint16_t attr_len,
|
| /freebsd/sys/dev/ufshci/ |
| H A D | ufshci_dev.c | 153 enum ufshci_attributes attr_type, uint8_t index, uint8_t selector, in ufshci_dev_read_attribute() argument 161 param.type = attr_type; in ufshci_dev_read_attribute() 182 enum ufshci_attributes attr_type, uint8_t index, uint8_t selector, in ufshci_dev_write_attribute() argument 190 param.type = attr_type; in ufshci_dev_write_attribute()
|
| /freebsd/contrib/expat/tests/ |
| H A D | handlers.h | 441 const XML_Char *attr_type; member 448 const XML_Char *attr_type, const XML_Char *default_value, int is_required);
|
| H A D | handlers.c | 1551 const XML_Char *attr_type, in verify_attlist_decl_handler() argument 1559 if (xcstrcmp(attr_type, at->attr_type) != 0) in verify_attlist_decl_handler()
|
| /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()
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | ps.c | 384 noa_head->attr_type = IEEE80211_P2P_ATTR_ABSENCE_NOTICE; in rtw89_p2p_noa_renew()
|
| H A D | core.h | 3555 u8 attr_type; member
|