Home
last modified time | relevance | path

Searched refs:destAddrIn (Results 1 - 1 of 1) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp241 static struct sockaddr_in destAddrIn = {0}; in DestinationAddrIn() local
242 if (destAddrIn.sin_port == 0) { in DestinationAddrIn()
243 destAddrIn.sin_port = htons(DHCP_CLIENT_PORT); in DestinationAddrIn()
244 destAddrIn.sin_family = AF_INET; in DestinationAddrIn()
246 return &destAddrIn; in DestinationAddrIn()
1593 struct sockaddr_in *destAddrIn = DestinationAddrIn(); in SendDhcpOffer() local
1594 if (srvIns->broadCastFlagEnable == 1 && destAddrIn) { in SendDhcpOffer()
1599 if (!broadCastFlag && destAddrIn->sin_addr.s_addr) { in SendDhcpOffer()
1600 ret = sendto(srvIns->serverFd, &reply->packet, reply->length, 0, (struct sockaddr *)destAddrIn, in SendDhcpOffer()
1601 sizeof(*destAddrIn)); in SendDhcpOffer()
1645 sockaddr_in *destAddrIn = DestinationAddrIn(); SendDhcpAck() local
1678 struct sockaddr_in *destAddrIn = BroadcastAddrIn(); SendDhcpNak() local
[all...]

Completed in 4 milliseconds