2012-03-26 13:53:58 +03:00
|
|
|
/*
|
|
|
|
* WrapSix
|
|
|
|
* Copyright (C) 2008-2012 Michal Zima <xhire@mujmalysvet.cz>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as
|
|
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TRANSMITTER_H
|
|
|
|
#define TRANSMITTER_H
|
|
|
|
|
|
|
|
#include "ipv4.h"
|
|
|
|
|
|
|
|
int transmission_init(void);
|
|
|
|
int transmission_quit(void);
|
2012-03-29 23:03:57 +03:00
|
|
|
int transmit_raw(unsigned char *data, unsigned int length);
|
|
|
|
int transmit_ipv4(struct s_ipv4_addr *ip, unsigned char *data, unsigned int length);
|
2012-03-26 13:53:58 +03:00
|
|
|
|
|
|
|
#endif /* TRANSMITTER_H */
|