8000 sockaddr_to_IP function missing · Issue #1 · google/gopacket · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sockaddr_to_IP function missing #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 5 comments
Closed

sockaddr_to_IP function missing #1

GoogleCodeExporter opened this issue Mar 16, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link
What steps will reproduce the problem?
1. Create a sample program using pcap and handle packets for layers

It does not compile because of missing function sockaddr_to_IP.

What is the expected output? What do you see instead?

sockaddr_to_IP needs to be defined in the source or imported

What version of the product are you using? On what operating system?

checked out today (02/02/2013) linux 64 bit

Please provide any additional information below.

It is used but not defined somewhere.

./pcap/pcap.go:     if a.IP, err = 
sockaddr_to_IP((*syscall.RawSockaddr)(unsafe.Pointer(curaddr.addr))); err != 
nil {
./pcap/pcap.go:     if a.Netmask, err = 
sockaddr_to_IP((*syscall.RawSockaddr)(unsafe.Pointer(curaddr.addr))); err != 
nil {

Does lead to compilation error.

Original issue reported on code.google.com by m...@danielgruber.com on 2 Feb 2013 at 10:49

gconnell pushed a commit that referenced this issue Jul 28, 2015
Correctly increment # of pages per TCP conn.
prskr pushed a commit to prskr/google-gopacket that referenced this issue Aug 18, 2022
Co-authored-by: Dylan Reimerink <dylan@serverius.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0