Searched refs:mac_type (Results 1 – 4 of 4) sorted by relevance
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 142 static int parse_hex(char *in, unsigned char *out, int maxlen, int *mac_type) in parse_hex() argument 147 if (mac_type) in parse_hex() 148 *mac_type = 0; in parse_hex() 158 if (*r == '-' && i == 0 && mac_type) in parse_hex() 161 *mac_type = strtol(in, NULL, 16); in parse_hex() 162 mac_type = NULL; in parse_hex() 251 int mac_type; in main() local 290 packet.hlen = parse_hex(argv[3], packet.chaddr, DHCP_CHADDR_MAX, &mac_type); in main() 291 if (mac_type == 0) in main() 294 packet.htype = mac_type; in main()
|
/external/dnsmasq/src/ |
D | util.c | 370 unsigned int *wildcard_mask, int *mac_type) in parse_hex() argument 375 if (mac_type) in parse_hex() 376 *mac_type = 0; in parse_hex() 386 if (*r == '-' && i == 0 && mac_type) in parse_hex() 389 *mac_type = strtol(in, NULL, 16); in parse_hex() 390 mac_type = NULL; in parse_hex()
|
D | dnsmasq.h | 746 unsigned int *wildcard_mask, int *mac_type);
|
/external/openssl/ssl/ |
D | t1_enc.c | 336 int mac_type; in tls1_change_cipher_state() local 346 mac_type = s->s3->tmp.new_mac_pkey_type; in tls1_change_cipher_state() 495 mac_key = EVP_PKEY_new_mac_key(mac_type, NULL, in tls1_change_cipher_state() 585 int mac_type= NID_undef,mac_secret_size=0; in tls1_setup_key_block() local 595 if (!ssl_cipher_get_evp(s->session,&c,&hash,&mac_type,&mac_secret_size,&comp)) in tls1_setup_key_block() 603 s->s3->tmp.new_mac_pkey_type = mac_type; in tls1_setup_key_block()
|