Annotation of embedaddon/arping/src/findif_other.c, revision 1.1.1.3

1.1       misho       1: /* arping/src/findif_other.c
                      2:  *
1.1.1.3 ! misho       3:  *  Copyright (C) 2000-2014 Thomas Habets <thomas@habets.se>
1.1       misho       4:  *
1.1.1.3 ! misho       5:  *  This program is free software; you can redistribute it and/or modify
        !             6:  *  it under the terms of the GNU General Public License as published by
        !             7:  *  the Free Software Foundation; either version 2 of the License, or
        !             8:  *  (at your option) any later version.
1.1       misho       9:  *
1.1.1.3 ! misho      10:  *  This program is distributed in the hope that it will be useful,
1.1       misho      11:  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
1.1.1.3 ! misho      12:  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            13:  *  GNU General Public License for more details.
1.1       misho      14:  *
                     15:  *  You should have received a copy of the GNU General Public License along
                     16:  *  with this program; if not, write to the Free Software Foundation, Inc.,
                     17:  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
                     18:  */
                     19: #if HAVE_CONFIG_H
                     20: #include "config.h"
                     21: #endif
                     22: 
                     23: #include <stdio.h>
                     24: #include <string.h>
                     25: 
1.1.1.3 ! misho      26: #if HAVE_LIBNET_H
        !            27: #include <libnet.h>
        !            28: #endif
        !            29: 
1.1       misho      30: #include "arping.h"
                     31: 
                     32: /**
                     33:  *
                     34:  */
                     35: const char *
1.1.1.2   misho      36: arping_lookupdev(uint32_t srcip, uint32_t dstip, char *ebuf)
1.1       misho      37: {
1.1.1.3 ! misho      38:         snprintf(ebuf, LIBNET_ERRBUF_SIZE,
        !            39:                  "arping_lookupdev() not implemented for this system.");
1.1.1.2   misho      40:        return NULL;
1.1       misho      41: }
1.1.1.2   misho      42: /* ---- Emacs Variables ----
                     43:  * Local Variables:
                     44:  * c-basic-offset: 8
                     45:  * indent-tabs-mode: nil
                     46:  * End:
                     47:  */

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