Home
last modified time | relevance | path

Searched refs:temp_addr (Results 1 – 3 of 3) sorted by relevance

/third_party/musl/porting/liteos_a/user/src/network/
Dether.c89 struct ether_addr *temp_addr; in ether_ntohost() local
93 temp_addr = (struct ether_addr *)malloc(sizeof(struct ether_addr)); in ether_ntohost()
94 if (temp_addr == NULL) { in ether_ntohost()
99 if (ether_line(buf, temp_addr, temp_name) != 0) in ether_ntohost()
101 if (memcmp(addr, temp_addr, 6) == 0) { in ether_ntohost()
103 free(temp_addr); in ether_ntohost()
109 free(temp_addr); in ether_ntohost()
120 struct ether_addr *temp_addr; in ether_hostton() local
122 temp_addr = (struct ether_addr *)malloc(sizeof(struct ether_addr)); in ether_hostton()
123 if (temp_addr == NULL) in ether_hostton()
[all …]
/third_party/lwip/src/core/distributed_net/
Ddistributed_net_core.c247 struct sockaddr_in *temp_addr = (struct sockaddr_in *)from; in distributed_net_recvfrom() local
248 INIT_SOCK_ADDR(temp_addr, data->dest_addr, data->dest_port); in distributed_net_recvfrom()
/third_party/toybox/toys/pending/
Ddhcp.c1238 struct in_addr temp_addr; in release() local
1243 temp_addr.s_addr = htonl(server); in release()
1244 xstrncpy(buffer, inet_ntoa(temp_addr), sizeof(buffer)); in release()
1245 temp_addr.s_addr = state->ipaddr.s_addr; in release()
1246 infomsg( infomode, "Unicasting a release of %s to %s", inet_ntoa(temp_addr), buffer); in release()