Searched refs:udpDstPort (Results 1 – 2 of 2) sorted by relevance
863 private static boolean isPacketToOrFromClient(short udpSrcPort, short udpDstPort) { in isPacketToOrFromClient() argument864 return (udpSrcPort == DHCP_CLIENT) || (udpDstPort == DHCP_CLIENT); in isPacketToOrFromClient()867 private static boolean isPacketServerToServer(short udpSrcPort, short udpDstPort) { in isPacketServerToServer() argument868 return (udpSrcPort == DHCP_SERVER) && (udpDstPort == DHCP_SERVER); in isPacketServerToServer()1013 short udpDstPort = packet.getShort(); in decodeFullPacket() local1020 if (!isPacketToOrFromClient(udpSrcPort, udpDstPort) && in decodeFullPacket()1021 !isPacketServerToServer(udpSrcPort, udpDstPort)) { in decodeFullPacket()1027 "Unexpected UDP ports %d->%d", udpSrcPort, udpDstPort); in decodeFullPacket()
527 final short udpDstPort = buffer.getShort();528 if (udpSrcPort != DHCP_CLIENT || udpDstPort != DHCP_SERVER) return false;