diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-10 14:09:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-10 14:09:26 +0000 |
commit | 34c540de32da6090afdcdd6fee481f9a2df345fd (patch) | |
tree | cd80eb9d2e40cb44f8f68b64fe72f80016049023 /usr.sbin/ospf6d/ospfe.h | |
parent | 00614674fd7c30c31cd6d99eee5ef9d519d5da32 (diff) |
send_packet() now takes a struct in6_addr as destination instead of a
struct sockaddr_in6 and builds the struct sockaddr_in6 internaly adding scope
if necessary. While there switch to sendto() we don't need any of the sendmsg()
features here.
OK norby@
Diffstat (limited to 'usr.sbin/ospf6d/ospfe.h')
-rw-r--r-- | usr.sbin/ospf6d/ospfe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/ospfe.h b/usr.sbin/ospf6d/ospfe.h index 903d982f17c..5b8ba269187 100644 --- a/usr.sbin/ospf6d/ospfe.h +++ b/usr.sbin/ospf6d/ospfe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.h,v 1.3 2007/10/09 06:26:47 claudio Exp $ */ +/* $OpenBSD: ospfe.h,v 1.4 2007/10/10 14:09:25 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -225,7 +225,7 @@ struct lsa_hdr *lsa_hdr_new(void); /* packet.c */ int gen_ospf_hdr(struct buf *, struct iface *, u_int8_t); int upd_ospf_hdr(struct buf *, struct iface *); -int send_packet(struct iface *, void *, size_t, struct sockaddr_in6 *); +int send_packet(struct iface *, void *, size_t, struct in6_addr *); void recv_packet(int, short, void *); char *pkt_ptr; /* packet buffer */ |