Skip to content

Instantly share code, notes, and snippets.

@ncopa
Created April 22, 2015 07:19
Show Gist options
  • Save ncopa/99ae0e9b9b0ae9c9b0fd to your computer and use it in GitHub Desktop.
Save ncopa/99ae0e9b9b0ae9c9b0fd to your computer and use it in GitHub Desktop.
/* already defined within netinet/in.h if using GNU compiler */
#ifndef __USE_GNU
struct in6_pktinfo {
struct in6_addr ipi6_addr; /* src/dst IPv6 address */
unsigned int ipi6_ifindex; /* send/recv interface index */
};
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment