Changeset 1863 for trunk/src/common/sendpacket.c
- Timestamp:
- 05/03/07 22:50:23 (21 months ago)
- Files:
-
- 1 modified
-
trunk/src/common/sendpacket.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/sendpacket.c
r1804 r1863 146 146 #include <net/if_dl.h> // used for get_hwaddr_bpf() 147 147 148 static sendpacket_t *sendpacket_open_bpf(const char *, char *) _ _attribute__((unused));149 static struct tcpr_ether_addr *sendpacket_get_hwaddr_bpf(sendpacket_t *) _ _attribute__((unused));148 static sendpacket_t *sendpacket_open_bpf(const char *, char *) _U_; 149 static struct tcpr_ether_addr *sendpacket_get_hwaddr_bpf(sendpacket_t *) _U_; 150 150 151 151 #endif /* HAVE_BPF */ 152 152 153 153 #ifdef HAVE_LIBNET 154 static sendpacket_t *sendpacket_open_libnet(const char *, char *) _ _attribute__((unused));155 static struct tcpr_ether_addr *sendpacket_get_hwaddr_libnet(sendpacket_t *) _ _attribute__((unused));154 static sendpacket_t *sendpacket_open_libnet(const char *, char *) _U_; 155 static struct tcpr_ether_addr *sendpacket_get_hwaddr_libnet(sendpacket_t *) _U_; 156 156 #endif /* HAVE_LIBNET */ 157 157 158 158 #if (defined HAVE_PCAP_INJECT || defined HAVE_PCAP_SENDPACKET) 159 static sendpacket_t *sendpacket_open_pcap(const char *, char *) _ _attribute__((unused));160 static struct tcpr_ether_addr *sendpacket_get_hwaddr_pcap(sendpacket_t *) _ _attribute__((unused));159 static sendpacket_t *sendpacket_open_pcap(const char *, char *) _U_; 160 static struct tcpr_ether_addr *sendpacket_get_hwaddr_pcap(sendpacket_t *) _U_; 161 161 #endif /* HAVE_PCAP_INJECT || HAVE_PACKET_SENDPACKET */ 162 162
