summaryrefslogtreecommitdiff
path: root/Kernel/Net/UDP.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Net/UDP.h')
-rw-r--r--Kernel/Net/UDP.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Kernel/Net/UDP.h b/Kernel/Net/UDP.h
index ba6d02af37..7ec39719cd 100644
--- a/Kernel/Net/UDP.h
+++ b/Kernel/Net/UDP.h
@@ -2,10 +2,11 @@
#include <Kernel/Net/IPv4.h>
-class [[gnu::packed]] UDPPacket {
+class [[gnu::packed]] UDPPacket
+{
public:
- UDPPacket() { }
- ~UDPPacket() { }
+ UDPPacket() {}
+ ~UDPPacket() {}
word source_port() const { return m_source_port; }
void set_source_port(word port) { m_source_port = port; }