Home
last modified time | relevance | path

Searched refs:htype (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-13.1/libexec/bootpd/
H A Dlookup.c32 lookup_hwa(hostname, htype) in lookup_hwa() argument
34 int htype;
36 switch (htype) {
55 report(LOG_ERR, "no lookup for HW addr type %d", htype);
H A Dreadfile.c136 byte htype; member
430 netname(hp->htype),
887 if (hp->flags.htype == 0) {
888 hp->flags.htype = TRUE;
906 hp->flags.htype = FALSE;
931 hp->flags.htype = TRUE;
1374 if (host1->htype != host2->htype) {
1447 DUP_COPY(htype);
1758 prs_haddr(src, htype) in prs_haddr() argument
1760 u_int htype;
[all …]
H A Dbootpd.h106 htype :1, member
182 htype, /* RFC826 says this should be 16-bits but member
H A Ddumptab.c182 if (hp->flags.htype) {
183 int hlen = haddrlength(hp->htype);
184 fprintf(fp, "\\\n\t:ht=%u:", (unsigned) hp->htype);
H A Dlookup.h6 extern u_char *lookup_hwa(char *hostname, int htype);
/freebsd-13.1/sys/net/
H A Dif_spppfr.c134 unsigned short htype; /* hardware type = ARPHRD_FRELAY */ member
413 if ((ntohs (req->htype) != ARPHRD_FRELAY || in sppp_fr_arp()
414 ntohs (req->htype) != 16) || /* for BayNetworks routers */ in sppp_fr_arp()
419 ntohs (req->htype), ntohs (req->ptype)); in sppp_fr_arp()
498 reply->htype = htons (ARPHRD_FRELAY); in sppp_fr_arp()
/freebsd-13.1/contrib/unbound/validator/
H A Dval_secalgo.c1232 *htype = HASH_AlgSHA1; in nss_setup_key_digest()
1254 *htype = HASH_AlgSHA256; in nss_setup_key_digest()
1261 *htype = HASH_AlgSHA512; in nss_setup_key_digest()
1268 *htype = HASH_AlgSHA1; in nss_setup_key_digest()
1288 *htype = HASH_AlgMD5; in nss_setup_key_digest()
1301 *htype = HASH_AlgSHA256; in nss_setup_key_digest()
1311 *htype = HASH_AlgSHA384; in nss_setup_key_digest()
1346 HASH_HashType htype = 0; in verify_canonrrset() local
1355 if(!nss_setup_key_digest(algo, &pubkey, &htype, key, keylen, in verify_canonrrset()
1390 sechash.len = HASH_ResultLen(htype); in verify_canonrrset()
[all …]
/freebsd-13.1/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c1233 int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype) in dtls1_set_handshake_header() argument
1237 if (htype == SSL3_MT_CHANGE_CIPHER_SPEC) { in dtls1_set_handshake_header()
1244 dtls1_set_message_header(s, htype, 0, 0, 0); in dtls1_set_handshake_header()
1257 int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype) in dtls1_close_construct_packet() argument
1261 if ((htype != SSL3_MT_CHANGE_CIPHER_SPEC && !WPACKET_close(pkt)) in dtls1_close_construct_packet()
1266 if (htype != SSL3_MT_CHANGE_CIPHER_SPEC) { in dtls1_close_construct_packet()
1273 if (htype != DTLS1_MT_HELLO_VERIFY_REQUEST) { in dtls1_close_construct_packet()
1275 if (!dtls1_buffer_message(s, htype == SSL3_MT_CHANGE_CIPHER_SPEC in dtls1_close_construct_packet()
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_fw_iface.c98 uintptr_t htype; in ipfw_kifhandler() local
104 htype = (uintptr_t)arg; in ipfw_kifhandler()
115 if (htype == 1) in ipfw_kifhandler()
/freebsd-13.1/contrib/wpa/src/common/
H A Ddhcp.h44 u8 htype; member
63 u8 htype; member
/freebsd-13.1/sys/sys/
H A Dstats.h461 #define STATS_VSS_HIST(htype, hist_hlpr_info) STATS_VSS(VS_STYPE_HIST, 0, \ argument
462 htype, (vss_hlpr_fn)&stats_vss_hist_hlpr, \
488 #define HIST_VSDSZ2NBKTS(htype, dsz) \ argument
489 ((dsz - sizeof(struct voistatdata_##htype)) / \
490 sizeof(TYPEOF_MEMBER(struct voistatdata_##htype, bkts[0])))
492 #define HIST_NBKTS2VSDSZ(htype, nbkts) (sizeof(struct voistatdata_##htype) + \ argument
493 ((nbkts) * sizeof(TYPEOF_MEMBER_PTR(struct voistatdata_##htype, bkts))))
/freebsd-13.1/sbin/dhclient/
H A Dparse.c170 hardware->htype = HTYPE_ETHER; in parse_hardware_param()
173 hardware->htype = HTYPE_IEEE802; in parse_hardware_param()
176 hardware->htype = HTYPE_FDDI; in parse_hardware_param()
H A Ddhcp.h62 u_int8_t htype; /* Hardware addr type (see net/if_types.h) */ member
H A Dpacket.c157 from->htype = ARPHRD_ETHER; in decode_hw_header()
H A Ddhclient.c1675 client_ident[0] = ip->hw_address.htype; in make_discover()
1691 ip->client->packet.htype = ip->hw_address.htype; in make_discover()
1798 client_ident[0] = ip->hw_address.htype; in make_request()
1814 ip->client->packet.htype = ip->hw_address.htype; in make_request()
1898 ip->client->packet.htype = ip->hw_address.htype; in make_decline()
H A Ddhcpd.h120 u_int8_t htype; member
H A Ddispatch.c118 iface->hw_address.htype = HTYPE_ETHER; /* XXX */ in discover_interfaces()
/freebsd-13.1/sys/dev/iicbus/
H A Dds13rtc.c483 const char *htype; in ds13rtc_get_chiptype()
489 device_get_unit(dev), "compatible", &htype) != 0) in ds13rtc_get_chiptype()
497 if (strcmp(htype, cdata->ocd_str) == 0) in ds13rtc_get_chiptype()
H A Dnxprtc.c897 const char *htype; in nxprtc_get_chiptype()
906 device_get_unit(dev), "compatible", &htype) == 0) { in nxprtc_get_chiptype()
908 if (strcmp(htype, cdata->ocd_str) == 0) in nxprtc_get_chiptype()
/freebsd-13.1/crypto/openssl/ssl/
H A Dssl_local.h1976 int (*close_construct_packet) (SSL *s, WPACKET *pkt, int htype);
1981 # define ssl_set_handshake_header(s, pkt, htype) \ argument
1982 s->method->ssl3_enc->set_handshake_header((s), (pkt), (htype))
1983 # define ssl_close_construct_packet(s, pkt, htype) \ argument
1984 s->method->ssl3_enc->close_construct_packet((s), (pkt), (htype))
2384 __owur int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2385 __owur int tls_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
2387 __owur int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2388 __owur int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
H A Dt1_trce.c1406 unsigned char htype; in ssl_print_handshake() local
1410 htype = msg[0]; in ssl_print_handshake()
1414 ssl_trace_str(htype, ssl_handshake_tbl), (int)hlen); in ssl_print_handshake()
1431 switch (htype) { in ssl_print_handshake()
/freebsd-13.1/contrib/tcpdump/
H A Dprint-atalk.c52 uint16_t htype, ptype; member
228 if (EXTRACT_16BITS(&ap->htype) == 1 && in aarp_print()
246 length, EXTRACT_16BITS(&ap->op), EXTRACT_16BITS(&ap->htype), in aarp_print()
/freebsd-13.1/sbin/restore/
H A Dtape.c1473 int htype; in findinode() local
1480 htype = header->c_type; in findinode()
1481 switch (htype) { in findinode()
1565 } while (htype == TS_ADDR); in findinode()
/freebsd-13.1/contrib/wpa/src/wps/
H A Dwps_upnp_web.c1351 enum httpread_hdr_type htype = http_request_get_type(req); in web_connection_check_data() local
1365 htype, inet_ntoa(cli->sin_addr), htons(cli->sin_port)); in web_connection_check_data()
1367 switch (htype) { in web_connection_check_data()
/freebsd-13.1/contrib/wpa/src/drivers/
H A Ddriver_wired.c61 u_int8_t htype; member

12