some Haiku support#847
Merged
fklassen merged 2 commits intoappneta:4.5.0from Jun 3, 2024
infrastation:some_haiku_support
Merged
some Haiku support#847fklassen merged 2 commits intoappneta:4.5.0from infrastation:some_haiku_support
fklassen merged 2 commits intoappneta:4.5.0from
infrastation:some_haiku_support
Conversation
Link with two additional libraries if required. Do not include <netinet/if_ether.h>, which does not exist, and which the source does not require to compile. These changes allow tcpreplay to build on Haiku hrev57588 as follows: ./configure --with-libpcap=/path/to/libpcap/ --enable-static-link However, since Haiku ports do not have GNU AutoGen, the master branch would need some files either copied from the 4.4.4 release tarball or generated on a Linux host. Even after the build completes, tcpreplay is still not entirely functional because libpcap on Haiku does not implement pcap_inject() and tcpreplay fails to handle Haiku interfaces correctly: > ./src/tcpreplay --listnics Available network interfaces: /dev/net/ipro1000/1 vale:/dev/net/ipro1000/1 netmap:/dev/net/ipro1000/1 /dev/net/ipro1000/0 vale:/dev/net/ipro1000/0 netmap:/dev/net/ipro1000/0 > ./src/tcpreplay -i /dev/net/ipro1000/1 icmp-echoreply.pcap Fatal Error: failed to open device /dev/net/ipro1000/1: error opening khial device: Device/File/Resource busy So proper Haiku support would require some more work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.