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

  /external/dhcpcd/
ifaddrs.c 40 struct sockaddr_ll *hwaddr = NULL; local
80 hwaddr = malloc(sizeof(struct sockaddr_ll));
81 if (hwaddr) {
82 memset(hwaddr, 0, sizeof(struct sockaddr_ll));
83 hwaddr->sll_family = family;
84 /* hwaddr->sll_protocol = ETHERTYPE_IP; */
85 hwaddr->sll_hatype = ARPHRD_ETHER;
86 hwaddr->sll_halen = ETH_ALEN;
87 memcpy(hwaddr->sll_addr, hwbuf, ETH_ALEN);
90 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 &&
if-bsd.c 326 unsigned char *hwaddr; local
426 hwaddr = xmalloc(sdl.sdl_alen);
427 memcpy(hwaddr, LLADDR(&sdl),
429 handle_hwaddr(ifname, hwaddr,
dhcpcd.h 115 unsigned char hwaddr[HWADDR_LEN]; member in struct:interface
  /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
805 struct in_addr *addrp, unsigned char *hwaddr, int hw_len,
807 int config_has_mac(struct dhcp_config *config, unsigned char *hwaddr, int len, int type);
811 unsigned char *hwaddr, int hw_len,
828 void lease_set_hwaddr(struct dhcp_lease *lease, unsigned char *hwaddr,
833 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type,
846 unsigned char *extended_hwaddr(int hwtype, int hwlen, unsigned char *hwaddr,
    [all...]
  /external/libppp/src/
mp.c 996 struct sockaddr_dl hwaddr; local
1003 if (arp_EtherAddr(addr, &hwaddr, 1)) {
1005 memcpy(mp->cfg.enddisc.address, hwaddr.sdl_data + hwaddr.sdl_nlen,
1006 hwaddr.sdl_alen);
1007 mp->cfg.enddisc.len = hwaddr.sdl_alen;
    [all...]
  /system/core/libnetutils/
dhcpclient.c 397 unsigned char hwaddr[6]; local
405 if (ifc_get_hwaddr(ifname, hwaddr)) {
412 s = open_raw_socket(ifname, hwaddr, if_index);
447 size = init_dhcp_discover_msg(msg, hwaddr, xid);
451 size = init_dhcp_request_msg(msg, hwaddr, xid, info.ipaddr, info.serveraddr);
  /system/netd/
CommandListener.cpp 457 unsigned char hwaddr[6]; local
461 memset(hwaddr, 0, sizeof(hwaddr));
469 if (ifc_get_hwaddr(argv[2], (void *) hwaddr)) {
489 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/ndk/8/platforms/android-14/arch-mips/usr/include/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct
  /prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct
  /prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct
  /prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct
  /prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/lasat/
lasat.h 39 unsigned char hwaddr[6]; member in struct:lasat_eeprom_struct

Completed in 966 milliseconds