Make access requestor IP address available to TNC server
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2013 Andreas Steffen
|
||||
* Copyright (C) 2010-2015 Andreas Steffen
|
||||
* HSR Hochschule fuer Technik Rapperswil
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
@@ -56,16 +56,19 @@ struct tnccs_manager_t {
|
||||
*
|
||||
* @param type type of the TNCCS protocol
|
||||
* @param is_server TRUE if TNC Server, FALSE if TNC Client
|
||||
* @param server Server identity
|
||||
* @param peer Client identity
|
||||
* @param server_id Server identity
|
||||
* @param peer_id Client identity
|
||||
* @param server_ip Server IP address
|
||||
* @param peer_ip Client IP address
|
||||
* @param transport Underlying TNC IF-T transport protocol used
|
||||
* @param cb Callback function if TNC Server, NULL if TNC Client
|
||||
* @return TNCCS protocol instance, NULL if no constructor found
|
||||
*/
|
||||
tnccs_t* (*create_instance)(tnccs_manager_t *this, tnccs_type_t type,
|
||||
bool is_server, identification_t *server,
|
||||
identification_t *peer,
|
||||
tnc_ift_type_t transport, tnccs_cb_t cb);
|
||||
bool is_server, identification_t *server_id,
|
||||
identification_t *peer_id, host_t *server_ip,
|
||||
host_t *peer_ip, tnc_ift_type_t transport,
|
||||
tnccs_cb_t cb);
|
||||
|
||||
/**
|
||||
* Create a TNCCS connection and assign a unique connection ID as well a
|
||||
|
||||
Reference in New Issue
Block a user