Searched refs:hwaddr (Results 1 - 6 of 6) sorted by path

/system/core/libnetutils/
H A Ddhcpclient.c397 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);
H A Ddhcpmsg.c24 static void *init_dhcp_msg(dhcp_msg *msg, int type, void *hwaddr, uint32_t xid) argument
39 memcpy(msg->chaddr, hwaddr, 6);
55 int init_dhcp_discover_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid) argument
59 x = init_dhcp_msg(msg, DHCPDISCOVER, hwaddr, xid);
73 int init_dhcp_request_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid, argument
78 x = init_dhcp_msg(msg, DHCPREQUEST, hwaddr, xid);
H A Ddhcpmsg.h101 int init_dhcp_discover_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid);
103 int init_dhcp_request_msg(dhcp_msg *msg, void *hwaddr, uint32_t xid,
H A Dpacket.c42 int open_raw_socket(const char *ifname __attribute__((unused)), uint8_t *hwaddr, int if_index) argument
55 memcpy(bindaddr.sll_addr, hwaddr, ETH_ALEN);
H A Dpacket.h20 int open_raw_socket(const char *ifname, uint8_t *hwaddr, int if_index);
/system/netd/
H A DCommandListener.cpp399 unsigned char hwaddr[6]; local
403 memset(hwaddr, 0, sizeof(hwaddr));
411 if (ifc_get_hwaddr(argv[2], (void *) hwaddr)) {
431 hwaddr[0], hwaddr[1], hwaddr[2], hwaddr[3], hwaddr[4], hwaddr[
[all...]

Completed in 50 milliseconds