summaryrefslogtreecommitdiff
path: root/udp.h
blob: 9f3644c0d11a35c3a8d3121065a6d863172c49c5 (plain)
1
2
3
4
5
#ifndef _UDP_H
#define _UDP_H 1
extern int sendCustomUDP(const int socket, const int ifindex, const unsigned char *sourcemac, const unsigned char *destmac, const struct in_addr *sourceip, const int sourceport, const struct in_addr *destip, const int destport, const char *data, const int datalen);
extern void etherAddrton(unsigned char *dest, const unsigned char *mac);
#endif