diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2004-06-20 15:24:06 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2004-06-20 15:24:06 +0000 |
commit | 296e43726af7240ad61013d007264b8effec9333 (patch) | |
tree | b4f391ee607488f132ec2354d64361bf9b4e3735 /sbin/isakmpd/util.h | |
parent | dce4168d7b1745fda1db84e6b445d6e2141503cf (diff) |
NAT-Traversal for isakmpd. Work in progress...
hshoexer@ ok.
Diffstat (limited to 'sbin/isakmpd/util.h')
-rw-r--r-- | sbin/isakmpd/util.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/util.h b/sbin/isakmpd/util.h index 4d94788ecd8..92dab9a7d82 100644 --- a/sbin/isakmpd/util.h +++ b/sbin/isakmpd/util.h @@ -1,9 +1,9 @@ -/* $OpenBSD: util.h,v 1.19 2004/05/23 16:14:22 deraadt Exp $ */ +/* $OpenBSD: util.h,v 1.20 2004/06/20 15:24:05 ho Exp $ */ /* $EOM: util.h,v 1.10 2000/10/24 13:33:39 niklas Exp $ */ /* * Copyright (c) 1998 Niklas Hallqvist. All rights reserved. - * Copyright (c) 2001 Håkan Olsson. All rights reserved. + * Copyright (c) 2001, 2004 Håkan Olsson. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -63,6 +63,7 @@ extern int sockaddr2text(struct sockaddr *, char **, int); extern u_int8_t *sockaddr_addrdata(struct sockaddr *); extern int sockaddr_addrlen(struct sockaddr *); extern in_port_t sockaddr_port(struct sockaddr *); +extern void sockaddr_set_port(struct sockaddr *, in_port_t); extern int text2sockaddr(char *, char *, struct sockaddr **); extern void util_ntoa(char **, int, u_int8_t *); extern int zero_test(const u_int8_t *, size_t); |