search for: if_ether

Displaying 20 results from an estimated 113 matches for "if_ether".

2005 May 22
0
[patch 08/12] use linux/if_ether.h
In klibc, there is <net/if_ether.h>, in glibc, we have <netinet/if_ether.h>, in both we have <linux/if_ether.h>. Let's use the common one. Perhaps klibc should provide <netinet/if_ether.h> instead of <net/if_ether.h>? In glibc, <net/if_packet.h> does not provide PACKET_BROADCAST; <linux/if...
2003 Sep 25
1
FreeBSD Security Advisory FreeBSD-SA-03:14.arp [REVISED]
...Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Branch Revision Path - ------------------------------------------------------------------------- RELENG_4 src/sys/netinet/if_ether.c 1.64.2.26 RELENG_5_1 src/UPDATING 1.251.2.10 src/sys/conf/newvers.sh 1.50.2.10 src/sys/netinet/if_ether.c 1.104.2.2 RELENG_5_0 src/UP...
2003 Sep 25
0
FreeBSD Security Advisory FreeBSD-SA-03:14.arp [REVISED]
...Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Branch Revision Path - ------------------------------------------------------------------------- RELENG_4 src/sys/netinet/if_ether.c 1.64.2.26 RELENG_5_1 src/UPDATING 1.251.2.10 src/sys/conf/newvers.sh 1.50.2.10 src/sys/netinet/if_ether.c 1.104.2.2 RELENG_5_0 src/UP...
2003 Sep 24
1
FreeBSD Security Advisory FreeBSD-SA-03:14.arp
...Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Branch Revision Path - ------------------------------------------------------------------------- RELENG_4 src/sys/netinet/if_ether.c 1.64.2.25 RELENG_5_1 src/UPDATING 1.251.2.8 src/sys/conf/newvers.sh 1.50.2.8 src/sys/netinet/if_ether.c 1.104.2.1 RELENG_5_0 src/UP...
2013 Aug 01
0
[PATCH V3 1/3] uapi: Convert some uses of 6 to ETH_ALEN
Use the #define where appropriate. Add #include <linux/if_ether.h> where appropriate too. Signed-off-by: Joe Perches <joe at perches.com> --- include/uapi/linux/dn.h | 3 ++- include/uapi/linux/if_bridge.h | 3 ++- include/uapi/linux/netfilter_bridge/ebt_802_3.h | 5 +++-- include/uapi/linux/netfilter_ip...
2013 Aug 01
0
[PATCH V3 1/3] uapi: Convert some uses of 6 to ETH_ALEN
Use the #define where appropriate. Add #include <linux/if_ether.h> where appropriate too. Signed-off-by: Joe Perches <joe at perches.com> --- include/uapi/linux/dn.h | 3 ++- include/uapi/linux/if_bridge.h | 3 ++- include/uapi/linux/netfilter_bridge/ebt_802_3.h | 5 +++-- include/uapi/linux/netfilter_ip...
2003 Sep 24
3
FreeBSD Security Advisory FreeBSD-SA-03:14.arp
...Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Branch Revision Path - ------------------------------------------------------------------------- RELENG_4 src/sys/netinet/if_ether.c 1.64.2.25 RELENG_5_1 src/UPDATING 1.251.2.8 src/sys/conf/newvers.sh 1.50.2.8 src/sys/netinet/if_ether.c 1.104.2.1 RELENG_5_0 src/UP...
2013 Jul 29
1
[PATCH 0/3] networking: Use ETH_ALEN where appropriate
Convert the uses mac addresses to ETH_ALEN so it's easier to find and verify where mac addresses need to be __aligned(2) Joe Perches (3): uapi: Convert some uses of 6 to ETH_ALEN include: Convert ethernet mac address declarations to use ETH_ALEN ethernet: Convert mac address uses of 6 to ETH_ALEN drivers/net/ethernet/8390/ax88796.c | 4 +-
2013 Jul 29
1
[PATCH 0/3] networking: Use ETH_ALEN where appropriate
Convert the uses mac addresses to ETH_ALEN so it's easier to find and verify where mac addresses need to be __aligned(2) Joe Perches (3): uapi: Convert some uses of 6 to ETH_ALEN include: Convert ethernet mac address declarations to use ETH_ALEN ethernet: Convert mac address uses of 6 to ETH_ALEN drivers/net/ethernet/8390/ax88796.c | 4 +-
2013 Aug 01
1
[PATCH V2 0/3] networking: Use ETH_ALEN where appropriate
Convert the uses mac addresses to ETH_ALEN so it's easier to find and verify where mac addresses need to be __aligned(2) Change from initial submission: - Remove include/acpi/actbl2.h conversion It's a file copied from outside ACPI sources Joe Perches (3): uapi: Convert some uses of 6 to ETH_ALEN include: Convert ethernet mac address declarations to use ETH_ALEN ethernet: Convert
2013 Aug 01
1
[PATCH V2 0/3] networking: Use ETH_ALEN where appropriate
Convert the uses mac addresses to ETH_ALEN so it's easier to find and verify where mac addresses need to be __aligned(2) Change from initial submission: - Remove include/acpi/actbl2.h conversion It's a file copied from outside ACPI sources Joe Perches (3): uapi: Convert some uses of 6 to ETH_ALEN include: Convert ethernet mac address declarations to use ETH_ALEN ethernet: Convert
2013 May 26
2
[Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code
...types so there doesn't seem to be a reason they couldn't be used in virtio. fuse.h even has a: #ifdef __KERNEL__ #include <linux/types.h> #else #include <stdint.h> #endif Which seems like a reasonable thing to do. The only other kernel dependency is linux/if_ether.h to define ETH_ALEN. But it seems completely reasonable to define a VIRTIO_NET_MAC_ALEN or something like that. This would make the virtio headers completely stand alone and includable in userspace (without violating C99). Perhaps it's even worth moving the headers from uapi/linux to uapi/v...
2013 May 26
2
[Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code
...types so there doesn't seem to be a reason they couldn't be used in virtio. fuse.h even has a: #ifdef __KERNEL__ #include <linux/types.h> #else #include <stdint.h> #endif Which seems like a reasonable thing to do. The only other kernel dependency is linux/if_ether.h to define ETH_ALEN. But it seems completely reasonable to define a VIRTIO_NET_MAC_ALEN or something like that. This would make the virtio headers completely stand alone and includable in userspace (without violating C99). Perhaps it's even worth moving the headers from uapi/linux to uapi/v...
2005 Dec 10
10
Marking packets by mac addr using tc filter u32 match?
Hi Is there a way of marking packets by mac address instead of ip or ports using a "tc filter u32 match"? I read somewhere that I could use the offset -8 and -14 to grab the mac addresses but if I use anything lower than -8, for example -9, I get an error. I''m modifying the wondershaper script to cap the download speed by mac address. Any sugestions?
2013 Mar 28
2
[Bridge] [PATCH v2] net: add ETH_P_802_3_MIN
...2 +- drivers/isdn/i4l/isdn_net.c | 2 +- drivers/media/dvb-core/dvb_net.c | 10 +++++----- drivers/net/ethernet/sun/niu.c | 2 +- drivers/net/plip/plip.c | 2 +- drivers/net/wireless/ray_cs.c | 2 +- include/linux/if_vlan.h | 2 +- include/uapi/linux/if_ether.h | 3 +++ net/atm/lec.h | 2 +- net/bluetooth/bnep/netdev.c | 2 +- net/bridge/netfilter/ebtables.c | 2 +- net/ethernet/eth.c | 2 +- net/mac80211/tx.c | 2 +- net/openvswitch/datapath.c | 2 +- net/openvswitch/fl...
2008 Jun 06
1
Dumb Question for Interface Variable
Hello, I remember that i can set up variables to reference the interfaces i am using something like IF_ETH or ETH PPP... i dont remember the exact place can some one point me on the right direction .. Thanks ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It''s the best place to buy or sell services for just about
2013 May 29
1
[Qemu-devel] [PATCH v2 00/11] qemu: use virtio linux headers in portable code
...> the kernel. > > This discussion comes down to whether we want to make it easier to > automatically copy the headers or do we maintain the status quo and > require manual munging to pull in the headers. > > Regards, > > Anthony Liguori Okay, what if I 1. add a stub if_ether.h with a couple of macros we want 2. replace the types during copying Would this address all concerns? > > > > And we'll bikeshed the headers in the standard when we have to :) They > > certainly don't need to be cut&paste into the kernel sources. > > > &gt...
2007 Jun 15
2
Unable to Compile a LAN Card Driver on Centos4.4
...from /lib/modules/2.6.9-42.EL/build/include/asm/highmem.h:24, from /lib/modules/2.6.9-42.EL/build/include/linux/highmem.h:14, from /lib/modules/2.6.9-42.EL/build/include/linux/skbuff.h:27, from /lib/modules/2.6.9-42.EL/build/include/linux/if_ether.h:107, from /lib/modules/2.6.9-42.EL/build/include/linux/netdevice.h:29, from sc92031.c:26: /lib/modules/2.6.9-42.EL/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.9-42.EL/build/include/asm/hardirq.h:6...
2003 Jun 06
0
crash in networking code (with bt and debug kernel)
...7600, tf_ecx = 1, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1072061079, tf_cs = 8, tf_eflags = 66118, tf_esp = -552919644, tf_ss = -1040745984}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xc019a569 in arp_rtrequest (req=1, rt=0xc3c5a400, info=0xdf0b1da4) at /usr/src/sys/netinet/if_ether.c:186 #7 0xc01980be in rtrequest1 (req=1, info=0xdf0b1da4, ret_nrt=0xdf0b1da0) at /usr/src/sys/net/route.c:750 #8 0xc0198b21 in route_output (m=0xc11ae200, so=0xdd8e5080) at /usr/src/sys/net/rtsock.c:341 #9 0xc01974ee in raw_usend (so=0xdd8e5080, flags=0, m=0xc11ae200, nam=0x0, control=0x0, p...
2008 Jul 24
0
cvs commit: src/contrib/pf/pfctl parse.y src/lib/libc/sys Symbol.map getsockopt.2 src/sbin/ipfw ipfw.8 ipfw2.c src/sys/conf NOTES options src/sys/contrib/ipfilter/netinet ip_fil_freebsd.c src/sys/contrib/pf/net pf.c pf_ioctl.c src/sys/kern init_sysent.c
...if_gif.h if_gre.c if_gre.h > if_iso88025subr.c if_stf.c if_var.h > route.c route.h rtsock.c > sys/netatalk at_extern.h at_proto.c > sys/netgraph/netflow netflow.c > sys/netinet if_atm.c if_ether.c in_gif.c in_mcast.c > in_pcb.c in_pcb.h in_rmx.c in_var.h > ip_fastfwd.c ip_fw.h ip_fw2.c ip_icmp.c > ip_input.c ip_mroute.c ip_mroute.h > ip_options.c ip_output.c ip_var.h >...