1
0
mirror of https://code.semirocket.science/wrapsix synced 2024-11-10 00:01:01 +02:00
wrapsix/src/transmitter.h

30 lines
1.0 KiB
C
Raw Normal View History

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
2012-07-04 20:04:42 +03:00
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
2012-03-26 13:53:58 +03:00
*
* 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
2012-07-04 20:04:42 +03:00
* GNU General Public License for more details.
2012-03-26 13:53:58 +03:00
*
2012-07-04 20:04:42 +03:00
* You should have received a copy of the GNU General Public License
2012-03-26 13:53:58 +03:00
* 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);
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 */