Home
last modified time | relevance | path

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

/external/dnsmasq/contrib/wrt/
Ddhcp_release.c67 u8 op, htype, hlen, hops; member
292 packet.htype = ARPHRD_ETHER; in main()
294 packet.htype = mac_type; in main()
Ddhcp_lease_time.c62 u8 op, htype, hlen, hops; member
160 packet.htype = 0; in main()
/external/iproute2/ip/
Diplink.c616 static int get_address(const char *dev, int *htype) in get_address() argument
654 *htype = me.sll_hatype; in get_address()
704 int htype, halen; in do_set() local
812 halen = get_address(dev, &htype); in do_set()
816 if (parse_address(dev, htype, halen, newaddr, &ifr0) < 0) in do_set()
820 if (parse_address(dev, htype, halen, newbrd, &ifr1) < 0) in do_set()
/external/dnsmasq/src/
Dbpf.c176 if (mess->htype != ARPHRD_ETHER || mess->hlen != ETHER_ADDR_LEN) in send_via_bpf()
179 mess->htype, ifr->ifr_name); in send_via_bpf()
Drfc2131.c161 if (mess->htype == 0 && mess->hlen != 0) in dhcp_reply()
259 lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, clid, clid_len); in dhcp_reply()
270 emac = extended_hwaddr(mess->htype, mess->hlen, mess->chaddr, clid_len, clid, &emac_len); in dhcp_reply()
275 (mac->hwaddr_type == mess->htype || mac->hwaddr_type == 0) && in dhcp_reply()
363 mess->chaddr, mess->hlen, mess->htype, NULL); in dhcp_reply()
380 if (mess->htype == 0 || mess->hlen == 0 || (context->flags & CONTEXT_PROXY)) in dhcp_reply()
431 lease->hwaddr_type != mess->htype || in dhcp_reply()
437 if (!(lease = lease_find_by_client(mess->chaddr, mess->hlen, mess->htype, NULL, 0)) || in dhcp_reply()
479 lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0); in dhcp_reply()
583 mess->htype, hostname); in dhcp_reply()
[all …]
Ddhcp.c288 mess->hlen > sizeof(ifr.ifr_addr.sa_data) || mess->htype == 0) in dhcp_packet()
312 req.arp_ha.sa_family = mess->htype; in dhcp_packet()
319 …else if ((ntohs(mess->flags) & 0x8000) || mess->hlen != ETHER_ADDR_LEN || mess->htype != ARPHRD_ET… in dhcp_packet()
Ddnsmasq.h562 u8 op, htype, hlen, hops; member
/external/tcpdump/
Dprint-atalk.c57 u_int16_t htype, ptype; member
204 if (EXTRACT_16BITS(&ap->htype) == 1 && in aarp_print()
225 length, EXTRACT_16BITS(&ap->op), EXTRACT_16BITS(&ap->htype), in aarp_print()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_web.c1255 enum httpread_hdr_type htype = http_request_get_type(req); in web_connection_check_data() local
1269 htype, inet_ntoa(cli->sin_addr), htons(cli->sin_port)); in web_connection_check_data()
1271 switch (htype) { in web_connection_check_data()
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_upnp_web.c1770 enum httpread_hdr_type htype = httpread_hdr_type_get(hread); in web_connection_check_data() local
1784 htype, inet_ntoa(c->cli_addr.sin_addr), in web_connection_check_data()
1787 switch (htype) { in web_connection_check_data()
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c72 u_int8_t htype; member
/external/qemu/telephony/
Dsms.c1032 int htype = data[0]; in smspdu_get_user_data_ref() local
1035 if (htype == 00 && hlen == 3 && data + 5 <= end) { in smspdu_get_user_data_ref()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch428 + lease_set_hwaddr(lease, mess->chaddr, NULL, mess->hlen, mess->htype, 0);