Blame packet/construct_unix.h

Packit b802ec
/*
Packit b802ec
    mtr  --  a network diagnostic tool
Packit b802ec
    Copyright (C) 2016  Matt Kimball
Packit b802ec
Packit b802ec
    This program is free software; you can redistribute it and/or modify
Packit b802ec
    it under the terms of the GNU General Public License version 2 as
Packit b802ec
    published by the Free Software Foundation.
Packit b802ec
Packit b802ec
    This program is distributed in the hope that it will be useful,
Packit b802ec
    but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit b802ec
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit b802ec
    GNU General Public License for more details.
Packit b802ec
Packit b802ec
    You should have received a copy of the GNU General Public License
Packit b802ec
    along with this program; if not, write to the Free Software
Packit b802ec
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Packit b802ec
*/
Packit b802ec
Packit b802ec
#ifndef CONSTRUCT_H
Packit b802ec
#define CONSTRUCT_H
Packit b802ec
Packit b802ec
#include "probe.h"
Packit b802ec
Packit b802ec
int construct_packet(
Packit b802ec
    const struct net_state_t *net_state,
Packit b802ec
    int *packet_socket,
Packit b802ec
    int sequence,
Packit b802ec
    char *packet_buffer,
Packit b802ec
    int packet_buffer_size,
Packit b802ec
    const struct sockaddr_storage *dest_sockaddr,
Packit b802ec
    const struct sockaddr_storage *src_sockaddr,
Packit b802ec
    const struct probe_param_t *param);
Packit b802ec
Packit b802ec
#endif