Folks, I'm trying to send an IPv6 packet with pcap_inject() on the loopback interface of a FreeBSD 9.2 system.
What I write with pcap_inect() is the IPv6 packet, preceded with the 4-byte AF header (which I set to PF_INET6 (which is 28) in host byte order). However, pcap_inject() fails with "send: Address family not supported by protocol family" and I also get this message on the console:: "looutput: af=31 unexpected" which would seem to indicate that pcap_inject() is overwriting the value I set with something else (pseudo_AF_HDRCMPLT?). Any thoughts? Thanks! Best regards, -- Fernando Gont e-mail: ferna...@gont.com.ar || fg...@si6networks.com PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1 _______________________________________________ tcpdump-workers mailing list tcpdump-workers@lists.tcpdump.org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers