Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/framework/model/network/wifi/platform/src/qos/
H A Dflow_control.c46 static bool IsDhcpPort(struct UdpHeader *udpHdr, uint32_t len) in IsDhcpPort() argument
48 if (udpHdr == NULL) { in IsDhcpPort()
56 if ((ntohs(udpHdr->dest) == DHCP_UDP_SRC_PORT) || (ntohs(udpHdr->dest) == DHCP_UDP_DES_PORT)) { in IsDhcpPort()
97 struct UdpHeader *udpHdr = NULL; in IpProcessFunc() local
123 udpHdr = (struct UdpHeader *)(ipHeader + 1); in IpProcessFunc()
124 …if (((ntohs(ipHeader->fragInfo) & 0x1FFF) == 0) && IsDhcpPort(udpHdr, len - sizeof(struct IpHeader… in IpProcessFunc()