summaryrefslogtreecommitdiff
path: root/udp.c
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-24 01:52:10 +0100
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-12-24 01:52:10 +0100
commit2d9057c497585c4eb76e5f3ad4f623da56a2e28c (patch)
tree4f519791995a4d83bdf559a98611d104575e91ff /udp.c
parentdbadc1ab26b3cca6b3697d9c07f284f582dde75d (diff)
downloadMAC-Telnet-2d9057c497585c4eb76e5f3ad4f623da56a2e28c.tar.gz
MAC-Telnet-2d9057c497585c4eb76e5f3ad4f623da56a2e28c.zip
Changed naming convention on function names
Diffstat (limited to 'udp.c')
-rw-r--r--udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udp.c b/udp.c
index 4c1a383..68cb6c5 100644
--- a/udp.c
+++ b/udp.c
@@ -34,7 +34,7 @@ unsigned short in_cksum(unsigned short *addr, int len)
return (answer);
}
-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 unsigned char *data, const int datalen) {
+int send_custom_udp(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 unsigned char *data, const int datalen) {
struct sockaddr_ll socket_address;
/*