Searched refs:mac (Results 1 - 25 of 268) sorted by relevance

1234567891011

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ieee80211/softmac/
H A Dieee80211softmac_assoc.c38 ieee80211softmac_assoc(struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net) argument
43 mac->set_channel(mac->dev, net->channel);
46 ieee80211softmac_send_mgt_frame(mac, net, IEEE80211_STYPE_ASSOC_REQ, 0);
50 spin_lock_irqsave(&mac->lock, flags);
51 mac->associnfo.associated = 0; /* just to make sure */
54 if (likely(mac->running))
55 schedule_delayed_work(&mac->associnfo.timeout, 5 * HZ);
56 spin_unlock_irqrestore(&mac->lock, flags);
62 struct ieee80211softmac_device *mac local
85 ieee80211softmac_disassoc(struct ieee80211softmac_device *mac) argument
105 ieee80211softmac_send_disassoc_req(struct ieee80211softmac_device *mac, u16 reason) argument
119 we_support_all_basic_rates(struct ieee80211softmac_device *mac, u8 *from, u8 from_len) argument
136 network_matches_request(struct ieee80211softmac_device *mac, struct ieee80211_network *net) argument
168 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
175 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
192 struct ieee80211softmac_device *mac = local
334 ieee80211softmac_associated(struct ieee80211softmac_device *mac, struct ieee80211_assoc_response * resp, struct ieee80211softmac_network *net) argument
369 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
434 ieee80211softmac_try_reassoc(struct ieee80211softmac_device *mac) argument
448 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
471 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
[all...]
H A Dieee80211softmac_auth.c33 ieee80211softmac_auth_req(struct ieee80211softmac_device *mac, argument
44 ieee80211softmac_add_network(mac, net);
54 auth->mac = mac;
60 spin_lock_irqsave(&mac->lock, flags);
63 list_add_tail(&auth->list, &mac->auth_queue);
65 spin_unlock_irqrestore(&mac->lock, flags);
75 struct ieee80211softmac_device *mac; local
83 mac = auth->mac;
140 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
302 ieee80211softmac_deauth_from_net(struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net) argument
348 ieee80211softmac_deauth_req(struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net, int reason) argument
377 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
[all...]
H A Dieee80211softmac_module.c146 static void ieee80211softmac_start_check_rates(struct ieee80211softmac_device *mac) argument
148 struct ieee80211softmac_ratesinfo *ri = &mac->ratesinfo;
153 if (mac->ieee->modulation & IEEE80211_CCK_MODULATION) {
159 if (mac->ieee->modulation & IEEE80211_OFDM_MODULATION) {
186 u8 ieee80211softmac_highest_supported_rate(struct ieee80211softmac_device *mac, argument
189 u8 user_rate = mac->txrates.user_rate;
202 if (ieee80211softmac_ratesinfo_rate_supported(&mac->ratesinfo, rate))
211 void ieee80211softmac_process_erp(struct ieee80211softmac_device *mac, argument
220 && mac->associnfo.short_preamble_available) ? 1 : 0;
225 if (mac
239 ieee80211softmac_recalc_txrates(struct ieee80211softmac_device *mac) argument
258 ieee80211softmac_init_bss(struct ieee80211softmac_device *mac) argument
312 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
321 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
329 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
339 raise_rate(struct ieee80211softmac_device *mac, u8 rate) argument
352 ieee80211softmac_lower_rate_delta(struct ieee80211softmac_device *mac, u8 rate, int delta) argument
365 ieee80211softmac_add_txrates_badness(struct ieee80211softmac_device *mac, int amount) argument
406 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
426 ieee80211softmac_create_network(struct ieee80211softmac_device *mac, struct ieee80211_network *net) argument
456 ieee80211softmac_add_network_locked(struct ieee80211softmac_device *mac, struct ieee80211softmac_network *add_net) argument
475 ieee80211softmac_add_network(struct ieee80211softmac_device *mac, struct ieee80211softmac_network *add_net) argument
487 ieee80211softmac_del_network_locked(struct ieee80211softmac_device *mac, struct ieee80211softmac_network *del_net) argument
495 ieee80211softmac_del_network(struct ieee80211softmac_device *mac, struct ieee80211softmac_network *del_net) argument
506 ieee80211softmac_get_network_by_bssid_locked(struct ieee80211softmac_device *mac, u8 *bssid) argument
523 ieee80211softmac_get_network_by_bssid(struct ieee80211softmac_device *mac, u8 *bssid) argument
537 ieee80211softmac_get_network_by_essid_locked(struct ieee80211softmac_device *mac, struct ieee80211softmac_essid *essid) argument
554 ieee80211softmac_get_network_by_essid(struct ieee80211softmac_device *mac, struct ieee80211softmac_essid *essid) argument
[all...]
H A Dieee80211softmac_event.c83 event.fun(event.mac->dev, event.event_type, event.context);
87 ieee80211softmac_notify_internal(struct ieee80211softmac_device *mac, argument
107 eventptr->mac = mac;
110 spin_lock_irqsave(&mac->lock, flags);
111 list_add(&eventptr->list, &mac->events);
112 spin_unlock_irqrestore(&mac->lock, flags);
121 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
126 return ieee80211softmac_notify_internal(mac, event, NULL, fun, context, gfp_mask);
132 ieee80211softmac_call_events_locked(struct ieee80211softmac_device *mac, in argument
181 ieee80211softmac_call_events(struct ieee80211softmac_device *mac, int event, void *event_ctx) argument
[all...]
H A Dieee80211softmac_wx.c171 struct ieee80211softmac_device *mac = ieee80211_priv(net_dev); local
172 struct ieee80211_device *ieee = mac->ieee;
235 spin_lock_irqsave(&mac->lock, flags);
241 mac->txrates.user_rate = rate;
242 ieee80211softmac_recalc_txrates(mac);
246 spin_unlock_irqrestore(&mac->lock, flags);
258 struct ieee80211softmac_device *mac = ieee80211_priv(net_dev); local
262 spin_lock_irqsave(&mac->lock, flags);
264 if (unlikely(!mac->running)) {
269 switch (mac
324 struct ieee80211softmac_device *mac = ieee80211_priv(net_dev); local
345 struct ieee80211softmac_device *mac = ieee80211_priv(net_dev); local
393 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
449 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
479 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
[all...]
H A Dieee80211softmac_io.c107 ieee80211softmac_hdr_2addr(struct ieee80211softmac_device *mac, argument
114 header->frame_ctl |= mac->ieee->sec.level ? cpu_to_le16(IEEE80211_FCTL_PROTECTED) : 0;
125 memcpy(header->addr2, mac->ieee->dev->dev_addr, ETH_ALEN);
132 ieee80211softmac_hdr_3addr(struct ieee80211softmac_device *mac, argument
136 ieee80211softmac_hdr_2addr(mac, (struct ieee80211_hdr_2addr *)header, type, dest);
148 ieee80211softmac_capabilities(struct ieee80211softmac_device *mac, argument
154 switch (mac->ieee->iw_mode) {
175 capability |= mac->ieee->sec.level ?
205 struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net)
218 mac
204 ieee80211softmac_assoc_req(struct ieee80211_assoc_request **pkt, struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net) argument
249 ieee80211softmac_reassoc_req(struct ieee80211_reassoc_request **pkt, struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net) argument
288 ieee80211softmac_auth(struct ieee80211_auth **pkt, struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net, u16 transaction, u16 status, int *encrypt_mpdu) argument
339 ieee80211softmac_disassoc_deauth(struct ieee80211_disassoc **pkt, struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net, u16 type, u16 reason) argument
356 ieee80211softmac_probe_req(struct ieee80211_probe_request **pkt, struct ieee80211softmac_device *mac, struct ieee80211softmac_essid *essid) argument
384 ieee80211softmac_probe_resp(struct ieee80211_probe_response **pkt, struct ieee80211softmac_device *mac, struct ieee80211softmac_network *net) argument
411 ieee80211softmac_send_mgt_frame(struct ieee80211softmac_device *mac, void *ptrarg, u32 type, u32 arg) argument
467 struct ieee80211softmac_device *mac = ieee80211_priv(dev); local
[all...]
H A Dieee80211softmac_priv.h83 int ieee80211softmac_start_scan(struct ieee80211softmac_device *mac);
84 void ieee80211softmac_stop_scan(struct ieee80211softmac_device *mac);
85 void ieee80211softmac_wait_for_scan(struct ieee80211softmac_device *mac);
94 struct ieee80211softmac_device *mac, struct ieee80211_network *net);
95 void ieee80211softmac_add_network_locked(struct ieee80211softmac_device *mac,
97 void ieee80211softmac_add_network(struct ieee80211softmac_device *mac,
99 void ieee80211softmac_del_network_locked(struct ieee80211softmac_device *mac,
101 void ieee80211softmac_del_network(struct ieee80211softmac_device *mac,
104 struct ieee80211softmac_device *mac, u8 *ea);
106 struct ieee80211softmac_device *mac, u
125 lower_rate(struct ieee80211softmac_device *mac, u8 rate) argument
129 get_fallback_rate(struct ieee80211softmac_device *mac, u8 rate) argument
207 struct ieee80211softmac_device *mac; /* SoftMAC device */ member in struct:ieee80211softmac_auth_queue_item
223 struct ieee80211softmac_device *mac; member in struct:ieee80211softmac_scaninfo
234 struct ieee80211softmac_device *mac; member in struct:ieee80211softmac_event
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dxgmac.c41 static inline int macidx(const struct cmac *mac) argument
43 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR);
46 static void xaui_serdes_reset(struct cmac *mac) argument
54 struct adapter *adap = mac->adapter;
55 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset;
57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] |
70 void t3b_pcs_reset(struct cmac *mac) argument
72 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset,
75 t3_set_reg_field(mac
79 t3_mac_reset(struct cmac *mac) argument
145 t3b2_mac_reset(struct cmac *mac) argument
200 set_addr_filter(struct cmac *mac, int idx, const u8 * addr) argument
213 t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6]) argument
226 t3_mac_set_num_ucast(struct cmac *mac, int n) argument
234 disable_exact_filters(struct cmac *mac) argument
245 enable_exact_filters(struct cmac *mac) argument
270 t3_mac_set_rx_mode(struct cmac *mac, struct t3_rx_mode *rm) argument
314 t3_mac_set_mtu(struct cmac *mac, unsigned int mtu) argument
394 t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) argument
432 t3_mac_enable(struct cmac *mac, int which) argument
465 t3_mac_disable(struct cmac *mac, int which) argument
496 t3b2_mac_watchdog_task(struct cmac *mac) argument
583 t3_mac_update_stats(struct cmac *mac) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_bridge/
H A Debt_arpreply.h6 unsigned char mac[ETH_ALEN]; member in struct:ebt_arpreply_info
H A Debt_nat.h7 unsigned char mac[ETH_ALEN]; member in struct:ebt_nat_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/chelsio/
H A Dmac.c1 /* $Date: 2007/08/03 18:52:46 $ $RCSfile: mac.c,v $ $Revision: 1.1.1.1 $ */
54 static int mac_intr_enable(struct cmac *mac) argument
58 if (t1_is_asic(mac->adapter)) {
66 mac_intr = readl(mac->adapter->regs + A_PL_ENABLE);
68 writel(mac_intr, mac->adapter->regs + A_PL_ENABLE);
70 mac_intr = readl(mac->adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_ENABLE);
71 mac_intr |= static_aPorts[mac->instance->index];
73 mac->adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_ENABLE);
79 static int mac_intr_disable(struct cmac *mac) argument
83 if (t1_is_asic(mac
104 mac_intr_clear(struct cmac *mac) argument
127 mac_get_address(struct cmac *mac, u8 addr[6]) argument
145 mac_reset(struct cmac *mac) argument
172 mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) argument
187 mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) argument
223 mac_enable(struct cmac *mac, int which) argument
238 mac_disable(struct cmac *mac, int which) argument
254 mac_set_mtu(struct cmac *mac, int mtu) argument
264 mac_update_statistics(struct cmac *mac, int flag) argument
280 mac_destroy(struct cmac *mac) argument
302 struct cmac *mac; local
[all...]
H A Dvsc7326.c80 val |= 0x1; /* Enable mac MAC itself */
357 static int mac_intr_handler(struct cmac *mac) argument
362 static int mac_intr_enable(struct cmac *mac) argument
367 static int mac_intr_disable(struct cmac *mac) argument
372 static int mac_intr_clear(struct cmac *mac) argument
378 static int mac_set_address(struct cmac* mac, u8 addr[6]) argument
381 int port = mac->instance->index;
383 vsc_write(mac->adapter, REG_MAC_LOW_ADDR(port),
385 vsc_write(mac->adapter, REG_MAC_HIGH_ADDR(port),
388 vsc_read(mac
401 mac_get_address(struct cmac *mac, u8 addr[6]) argument
419 mac_reset(struct cmac *mac) argument
429 mac_set_rx_mode(struct cmac *mac, struct t1_rx_mode *rm) argument
446 mac_set_mtu(struct cmac *mac, int mtu) argument
458 mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc) argument
527 mac_enable(struct cmac *mac, int which) argument
544 mac_disable(struct cmac *mac, int which) argument
570 rmon_update(struct cmac *mac, unsigned int addr, u64 *stat) argument
585 port_stats_update(struct cmac *mac) argument
638 mac_update_statistics(struct cmac *mac, int flag) argument
659 mac_destroy(struct cmac *mac) argument
683 struct cmac *mac; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dpasemi_mac.c66 #define TX_DESC(mac, num) ((mac)->tx->desc[(num) & (TX_RING_SIZE-1)])
67 #define TX_DESC_INFO(mac, num) ((mac)->tx->desc_info[(num) & (TX_RING_SIZE-1)])
68 #define RX_DESC(mac, num) ((mac)->rx->desc[(num) & (RX_RING_SIZE-1)])
69 #define RX_DESC_INFO(mac, num) ((mac)->rx->desc_info[(num) & (RX_RING_SIZE-1)])
70 #define RX_BUFF(mac, num) ((mac)
84 pasemi_get_mac_addr(struct pasemi_mac *mac) argument
134 struct pasemi_mac *mac = netdev_priv(dev); local
210 struct pasemi_mac *mac = netdev_priv(dev); local
268 struct pasemi_mac *mac = netdev_priv(dev); local
302 struct pasemi_mac *mac = netdev_priv(dev); local
339 struct pasemi_mac *mac = netdev_priv(dev); local
396 pasemi_mac_restart_rx_intr(struct pasemi_mac *mac) argument
412 pasemi_mac_restart_tx_intr(struct pasemi_mac *mac) argument
426 pasemi_mac_clean_rx(struct pasemi_mac *mac, int limit) argument
521 pasemi_mac_clean_tx(struct pasemi_mac *mac) argument
564 struct pasemi_mac *mac = netdev_priv(dev); local
599 struct pasemi_mac *mac = netdev_priv(dev); local
625 struct pasemi_mac *mac = netdev_priv(dev); local
685 struct pasemi_mac *mac = netdev_priv(dev); local
733 struct pasemi_mac *mac = netdev_priv(dev); local
862 struct pasemi_mac *mac = netdev_priv(dev); local
947 struct pasemi_mac *mac = netdev_priv(dev); local
1027 struct pasemi_mac *mac = netdev_priv(dev); local
1035 struct pasemi_mac *mac = netdev_priv(dev); local
1053 struct pasemi_mac *mac = netdev_priv(dev); local
1077 struct pasemi_mac *mac; local
1203 struct pasemi_mac *mac; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fs_enet/
H A DMakefile7 obj-$(CONFIG_8xx) += mac-fec.o mac-scc.o mii-fec.o
8 obj-$(CONFIG_CPM2) += mac-fcc.o mii-bitbang.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/zd1211rw/
H A Dzd_mac.c38 static void housekeeping_init(struct zd_mac *mac);
39 static void housekeeping_enable(struct zd_mac *mac);
40 static void housekeeping_disable(struct zd_mac *mac);
46 int zd_mac_init(struct zd_mac *mac, argument
52 memset(mac, 0, sizeof(*mac));
53 spin_lock_init(&mac->lock);
54 mac->netdev = netdev;
55 INIT_DELAYED_WORK(&mac->set_rts_cts_work, set_rts_cts_work);
56 INIT_DELAYED_WORK(&mac
70 reset_channel(struct zd_mac *mac) argument
89 zd_mac_init_hw(struct zd_mac *mac, u8 device_type) argument
146 zd_mac_clear(struct zd_mac *mac) argument
156 reset_mode(struct zd_mac *mac) argument
165 struct zd_mac *mac = zd_netdev_mac(netdev); local
209 struct zd_mac *mac = zd_netdev_mac(netdev); local
245 struct zd_mac *mac = zd_netdev_mac(netdev); local
267 struct zd_mac *mac = container_of(work, struct zd_mac, local
281 struct zd_mac *mac = zd_netdev_mac(dev); local
302 zd_mac_set_regdomain(struct zd_mac *mac, u8 regdomain) argument
332 zd_mac_get_regdomain(struct zd_mac *mac) argument
402 try_enable_tx(struct zd_mac *mac) argument
414 struct zd_mac *mac = local
436 struct zd_mac *mac = local
456 struct zd_mac *mac = zd_netdev_mac(netdev); local
528 struct zd_mac *mac = zd_netdev_mac(netdev); local
535 zd_mac_request_channel(struct zd_mac *mac, u8 channel) argument
556 zd_mac_get_channel(struct zd_mac *mac) argument
586 zd_mac_set_mode(struct zd_mac *mac, u32 mode) argument
616 zd_mac_get_mode(struct zd_mac *mac, u32 *mode) argument
628 zd_mac_get_range(struct zd_mac *mac, struct iw_range *range) argument
750 cs_set_modulation(struct zd_mac *mac, struct zd_ctrlset *cs, struct ieee80211_hdr_4addr *hdr) argument
771 cs_set_control(struct zd_mac *mac, struct zd_ctrlset *cs, struct ieee80211_hdr_4addr *header) argument
815 fill_ctrlset(struct zd_mac *mac, struct ieee80211_txb *txb, int frag_num) argument
885 zd_mac_tx(struct zd_mac *mac, struct ieee80211_txb *txb, int pri) argument
919 fill_rt_header(void *buffer, struct zd_mac *mac, const struct ieee80211_rx_stats *stats, const struct rx_status *status) argument
1019 update_qual_rssi(struct zd_mac *mac, const u8 *buffer, unsigned int length, u8 qual_percent, u8 rssi_percent) argument
1041 fill_rx_stats(struct ieee80211_rx_stats *stats, const struct rx_status **pstatus, struct zd_mac *mac, const u8 *buffer, unsigned int length) argument
1084 zd_mac_rx(struct zd_mac *mac, struct sk_buff *skb) argument
1124 fill_rt_header(skb_push(skb, sizeof(struct zd_rt_hdr)), mac, local
1137 struct zd_mac *mac = (struct zd_mac *)mac_ptr; local
1144 zd_mac_rx_irq(struct zd_mac *mac, const u8 *buffer, unsigned int length) argument
1243 struct zd_mac *mac = zd_netdev_mac(ndev); local
1278 struct zd_mac *mac = local
1298 housekeeping_init(struct zd_mac *mac) argument
1303 housekeeping_enable(struct zd_mac *mac) argument
1310 housekeeping_disable(struct zd_mac *mac) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/pkcs12/
H A Dp12_mutl.c68 unsigned char *mac, unsigned int *maclen)
75 salt = p12->mac->salt->data;
76 saltlen = p12->mac->salt->length;
77 if (!p12->mac->iter) iter = 1;
78 else iter = ASN1_INTEGER_get (p12->mac->iter);
80 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) {
93 HMAC_Final(&hmac, mac, maclen);
98 /* Verify the mac */
101 unsigned char mac[EVP_MAX_MD_SIZE]; local
103 if(p12->mac
67 PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *mac, unsigned int *maclen) argument
121 unsigned char mac[EVP_MAX_MD_SIZE]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs12/
H A Dp12_mutl.c68 unsigned char *mac, unsigned int *maclen)
81 salt = p12->mac->salt->data;
82 saltlen = p12->mac->salt->length;
83 if (!p12->mac->iter) iter = 1;
84 else iter = ASN1_INTEGER_get (p12->mac->iter);
86 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) {
99 HMAC_Final(&hmac, mac, maclen);
104 /* Verify the mac */
107 unsigned char mac[EVP_MAX_MD_SIZE]; local
109 if(p12->mac
67 PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *mac, unsigned int *maclen) argument
127 unsigned char mac[EVP_MAX_MD_SIZE]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/sgi/
H A Dseeq.h18 unsigned char mac[ETH_ALEN]; member in struct:sgiseeq_platform_data
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/sgi/
H A Dseeq.h18 unsigned char mac[ETH_ALEN]; member in struct:sgiseeq_platform_data
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/
H A Dgetifaddr.c97 unsigned char mac[6]; local
102 memset(&mac, '\0', sizeof(mac));
133 memmove(mac, ifr.ifr_hwaddr.sa_data, 6);
135 mac[0]&0xFF, mac[1]&0xFF, mac[2]&0xFF,
136 mac[3]&0xFF, mac[4]&0xFF, mac[
147 get_remote_mac(struct in_addr ip_addr, unsigned char * mac) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.07.26/
H A Dgetifaddr.c97 unsigned char mac[6]; local
102 memset(&mac, '\0', sizeof(mac));
133 memmove(mac, ifr.ifr_hwaddr.sa_data, 6);
135 mac[0]&0xFF, mac[1]&0xFF, mac[2]&0xFF,
136 mac[3]&0xFF, mac[4]&0xFF, mac[
147 get_remote_mac(struct in_addr ip_addr, unsigned char * mac) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ixp2000/
H A Dpm3386.h18 void pm3386_get_mac(int port, u8 *mac);
19 void pm3386_set_mac(int port, u8 *mac);
H A Dpm3386.c95 u8 mac[3][6]; local
101 pm3386_get_mac(0, mac[0]);
102 pm3386_get_mac(1, mac[1]);
104 pm3386_get_mac(2, mac[2]);
125 pm3386_set_mac(0, mac[0]);
126 pm3386_set_mac(1, mac[1]);
128 pm3386_set_mac(2, mac[2]);
244 void pm3386_get_mac(int port, u8 *mac) argument
249 mac[0] = temp & 0xff;
250 mac[
261 pm3386_set_mac(int port, u8 *mac) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/
H A Dstatic_leases.c15 * Address to a 6 byte mac address
17 int addStaticLease(struct static_lease **lease_struct, uint8_t *mac, uint32_t *ip) argument
24 new_static_lease->mac = mac;
43 /* Check to see if a mac has an associated static lease */
48 uint8_t *mac = arg; local
53 /* If the client has the correct mac */
54 if (memcmp(cur->mac, mac, 6) == 0) {
91 /* printf("PrintStaticLeases: Lease mac Addres
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.03.14/
H A Dgetifaddr.c158 unsigned char mac[6]; local
163 memset(&mac, '\0', sizeof(mac));
194 memmove(mac, ifr.ifr_hwaddr.sa_data, 6);
196 mac[0]&0xFF, mac[1]&0xFF, mac[2]&0xFF,
197 mac[3]&0xFF, mac[4]&0xFF, mac[
208 get_remote_mac(struct in_addr ip_addr, unsigned char * mac) argument
[all...]

Completed in 116 milliseconds

1234567891011