summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-22 13:59:33 +0000
committerRoy Marples <roy@marples.name>2008-05-22 13:59:33 +0000
commitbed0c5d411bfa910a7adc19613575de27bddf0bd (patch)
tree4041fb2851421741e676106c5466805d4bc9173b /net.h
parentb604c3de5b04d1a5e0e68e5f2e54aae731e91d62 (diff)
downloaddhcpcd-bed0c5d411bfa910a7adc19613575de27bddf0bd.tar.xz
Use constant BPF structures and defines to alter the data instead of functions. Smaller code :)
Diffstat (limited to 'net.h')
-rw-r--r--net.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net.h b/net.h
index e7ed5941..d821fdbd 100644
--- a/net.h
+++ b/net.h
@@ -163,9 +163,6 @@ ssize_t make_udp_packet(uint8_t **, const uint8_t *, size_t,
ssize_t get_udp_data(const uint8_t **, const uint8_t *);
int valid_udp_packet(const uint8_t *);
-#ifdef __linux__
-void setup_packet_filters(void);
-#endif
int open_socket(struct interface *, int);
ssize_t send_packet(const struct interface *, struct in_addr,
const uint8_t *, ssize_t);