File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mtr / packet / construct_unix.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 21 14:25:31 2019 UTC (4 years, 9 months ago) by misho
Branches: mtr, MAIN
CVS tags: v0_92, HEAD
mtr ver 0.92

    1: /*
    2:     mtr  --  a network diagnostic tool
    3:     Copyright (C) 2016  Matt Kimball
    4: 
    5:     This program is free software; you can redistribute it and/or modify
    6:     it under the terms of the GNU General Public License version 2 as
    7:     published by the Free Software Foundation.
    8: 
    9:     This program is distributed in the hope that it will be useful,
   10:     but WITHOUT ANY WARRANTY; without even the implied warranty of
   11:     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12:     GNU General Public License for more details.
   13: 
   14:     You should have received a copy of the GNU General Public License
   15:     along with this program; if not, write to the Free Software
   16:     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   17: */
   18: 
   19: #ifndef CONSTRUCT_H
   20: #define CONSTRUCT_H
   21: 
   22: #include "probe.h"
   23: 
   24: int construct_packet(
   25:     const struct net_state_t *net_state,
   26:     int *packet_socket,
   27:     int sequence,
   28:     char *packet_buffer,
   29:     int packet_buffer_size,
   30:     const struct sockaddr_storage *dest_sockaddr,
   31:     const struct sockaddr_storage *src_sockaddr,
   32:     const struct probe_param_t *param);
   33: 
   34: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>