tap.cc (2:7ab458527c41) | tap.cc (56:5b096933002b) |
---|---|
1/* 2 * Copyright (c) 2003 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 38 unchanged lines hidden (view full) --- 47#include <netdb.h> 48#include <poll.h> 49#include <signal.h> 50#include <unistd.h> 51 52#include <list> 53#include <string> 54 | 1/* 2 * Copyright (c) 2003 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 38 unchanged lines hidden (view full) --- 47#include <netdb.h> 48#include <poll.h> 49#include <signal.h> 50#include <unistd.h> 51 52#include <list> 53#include <string> 54 |
55#include "cprintf.hh" | 55#include "base/cprintf.hh" |
56 57#define panic(arg...) \ 58 do { cprintf("Panic: " arg); exit(1); } while (0) 59 60char *program = "ethertap"; 61void 62usage() 63{ --- 352 unchanged lines hidden --- | 56 57#define panic(arg...) \ 58 do { cprintf("Panic: " arg); exit(1); } while (0) 59 60char *program = "ethertap"; 61void 62usage() 63{ --- 352 unchanged lines hidden --- |