Searched refs:hwaddr (Results 1 - 6 of 6) sorted by relevance
/system/core/libnetutils/ |
H A D | dhcpmsg.c | 24 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 D | packet.h | 20 int open_raw_socket(const char *ifname, uint8_t *hwaddr, int if_index);
|
H A D | dhcpmsg.h | 101 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 D | 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);
|
H A D | packet.c | 42 int open_raw_socket(const char *ifname __attribute__((unused)), uint8_t *hwaddr, int if_index) argument 55 memcpy(bindaddr.sll_addr, hwaddr, ETH_ALEN);
|
/system/netd/ |
H A D | CommandListener.cpp | 399 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 238 milliseconds