117683Spst/* 226175Sfenner * Copyright (c) 1994, 1995, 1996 317683Spst * The Regents of the University of California. All rights reserved. 417683Spst * 517683Spst * Redistribution and use in source and binary forms, with or without 617683Spst * modification, are permitted provided that: (1) source code distributions 717683Spst * retain the above copyright notice and this paragraph in its entirety, (2) 817683Spst * distributions including binary code include the above copyright notice and 917683Spst * this paragraph in its entirety in the documentation or other materials 1017683Spst * provided with the distribution, and (3) all advertising materials mentioning 1117683Spst * features or use of this software display the following acknowledgement: 1217683Spst * ``This product includes software developed by the University of California, 1317683Spst * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 1417683Spst * the University nor the names of its contributors may be used to endorse 1517683Spst * or promote products derived from this software without specific prior 1617683Spst * written permission. 1717683Spst * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 1817683Spst * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 1917683Spst * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 2017683Spst */ 2117683Spst 2275107Sfenner#ifdef HAVE_CONFIG_H 2375107Sfenner#include "config.h" 2475107Sfenner#endif 2575107Sfenner 2617683Spst#include <sys/param.h> /* optionally get BSD define */ 2717683Spst 2817683Spst#include <string.h> 2917683Spst 3017683Spst#ifdef HAVE_OS_PROTO_H 3117683Spst#include "os-proto.h" 3217683Spst#endif 3317683Spst 3417683Spst#include "pcap-int.h" 3517683Spst 3617683Spststatic char nosup[] = "live packet capture not supported on this system"; 3717683Spst 3817683Spstpcap_t * 39251129Sdelphijpcap_create_interface(const char *device, char *ebuf) 4017683Spst{ 41214518Srpaulo (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE); 4217683Spst return (NULL); 4317683Spst} 4417683Spst 4517683Spstint 46127664Sbmspcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) 4717683Spst{ 4817683Spst return (0); 4917683Spst} 50