Disabling auto-refresh of game list by default, as it is causing bugs sometimes
[open-ps2-loader.git] / modules / wip / lanman / udp.h
blobe11982421b33789ac9945fc97e39b5a855e6b89e
1 /*
2 Copyright (c) 2010 jimmikaelkael <jimmikaelkael@wanadoo.fr>
3 Licenced under Academic Free License version 3.0
4 */
6 #ifndef UDP_H
7 #define UDP_H
9 #include <tamtypes.h>
11 #include "eth.h"
12 #include "ip.h"
14 typedef struct {
15 /* Ethernet header (14). */
16 eth_hdr_t eth;
18 /* IP header (20). */
19 ip_hdr_t ip;
21 /* UDP header (8). */
22 u16 udp_port_src;
23 u16 udp_port_dst;
24 u16 udp_len;
25 u16 udp_csum;
27 /* Data goes here. */
28 } udp_pkt_t __attribute__((packed));
30 #endif /* UDP_H */