- Timestamp:
- 04/08/06 17:06:04 (16 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 4617920
- Parents:
- e7bc155
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
rabc8e94 r3be9a2b 45 45 #include <errno.h> 46 46 #include <fcntl.h> 47 #include <netdb.h>48 47 #include <stdio.h> 49 48 #include <stdlib.h> … … 61 60 #endif 62 61 63 #include <sys/socket.h>64 #include <sys/un.h>65 #include <unistd.h>66 67 62 #ifdef HAVE_NET_IF_ARP_H 68 63 # include <net/if_arp.h> … … 86 81 87 82 #include <time.h> 88 #include <sys/ioctl.h>89 90 #ifdef HAVE_INTTYPES_H91 # include <inttypes.h>92 #else93 # error "Can't find inttypes.h - this needs to be fixed"94 #endif95 96 #ifdef HAVE_STDDEF_H97 # include <stddef.h>98 #else99 # error "Can't find stddef.h - do you define ptrdiff_t elsewhere?"100 #endif101 83 102 84 #include "libtrace.h" … … 116 98 #include "format_helper.h" 117 99 #include "rt_protocol.h" 118 #include <err.h>119 100 120 101 #define MAXOPTS 1024 … … 1091 1072 * @author Daniel Lawson 1092 1073 */ 1093 int8_t trace_get_server_port(uint8_t protocol __attribute__((unused)), uint16_t source, uint16_t dest) {1074 int8_t trace_get_server_port(uint8_t protocol UNUSED, uint16_t source, uint16_t dest) { 1094 1075 /* 1095 1076 * * If the ports are equal, return DEST
Note: See TracChangeset
for help on using the changeset viewer.