HomeSort by relevance Sort by last modified time
    Searched defs:hwaddr (Results 1 - 14 of 14) sorted by null

  /external/dhcpcd/
ifaddrs.c 39 struct sockaddr_ll *hwaddr = NULL; local
79 hwaddr = malloc(sizeof(struct sockaddr_ll));
80 if (hwaddr) {
81 memset(hwaddr, 0, sizeof(struct sockaddr_ll));
82 hwaddr->sll_family = family;
83 /* hwaddr->sll_protocol = ETHERTYPE_IP; */
84 hwaddr->sll_hatype = ARPHRD_ETHER;
85 hwaddr->sll_halen = ETH_ALEN;
86 memcpy(hwaddr->sll_addr, hwbuf, ETH_ALEN);
89 ifa->ifa_addr = (struct sockaddr *)hwaddr;
    [all...]
arp.c 63 memcpy(p, iface->hwaddr, iface->hwlen);
116 const char *hwaddr; local
147 memcmp(hw_s, iface->hwaddr, iface->hwlen) == 0)
161 hwaddr = hwaddr_ntoa((unsigned char *)hw_s,
165 iface->name, inet_ntoa(ina), hwaddr);
166 if (select_profile(iface, hwaddr) == -1 &&
dhcpcd.h 90 unsigned char hwaddr[HWADDR_LEN]; member in struct:interface
if-bsd.c 322 unsigned char *hwaddr; local
404 hwaddr = xmalloc(sdl.sdl_alen);
405 memcpy(hwaddr, LLADDR(&sdl),
407 handle_hwaddr(ifname, hwaddr,
  /external/dnsmasq/src/
helper.c 46 unsigned char hwaddr[DHCP_CHADDR_MAX]; member in struct:script_data
136 p += sprintf(p, "%.2x", data.hwaddr[i]);
348 memcpy(buf->hwaddr, lease->hwaddr, lease->hwaddr_len);
dhcp.c 531 struct in_addr *addrp, unsigned char *hwaddr, int hw_len,
535 a particular hwaddr/clientid/hostname in our configuration.
543 /* hash hwaddr */
545 j += hwaddr[i] + (hwaddr[i] << 8) + (hwaddr[i] << 16);
555 /* pick a seed based on hwaddr then iterate until we find a free address. */
648 int config_has_mac(struct dhcp_config *config, unsigned char *hwaddr, int len, int type)
652 for (conf_addr = config->hwaddr; conf_addr; conf_addr = conf_addr->next)
656 memcmp(conf_addr->hwaddr, hwaddr, len) == 0
725 unsigned char hwaddr[ETHER_ADDR_LEN]; local
    [all...]
dnsmasq.h 418 unsigned char hwaddr[DHCP_CHADDR_MAX]; member in struct:dhcp_lease
438 unsigned char hwaddr[DHCP_CHADDR_MAX]; member in struct:hwaddr_config
452 struct hwaddr_config *hwaddr; member in struct:dhcp_config
524 unsigned char hwaddr[DHCP_CHADDR_MAX]; member in struct:dhcp_mac
804 struct in_addr *addrp, unsigned char *hwaddr, int hw_len,
806 int config_has_mac(struct dhcp_config *config, unsigned char *hwaddr, int len, int type);
810 unsigned char *hwaddr, int hw_len,
827 void lease_set_hwaddr(struct dhcp_lease *lease, unsigned char *hwaddr,
832 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type,
845 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr,
    [all...]
  /system/core/libnetutils/
dhcpclient.c 393 unsigned char hwaddr[6]; local
401 if (ifc_get_hwaddr(ifname, hwaddr)) {
408 s = open_raw_socket(ifname, hwaddr, if_index);
443 size = init_dhcp_discover_msg(msg, hwaddr, xid);
447 size = init_dhcp_request_msg(msg, hwaddr, xid, info.ipaddr, info.serveraddr);
  /system/netd/
CommandListener.cpp 294 unsigned char hwaddr[6]; local
298 memset(hwaddr, 0, sizeof(hwaddr));
306 if (ifc_get_hwaddr(argv[2], (void *) hwaddr)) {
326 hwaddr[0], hwaddr[1], hwaddr[2], hwaddr[3], hwaddr[4], hwaddr[5]
    [all...]
  /bionic/libc/kernel/arch-mips/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct
  /development/ndk/platforms/android-9/arch-mips/include/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct
  /external/kernel-headers/original/asm-mips/lasat/
lasat.h 55 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct
  /prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct
  /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct

Completed in 296 milliseconds