Permalink
Browse files

Merge pull request #4 from strohman/master

Native pcap file IO, parsing library
  • Loading branch information...
2 parents a9ce332 + 7bafc30 commit d3a95ae5d45efaefe4f78d2da203156e4691ff61 @akrennmair committed Aug 15, 2011
Showing with 796 additions and 348 deletions.
  1. +6 −0 Makefile
  2. +464 −0 decode.go
  3. +227 −0 io.go
  4. +93 −0 pass.go
  5. +4 −45 pcap.go
  6. +2 −303 tcpdump.go
View
@@ -1,6 +1,8 @@
include $(GOROOT)/src/Make.inc
TARG=pcap
+GOFILES=decode.go\
+ io.go
CGOFILES=pcap.go
CGO_LDFLAGS=-lpcap
CLEANFILES=pcaptest tcpdump
@@ -14,3 +16,7 @@ pcaptest: pcaptest.go install
tcpdump: tcpdump.go install
$(GC) tcpdump.go
$(LD) -o $@ tcpdump.$(O)
+
+pass: pass.go install
+ $(GC) pass.go
+ $(LD) -o $@ pass.$(O)
Oops, something went wrong.

0 comments on commit d3a95ae

Please sign in to comment.