Olaf Rempel
7f0b2fd78f
- games added: avp2, bfv, igi2, jk2, jk3, rtcw, ut2k3, ut2k4 - sendqueue removed (no need to do ratelimiting) - serverlist.c + scanner.c merged, removing one thread - daemonize & run-as-user support
15 lines
223 B
C
15 lines
223 B
C
#ifndef _NETPKT_H
|
|
#define _NETPKT_H
|
|
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <netinet/ip.h>
|
|
|
|
struct net_pkt {
|
|
struct sockaddr_in addr;
|
|
unsigned int size;
|
|
unsigned char buf[0];
|
|
};
|
|
|
|
#endif /* _NETPKT_H */
|