Changeset 4647
- Timestamp:
- 11/13/08 08:48:27 (2 months ago)
- Files:
-
- trunk/src/charon/network/socket.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/charon/network/socket.h
r4618 r4647 1 1 /* 2 2 * Copyright (C) 2006 Tobias Brunner, Daniel Roethlisberger 3 * Copyright (C) 2005-200 6Martin Willi3 * Copyright (C) 2005-2008 Martin Willi 4 4 * Copyright (C) 2005 Jan Hutter 5 5 * Hochschule fuer Technik Rapperswil … … 36 36 * Maximum size of a packet. 37 37 * 38 * 3000 Bytes should be sufficient, see IKEv2 RFC. However, we currently 39 * do not support HASH_AND_URL certificates, so we require to transmit 40 * the full certificates. To run our multi-CA test with 2 intermediate CAs, 41 * 5000 bytes is sufficient. 38 * 3000 Bytes should be sufficient, see IKEv2 RFC. However, to run our 39 * multi-CA test with 2 intermediate CAs, we increase that to 5000 bytes. 42 40 */ 43 41 #define MAX_PACKET 5000 … … 74 72 * Send a packet. 75 73 * 76 * Sends a packet to the net using destination from the packet. 77 * Packet is sent using default routing mechanisms, thus the 78 * source address in packet is ignored. 74 * Sends a packet to the net using source and destination addresses of 75 * the packet. 79 76 * 80 77 * @param packet packet_t to send … … 86 83 87 84 /** 88 * Enumerate the underlying sockets.85 * Enumerate all underlying socket file descriptors. 89 86 * 90 * @return enumerator _t object87 * @return enumerator over (int fd, int family, int port) 91 88 */ 92 89 enumerator_t *(*create_enumerator) (socket_t *this);
