summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfe.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-03-09 13:31:58 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-03-09 13:31:58 +0000
commit532bd3e5646d5be1553742c5beec18b36e76b181 (patch)
tree3442f2a7596b53b5b92581258c8ef10df97d6a0b /usr.sbin/ospfd/ospfe.h
parent2a989b491f3ed74f5fe1bdc2c148cff005de0ef5 (diff)
Switch send_packet from char * to void * and from int to size_t. The function
is now similar to sendto et al.
Diffstat (limited to 'usr.sbin/ospfd/ospfe.h')
-rw-r--r--usr.sbin/ospfd/ospfe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfe.h b/usr.sbin/ospfd/ospfe.h
index e874edda521..15c3a6d9690 100644
--- a/usr.sbin/ospfd/ospfe.h
+++ b/usr.sbin/ospfd/ospfe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.h,v 1.24 2006/02/19 21:48:56 norby Exp $ */
+/* $OpenBSD: ospfe.h,v 1.25 2006/03/09 13:31:57 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -293,7 +293,7 @@ struct lsa_hdr *lsa_hdr_new(void);
/* packet.c */
int gen_ospf_hdr(struct buf *, struct iface *, u_int8_t);
-int send_packet(struct iface *, char *, int, struct sockaddr_in *);
+int send_packet(struct iface *, void *, size_t, struct sockaddr_in *);
void recv_packet(int, short, void *);
char *pkt_ptr; /* packet buffer */