search for: mac_addr

Displaying 20 results from an estimated 23 matches for "mac_addr".

2007 Jul 30
2
possible bug in xen.hg/tools/ioemu/tools/vl.c, function net_tap_init()
in xen.hg/tools/ioemu/tools/vl.c, function net_tap_init() if (need_setphysaddr) { if ((r = dlpi_set_physaddr(dh, DL_CURR_PHYS_ADDR, s->mac_addr, ETHERADDRL)) != DLPI_SUCCESS) { fprintf(logfile, "net_tap_init: cannot set physaddr (%d)\n", r); ret = -1; goto done; } } Shouldn'...
2009 Apr 12
0
[PATCH] hdt: only display MAC address for network cards
...-cli-pci.c +++ syslinux-3.74-20-g3b80c26/com32/hdt/hdt-cli-pci.c @@ -119,11 +119,11 @@ void show_pci_device(struct s_hardware * more_printf("PCI Func : %02d\n", func); if (hardware->is_pxe_valid == true) { - more_printf("Mac Address : %s\n", hardware->pxe.mac_addr); if ((hardware->pxe.pci_device != NULL) - && (hardware->pxe.pci_device == pci_device)) - more_printf("PXE : Current boot device\n", - func); + && (hardware->pxe.pci_device == pci_device)) { + more_printf("Mac...
2009 Jan 27
5
[PATCH 2/2] Add VMDq support to ixgbe
...; #include <linux/vmalloc.h> +#ifdef CONFIG_XEN_NETDEV2_BACKEND +#include <linux/netvmq.h> +#endif #ifdef SIOCETHTOOL #include <linux/ethtool.h> @@ -224,6 +227,9 @@ struct ixgbe_ring { #endif u16 work_limit; /* max work per interrupt */ u16 rx_buf_len; + u8 mac_addr[ETH_ALEN]; + u8 active; + u8 allocated; }; #define RING_F_DCB 0 @@ -417,6 +423,10 @@ struct ixgbe_adapter { unsigned int lro_flushed; unsigned int lro_no_desc; #endif +#ifdef CONFIG_XEN_NETDEV2_BACKEND + struct net_vmq *vmq; + u32 rx_queues_allocated; +#endif unsigned int tx_ring_count;...
2013 Aug 01
0
[PATCH V3 1/3] uapi: Convert some uses of 6 to ETH_ALEN
..._bridge.h @@ -14,6 +14,7 @@ #define _UAPI_LINUX_IF_BRIDGE_H #include <linux/types.h> +#include <linux/if_ether.h> #define SYSFS_BRIDGE_ATTR "bridge" #define SYSFS_BRIDGE_FDB "brforward" @@ -88,7 +89,7 @@ struct __port_info { }; struct __fdb_entry { - __u8 mac_addr[6]; + __u8 mac_addr[ETH_ALEN]; __u8 port_no; __u8 is_local; __u32 ageing_timer_value; diff --git a/include/uapi/linux/netfilter_bridge/ebt_802_3.h b/include/uapi/linux/netfilter_bridge/ebt_802_3.h index 5bf8491..f37522a 100644 --- a/include/uapi/linux/netfilter_bridge/ebt_802_3.h +++ b/includ...
2013 Aug 01
0
[PATCH V3 1/3] uapi: Convert some uses of 6 to ETH_ALEN
..._bridge.h @@ -14,6 +14,7 @@ #define _UAPI_LINUX_IF_BRIDGE_H #include <linux/types.h> +#include <linux/if_ether.h> #define SYSFS_BRIDGE_ATTR "bridge" #define SYSFS_BRIDGE_FDB "brforward" @@ -88,7 +89,7 @@ struct __port_info { }; struct __fdb_entry { - __u8 mac_addr[6]; + __u8 mac_addr[ETH_ALEN]; __u8 port_no; __u8 is_local; __u32 ageing_timer_value; diff --git a/include/uapi/linux/netfilter_bridge/ebt_802_3.h b/include/uapi/linux/netfilter_bridge/ebt_802_3.h index 5bf8491..f37522a 100644 --- a/include/uapi/linux/netfilter_bridge/ebt_802_3.h +++ b/includ...
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
2010 Jun 18
2
[PATCH] hdt & gcc -Werror
...ot; Product : %s \n", p->pci_device->dev_info->product_name); - more_printf(buffer); + more_printf("%s", buffer); } more_printf(" Addresses : %d.%d.%d.%d @ %s\n", p->ip_addr[0], p->ip_addr[1], p->ip_addr[2], p->ip_addr[3], p->mac_addr);
2004 Mar 30
3
setting up 7940
I'm starting out w/ a Cisco 7940, running the Sip image version 6.3. I've downloaded/installed asterisk via cvs. I've set the phone up to get its info via dhcp - the dhcp, tftp, astericks box & phone are on the same network. I've gone through and setup a test account per the instructions @ http://voip-info.org/wiki-Asterisk+phone+cisco+79xx but time I do a sip show
2007 Apr 18
1
[Bridge] [BRIDGE] Unaligned access on IA64 when comparing ethernet addresses
From: Evgeny Kravtsunov <emkravts@openvz.org> compare_ether_addr() implicitly requires that the addresses passed are 2-bytes aligned in memory. This is not true for br_stp_change_bridge_id() and br_stp_recalculate_bridge_id() in which one of the addresses is unsigned char *, and thus may not be 2-bytes aligned. Signed-off-by: Evgeny Kravtsunov <emkravts@openvz.org> Signed-off-by:
2004 Jun 24
1
Swissv oice IP10 behind NAT
Hi, Is there a way to use swissvoice IP10 in MGCP mode behind NAT. I already use this fonctionnality with a PBX other then asterisk, and it work very well. In fact, I need to use this settings in the IP10 telnet session set xgcp rgw_name MAC_ADDR set tcid 0 notify_entity ca@[@IP PBX]:2427 In fact, the phone register with the MAC@ and not with the IP@, and the PBX reply the phone in the UDP or TCP open channel on the router or on the firewall. A channel is always open by the phone, so there is no problem. Is this fonctionnality possible wi...
2005 Jan 18
1
Cisco 7940 Configuration
Hello all, I recently purchased a Cisco 7940 IP phone to do some testing with (to validate a migration to asterisk for our internal PBX needs). I understand that I need to update the phone for it to support SIP, so I configured the phone with an IP address and pointed it at my tftp server. When I reboot the phone I am currently getting "TFTP File Not Found SEPDefault.cnf" in the
2006 Nov 10
2
config template for Grandstreams
I'm preparing to deploy a small number of Grandstream BT101's and GXP2000's to a remote location (which I won't have access to). I'd like to have them pull a config file from my server - I'm almost there... The phones are looking for the config file on my webserver which is good. I need to generate that file however. I see a tool on the GS website to generate
2023 Jun 19
2
[Bridge] [PATCH net-next v2 2/3] bridge: Add a limit on learned FDB entries
...to fdb_n_entries are under br->hash_lock, which means we do not need additional locking. The call paths are (? denotes that br->hash_lock is taken around the next call): - fdb_delete <-+- fdb_delete_local <-+- br_fdb_changeaddr ? | +- br_fdb_change_mac_address ? | +- br_fdb_delete_by_port ? +- br_fdb_find_delete_local ? +- fdb_add_local <-+- br_fdb_changeaddr ? | +- br_fdb_change_mac_address ? | +- br_fdb_add_local ?...
2020 Jul 09
0
[PATCH RFC v8 02/11] vhost: use batched get_vq_desc version
...Regarding Rx, the reverse is observed: a small performance increase is > observed with batching (~2%), but buf_api makes tests perform equally > to baseline. > > pktgen was called using pktgen_sample01_simple.sh, with the environment: > DEV="$tap_name" F_THREAD=1 DST_MAC=$MAC_ADDR COUNT=$((2500000*25)) > SKB_CLONE=$((2**31)) > > And testpmd is the same as Tx but with forward-mode=rxonly. > > Pktgen reports: > Baseline: 1853025pps 622Mb/sec (622616400bps) errors: 7915231 > Batch: 1891404pps 635Mb/sec (635511744bps) errors: 4926093 > Buf_api: 1844008p...
2007 Apr 18
5
[Bridge] RFC: [PATCH] bridge vlan integration
...+#define BRCTL_DEL_PORT_VLAN 21 +#define BRCTL_GET_PORT_VLAN_INFO 22 #define BR_STATE_DISABLED 0 #define BR_STATE_LISTENING 1 @@ -91,6 +95,12 @@ struct __port_info __u32 hold_timer_value; }; +struct __vlan_info +{ + __u32 untagged; + __u8 filter[4096/8]; +}; + struct __fdb_entry { __u8 mac_addr[6]; Index: wireless-dev/include/linux/skbuff.h =================================================================== --- wireless-dev.orig/include/linux/skbuff.h +++ wireless-dev/include/linux/skbuff.h @@ -296,6 +296,9 @@ struct sk_buff { #endif __u32 nfmark; #endif /* CONFIG_NETFILTER */ +#ifd...
2023 Jun 19
4
[Bridge] [PATCH net-next v2 0/3, iproute2-next 0/1] bridge: Add a limit on learned FDB entries
Introduce a limit on the amount of learned FDB entries on a bridge, configured by netlink with a build time default on bridge creation in the kernel config. For backwards compatibility the kernel config default is disabling the limit (0). Without any limit a malicious actor may OOM a kernel by spamming packets with changing MAC addresses on their bridge port, so allow the bridge creator to limit
2020 Jun 11
27
[PATCH RFC v8 00/11] vhost: ring format independence
This still causes corruption issues for people so don't try to use in production please. Posting to expedite debugging. This adds infrastructure required for supporting multiple ring formats. The idea is as follows: we convert descriptors to an independent format first, and process that converting to iov later. Used ring is similar: we fetch into an independent struct first, convert that to