Home
last modified time | relevance | path

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

12

/freebsd-12-stable/libexec/bootpd/
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);
Dreadfile.c136 byte htype; member
424 if (hp->flags.htype && hp->flags.haddr) {
427 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype));
430 netname(hp->htype),
431 haddrtoa(hp->haddr, haddrlength(hp->htype)));
887 if (hp->flags.htype == 0) {
888 hp->flags.htype = TRUE;
889 hp->htype = HTYPE_ETHERNET;
891 tmphaddr = prs_haddr(symbol, hp->htype);
894 bcopy(tmphaddr, hp->haddr, haddrlength(hp->htype));
[all …]
Dbootpd.h106 htype :1, member
182 htype, /* RFC826 says this should be 16-bits but member
Ddumptab.c182 if (hp->flags.htype) {
183 int hlen = haddrlength(hp->htype);
184 fprintf(fp, "\\\n\t:ht=%u:", (unsigned) hp->htype);
Dlookup.h6 extern u_char *lookup_hwa(char *hostname, int htype);
/freebsd-12-stable/sys/net/
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-12-stable/contrib/unbound/validator/
Dval_secalgo.c1235 nss_setup_key_digest(int algo, SECKEYPublicKey** pubkey, HASH_HashType* htype, in nss_setup_key_digest() argument
1269 *htype = HASH_AlgSHA1; in nss_setup_key_digest()
1291 *htype = HASH_AlgSHA256; in nss_setup_key_digest()
1298 *htype = HASH_AlgSHA512; in nss_setup_key_digest()
1305 *htype = HASH_AlgSHA1; in nss_setup_key_digest()
1325 *htype = HASH_AlgMD5; in nss_setup_key_digest()
1338 *htype = HASH_AlgSHA256; in nss_setup_key_digest()
1348 *htype = HASH_AlgSHA384; in nss_setup_key_digest()
1383 HASH_HashType htype = 0; in verify_canonrrset() local
1392 if(!nss_setup_key_digest(algo, &pubkey, &htype, key, keylen, in verify_canonrrset()
[all …]
/freebsd-12-stable/crypto/openssl/ssl/statem/
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-12-stable/sys/netpfil/ipfw/
Dip_fw_iface.c99 uintptr_t htype; in ipfw_kifhandler() local
105 htype = (uintptr_t)arg; in ipfw_kifhandler()
116 if (htype == 1) in ipfw_kifhandler()
/freebsd-12-stable/contrib/wpa/src/common/
Ddhcp.h44 u8 htype; member
63 u8 htype; member
/freebsd-12-stable/sbin/dhclient/
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()
Ddhcp.h62 u_int8_t htype; /* Hardware addr type (see net/if_types.h) */ member
Ddhclient.c1667 client_ident[0] = ip->hw_address.htype; in make_discover()
1683 ip->client->packet.htype = ip->hw_address.htype; in make_discover()
1790 client_ident[0] = ip->hw_address.htype; in make_request()
1806 ip->client->packet.htype = ip->hw_address.htype; in make_request()
1890 ip->client->packet.htype = ip->hw_address.htype; in make_decline()
Dpacket.c157 from->htype = ARPHRD_ETHER; in decode_hw_header()
Ddhcpd.h120 u_int8_t htype; member
Ddispatch.c118 iface->hw_address.htype = HTYPE_ETHER; /* XXX */ in discover_interfaces()
/freebsd-12-stable/sys/dev/iicbus/
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()
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-12-stable/crypto/openssl/ssl/
Dssl_local.h1974 int (*close_construct_packet) (SSL *s, WPACKET *pkt, int htype);
1979 # define ssl_set_handshake_header(s, pkt, htype) \ argument
1980 s->method->ssl3_enc->set_handshake_header((s), (pkt), (htype))
1981 # define ssl_close_construct_packet(s, pkt, htype) \ argument
1982 s->method->ssl3_enc->close_construct_packet((s), (pkt), (htype))
2383 __owur int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2384 __owur int tls_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
2386 __owur int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2387 __owur int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
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-12-stable/contrib/tcpdump/
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-12-stable/sbin/restore/
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-12-stable/contrib/wpa/src/wps/
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-12-stable/contrib/wpa/src/drivers/
Ddriver_wired.c61 u_int8_t htype; member
/freebsd-12-stable/contrib/wpa/src/ap/
Dfils_hlp.c344 dhcp->op, dhcp->htype, dhcp->hlen, dhcp->hops, in fils_process_hlp_dhcp()

12