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

12

/freebsd-13-stable/libexec/bootpd/
H A Dlookup.h6 extern u_char *lookup_hwa(char *hostname, int htype);
H A Dlookup.c37 lookup_hwa(hostname, htype)
39 int htype;
41 switch (htype) {
60 report(LOG_ERR, "no lookup for HW addr type %d", htype);
H A Dbootpd.h106 htype :1, member in struct:flag
183 htype, /* RFC826 says this should be 16-bits but
182 htype, /* RFC826 says this should be 16-bits but member in struct:host
H A Dreadfile.c145 byte htype;
435 if (hp->flags.htype && hp->flags.haddr) {
438 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype));
441 netname(hp->htype),
442 haddrtoa(hp->haddr, haddrlength(hp->htype)));
901 if (hp->flags.htype == 0) {
902 hp->flags.htype = TRUE;
903 hp->htype = HTYPE_ETHERNET;
905 tmphaddr = prs_haddr(symbol, hp->htype);
908 bcopy(tmphaddr, hp->haddr, haddrlength(hp->htype));
144 byte htype; member in struct:htypename
[all...]
H A Ddumptab.c190 if (hp->flags.htype) {
191 int hlen = haddrlength(hp->htype);
192 fprintf(fp, "\\\n\t:ht=%u:", (unsigned) hp->htype);
/freebsd-13-stable/contrib/wpa/src/common/
H A Ddhcp.h42 u8 htype; member in struct:dhcp_data
61 u8 htype; member in struct:bootp_pkt
/freebsd-13-stable/sbin/dhclient/
H A Ddhcp.h62 u_int8_t htype; /* Hardware addr type (see net/if_types.h) */ member in struct:dhcp_packet
87 /* Possible values for hardware type (htype) field... */
H A Dparse.c170 hardware->htype = HTYPE_ETHER;
173 hardware->htype = HTYPE_IEEE802;
176 hardware->htype = HTYPE_FDDI;
H A Dpacket.c157 from->htype = ARPHRD_ETHER;
H A Ddhclient.c1666 client_ident[0] = ip->hw_address.htype;
1682 ip->client->packet.htype = ip->hw_address.htype;
1789 client_ident[0] = ip->hw_address.htype;
1805 ip->client->packet.htype = ip->hw_address.htype;
1889 ip->client->packet.htype = ip->hw_address.htype;
H A Ddhcpd.h120 u_int8_t htype; member in struct:hardware
H A Ddispatch.c118 iface->hw_address.htype = HTYPE_ETHER; /* XXX */
/freebsd-13-stable/sys/net/
H A Dif_spppfr.c134 unsigned short htype; /* hardware type = ARPHRD_FRELAY */ member in struct:arp_req
413 if ((ntohs (req->htype) != ARPHRD_FRELAY ||
414 ntohs (req->htype) != 16) || /* for BayNetworks routers */
419 ntohs (req->htype), ntohs (req->ptype));
498 reply->htype = htons (ARPHRD_FRELAY);
/freebsd-13-stable/contrib/unbound/validator/
H A Dval_secalgo.c1115 nss_setup_key_digest(int algo, SECKEYPublicKey** pubkey, HASH_HashType* htype, argument
1149 *htype = HASH_AlgSHA1;
1171 *htype = HASH_AlgSHA256;
1178 *htype = HASH_AlgSHA512;
1185 *htype = HASH_AlgSHA1;
1205 *htype = HASH_AlgMD5;
1218 *htype = HASH_AlgSHA256;
1228 *htype = HASH_AlgSHA384;
1263 HASH_HashType htype = 0; local
1272 if(!nss_setup_key_digest(algo, &pubkey, &htype, ke
[all...]
/freebsd-13-stable/sys/netpfil/ipfw/
H A Dip_fw_iface.c98 uintptr_t htype; local
104 htype = (uintptr_t)arg;
115 if (htype == 1)
/freebsd-13-stable/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c1233 int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype) argument
1237 if (htype == SSL3_MT_CHANGE_CIPHER_SPEC) {
1244 dtls1_set_message_header(s, htype, 0, 0, 0);
1257 int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype) argument
1261 if ((htype != SSL3_MT_CHANGE_CIPHER_SPEC && !WPACKET_close(pkt))
1266 if (htype != SSL3_MT_CHANGE_CIPHER_SPEC) {
1273 if (htype != DTLS1_MT_HELLO_VERIFY_REQUEST) {
1275 if (!dtls1_buffer_message(s, htype == SSL3_MT_CHANGE_CIPHER_SPEC
/freebsd-13-stable/sys/sys/
H A Dstats.h461 #define STATS_VSS_HIST(htype, hist_hlpr_info) STATS_VSS(VS_STYPE_HIST, 0, \
462 htype, (vss_hlpr_fn)&stats_vss_hist_hlpr, \
488 #define HIST_VSDSZ2NBKTS(htype, dsz) \
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) + \
493 ((nbkts) * sizeof(TYPEOF_MEMBER_PTR(struct voistatdata_##htype, bkts))))
/freebsd-13-stable/sys/dev/iicbus/
H A Dds13rtc.c483 const char *htype;
489 device_get_unit(dev), "compatible", &htype) != 0)
497 if (strcmp(htype, cdata->ocd_str) == 0)
H A Dnxprtc.c897 const char *htype;
906 device_get_unit(dev), "compatible", &htype) == 0) {
908 if (strcmp(htype, cdata->ocd_str) == 0)
/freebsd-13-stable/contrib/tcpdump/
H A Dprint-atalk.c52 uint16_t htype, ptype; member in struct:aarp
228 if (EXTRACT_16BITS(&ap->htype) == 1 &&
245 ND_PRINT((ndo, "len %u op %u htype %u ptype %#x halen %u palen %u",
246 length, EXTRACT_16BITS(&ap->op), EXTRACT_16BITS(&ap->htype),
/freebsd-13-stable/crypto/openssl/ssl/
H A Dt1_trce.c1406 unsigned char htype; local
1410 htype = msg[0];
1414 ssl_trace_str(htype, ssl_handshake_tbl), (int)hlen);
1431 switch (htype) {
H A Dssl_local.h1976 int (*close_construct_packet) (SSL *s, WPACKET *pkt, int htype);
1981 # define ssl_set_handshake_header(s, pkt, htype) \
1982 s->method->ssl3_enc->set_handshake_header((s), (pkt), (htype))
1983 # define ssl_close_construct_packet(s, pkt, htype) \
1984 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);
/freebsd-13-stable/contrib/wpa/src/drivers/
H A Ddriver_wired.c61 u_int8_t htype; member in struct:dhcp_message
/freebsd-13-stable/sbin/restore/
H A Dtape.c1473 int htype; local
1480 htype = header->c_type;
1481 switch (htype) {
1565 } while (htype == TS_ADDR);
/freebsd-13-stable/contrib/wpa/src/wps/
H A Dwps_upnp_web.c1351 enum httpread_hdr_type htype = http_request_get_type(req); local
1365 htype, inet_ntoa(cli->sin_addr), htons(cli->sin_port));
1367 switch (htype) {

Completed in 302 milliseconds

12