search for: ether_head

Displaying 6 results from an estimated 6 matches for "ether_head".

Did you mean: ether_header
2007 Oct 18
0
[PATCH] Use credentials and permissions on control socket where available
...++++++++++++++++++++++++++++++++++---- 4 files changed, 47 insertions(+), 7 deletions(-) diff --git a/configure.in b/configure.in index 670e855..6b13eb3 100644 --- a/configure.in +++ b/configure.in @@ -114,7 +114,7 @@ AC_STRUCT_TM tinc_ATTRIBUTE(__malloc__) -AC_CHECK_TYPES([socklen_t, struct ether_header, struct arphdr, struct ether_arp, struct in_addr, struct addrinfo, struct ip, struct icmp, struct in6_addr, struct sockaddr_in6, struct ip6_hdr, struct icmp6_hdr, struct nd_neighbor_solicit, struct nd_opt_hdr], , , +AC_CHECK_TYPES([socklen_t, struct ether_header, struct arphdr, struct ether_arp,...
2012 Mar 22
0
odd arpwatch error
On and off, I'm seeing Mar 22 14:10:04 <server> arpwatch: short (want 42) The only thing like it I find in googling is an old debian bug, with the only solution I see, from <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=155182>, is "It seems that "struct ether_header" was 2 bytes too long, and with attribute packed it works fine on my NSLU2." Anyone know if this could have crept in? Johnny? Karanbir? mark
2015 Dec 10
2
[PATCH] Receive multiple packets at a time
...and make the functions a bit more readable. > Then I'll merge it :) Here it is. Samuel -------------- next part -------------- diff --git a/configure.ac b/configure.ac index 5cdd642..fcac9d2 100644 --- a/configure.ac +++ b/configure.ac @@ -187,7 +187,7 @@ AC_CHECK_TYPES([socklen_t, struct ether_header, struct arphdr, struct ether_arp, dnl Checks for library functions. AC_TYPE_SIGNAL -AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall pselect putenv random select strdup strerror strsignal strtol system unsetenv usleep vsyslog writev], +AC_CHEC...
2009 May 15
2
Trouble with Tinc at make level
...g volatile... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working __malloc__ attribute... no checking for socklen_t... yes checking for struct ether_header... yes checking for struct arphdr... yes checking for struct ether_arp... yes checking for struct in_addr... yes checking for struct addrinfo... yes checking for struct ip... yes checking for struct icmp... yes checking for struct in6_addr... yes checking for struct sockaddr_in6... yes checking f...
2006 Mar 24
2
[PATCH] qemu pcnet emulation fixes
...\ +#define CHECK_TMD(ADDR,RES) do { \ + TMDLOAD(&(s->tmd),(ADDR)); \ + (RES) |= (s->tmd.tmd1.ones != 15); \ } while (0) -#endif #define PRINT_PKTHDR(BUF) do { \ struct ether_header *hdr = (void *)(BUF); \ --- tools/ioemu/hw/orig.pcnet.c 2006-03-24 12:08:37.000000000 -0800 +++ tools/ioemu/hw/pcnet.c 2006-03-24 12:21:49.000000000 -0800 @@ -45,21 +45,6 @@ #define PCNET_PNPMMIO_SIZE 0x20 -typedef struct PCNetState_st PCNetState; - -struct PCNetState_st { - PCIDe...
2015 Dec 02
5
[PATCH] Receive multiple packets at a time
Hello, Linux has a recvmmsg() system call which allows to achieve several recvfrom() at a time. The patch below makes tinc use it (patch against 1.1-pre11). Basically the patch turns the handle_incoming_vpn_data variables into arrays (of size 1 when recvmmsg is not available, and thus compiled the same as before), and makes the code index into the arrays. You may want to use interdiff -w