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

123456789

/asus-wl-520gu-7.0.1.45/src/router/infosvr/
H A Dpacket.h84 int PackGetInfoCurrentAP(char *pdubuf, char *mac, char *password);
85 int UnpackGetInfoCurrentAP(char *pdubuf, DWORD tid, char *mac, PKT_GET_INFO_AP *curAP);
86 int PackSetInfoCurrentAP(char *pdubuf, char *mac, char *password, PKT_GET_INFO_AP *curAP);
87 int UnpackSetInfoCurrentAP(char *pdubuf, DWORD tid, char *mac);
90 int PackGetInfoCurrentSTA(char *pdubuf, char *mac, char *password);
91 int UnpackGetInfoCurrentSTA(char *pdubuf, DWORD tid, char *mac, PKT_GET_INFO_STA *curSTA);
92 int PackGetInfoSites(char *pdubuf, char *mac, char *password);
93 int UnpackGetInfoSites(char *pdubuf, DWORD tid, char *mac, PKT_GET_INFO_SITES *sites);
94 int PackSetInfoCurrentSTA(char *pdubuf, char *mac, char *password, PKT_GET_INFO_STA *curSTA);
95 int UnpackSetInfoCurrentSTA(char *pdubuf, DWORD tid, char *mac);
[all...]
H A Dpacket.c101 DWORD PackCmdHdr(char *pdubuf, WORD cmd, char *mac, char *password) argument
110 memcpy(hdr->MacAddress, mac, 6);
139 int UnpackResHdr(char *pdubuf, WORD opcode, DWORD tid, char *mac) argument
148 memcmp(hdr->MacAddress, mac, 6)!=0)
193 int PackGetInfoCurrentAP(char *pdubuf, char *mac, char *password) argument
198 tid = PackCmdHdr(pdubuf, NET_CMD_ID_GETINFO_EX, mac, password);
206 int UnpackGetInfoCurrentAP(char *pdubuf, DWORD tid, char *mac, PKT_GET_INFO_AP *curAP) argument
211 err = UnpackResHdr(pdubuf, NET_CMD_ID_GETINFO_EX, tid, mac);
226 int PackSetInfoCurrentAP(char *pdubuf, char *mac, char *password, PKT_GET_INFO_AP *curAP) argument
231 tid = PackCmdHdr(pdubuf, NET_CMD_ID_SETINFO, mac, passwor
239 UnpackSetInfoCurrentAP(char *pdubuf, DWORD tid, char *mac) argument
249 PackGetInfoCurrentSTA(char *pdubuf, char *mac, char *password) argument
261 UnpackGetInfoCurrentSTA(char *pdubuf, DWORD tid, char *mac, PKT_GET_INFO_STA *curSTA) argument
281 PackSetInfoCurrentSTA(char *pdubuf, char *mac, char *password, PKT_GET_INFO_STA *curSTA) argument
294 UnpackSetInfoCurrentSTA(char *pdubuf, DWORD tid, char *mac) argument
303 PackGetInfoSites(char *pdubuf, char *mac, char *password) argument
312 UnpackGetInfoSites(char *pdubuf, DWORD tid, char *mac, PKT_GET_INFO_SITES *sites) argument
327 PackGetInfoProfiles(char *pdubuf, char *mac, char *password, int start, int count) argument
339 UnpackGetInfoProfiles(char *pdubuf, DWORD tid, char *mac, PKT_GET_INFO_PROFILE *profile) argument
351 PackSetInfoProfiles(char *pdubuf, char *mac, char *password, PKT_GET_INFO_PROFILE *profile) argument
361 UnpackSetInfoProfiles(char *pdubuf, DWORD tid, char *mac) argument
370 PackCheckPassword(char *pdubuf, char *mac, char *password) argument
382 UnpackCheckPassword(char *pdubuf, DWORD tid, char *mac) argument
392 PackSysCmd(char *pdubuf, char *mac, char *password, PKT_SYSCMD *cmd) argument
402 UnpackSysCmdRes(char *pdubuf, DWORD tid, char *mac, PKT_SYSCMD_RES *sysres) argument
416 PackSetPubKey(char *pdubuf, char *mac, char *password, PKT_SET_INFO_GW_QUICK_KEY *key) argument
425 UnpackSetPubKeyRes(char *pdubuf, DWORD tid, char *mac, PKT_SET_INFO_GW_QUICK_KEY *key) argument
479 PackEZProbe(char *pdubuf, char *mac, char *password, char *key, int klen) argument
495 UnpackEZProbeRes(char *pdubuf, DWORD tid, char *mac, PKT_EZPROBE_INFO *info, char *key, int klen) argument
515 PackSetInfoGWQuick(char *pdubuf, char *mac, char *password, PKT_SET_INFO_GW_QUICK *setting, char *key, int klen) argument
532 UnpackSetInfoGWQuickRes(char *pdubuf, DWORD tid, char *mac, PKT_SET_INFO_GW_QUICK *setting, char *key, int klen) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A Dlibip6t_mac.c21 " --mac-source [!] XX:XX:XX:XX:XX:XX\n"
27 { "mac-source", 1, 0, '1' },
40 parse_mac(const char *mac, struct ip6t_mac_info *info) argument
44 if (strlen(mac) != ETH_ALEN*3-1)
45 exit_error(PARAMETER_PROBLEM, "Bad mac address `%s'", mac);
51 number = strtol(mac + i*3, &end, 16);
53 if (end == mac + i*3 + 2
59 "Bad mac address `%s'", mac);
127 struct ip6tables_match mac variable in typeref:struct:ip6tables_match
[all...]
H A Dlibipt_mac.c21 " --mac-source [!] XX:XX:XX:XX:XX:XX\n"
27 { "mac-source", 1, 0, '1' },
40 parse_mac(const char *mac, struct ipt_mac_info *info) argument
44 if (strlen(mac) != ETH_ALEN*3-1)
45 exit_error(PARAMETER_PROBLEM, "Bad mac address `%s'", mac);
51 number = strtol(mac + i*3, &end, 16);
53 if (end == mac + i*3 + 2
59 "Bad mac address `%s'", mac);
127 struct iptables_match mac variable in typeref:struct:iptables_match
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/netfilter/
H A Dip6t_eui64.c23 if ( !(skb->mac.raw >= skb->head
24 && (skb->mac.raw + ETH_HLEN) <= skb->data)
32 if (skb->mac.ethernet->h_proto == ntohs(ETH_P_IPV6)) {
34 memcpy(eui64, skb->mac.ethernet->h_source, 3);
35 memcpy(eui64 + 5, skb->mac.ethernet->h_source + 3, 3);
H A Dip6t_mac.c21 /* Is mac pointer valid? */
22 return (skb->mac.raw >= skb->head
23 && (skb->mac.raw + ETH_HLEN) <= skb->data
25 && ((memcmp(skb->mac.ethernet->h_source, info->srcaddr, ETH_ALEN)
51 = { { NULL, NULL }, "mac", &match, &ip6t_mac_checkentry, NULL, THIS_MODULE };
/asus-wl-520gu-7.0.1.45/src/router/shared/
H A Dnvparse.h58 * bool get_wds_wsec(int unit, int which, char *mac, char *role,
61 extern bool get_wds_wsec(int unit, int which, char *mac, char *role,
63 extern bool set_wds_wsec(int unit, int which, char *mac, char *role,
/asus-wl-520gu-7.0.1.45/src/router/shared.asus/
H A Dnvparse.h59 * bool get_wds_wsec(int unit, int which, char *mac, char *role,
62 extern bool get_wds_wsec(int unit, int which, char *mac, char *role,
64 extern bool set_wds_wsec(int unit, int which, char *mac, char *role,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/mac/
H A DMakefile2 # Makefile for Linux arch/m68k/mac source directory
10 O_TARGET := mac.o
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/netfilter_ipv4/
H A Dipt_ULOG.h42 unsigned char mac[ULOG_MAC_LEN]; member in struct:ulog_packet_msg
/asus-wl-520gu-7.0.1.45/src/router/iptables/include/linux/netfilter_ipv4/
H A Dipt_ULOG.h42 unsigned char mac[ULOG_MAC_LEN]; member in struct:ulog_packet_msg
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/netfilter_ipv4/
H A Dipt_ULOG.h42 unsigned char mac[ULOG_MAC_LEN]; member in struct:ulog_packet_msg
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/
H A Drelay.h27 unsigned char mac[ETH_ALEN]; /* MAC address */ member in struct:InterfaceStruct
57 unsigned int hash(unsigned char const *mac, UINT16_t sesNum);
58 SessionHash *findSession(unsigned char const *mac, UINT16_t sesNum);
87 unsigned char const *mac,
H A Drelay.c54 unsigned char mac[18]; // MAC address of the relaying client member in struct:RelayClientStruct
246 strcpy(new_client->mac, seed);
250 if(!strcmp((*client_list)->mac, new_client->mac)){
310 fprintf(redirect_fp, "-A PREROUTING -m mac --mac-source %s -p udp --dport 53 -j ACCEPT\n", follow_client->mac);
491 i->discoverySock = openInterface(ifname, Eth_PPPOE_Discovery, i->mac);
744 * mac -- an Ethernet address
752 hash(unsigned char const *mac, UINT16_ argument
775 findSession(unsigned char const *mac, UINT16_t sesNum) argument
1583 relaySendError(unsigned char code, UINT16_t session, PPPoEInterface const *iface, unsigned char const *mac, PPPoETag const *hostUniq, char const *errMsg) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/cpu/sb1250/src/
H A Dui_phycmds.c133 int mac; local
141 mac = atoi(x);
142 if ((mac < 0) || (mac > 2)) {
145 phy.sbe_mdio = PHY_PORT(A_MAC_REGISTER(mac,R_MAC_MDIO));
165 printf("Wrote 0x%04X to phy %d register 0x%02X on mac %d\n",
166 value,phynum,reg,mac);
176 int mac; local
184 mac = atoi(x);
185 if ((mac <
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dipt_mac.c21 /* Is mac pointer valid? */
22 return (skb->mac.raw >= skb->head
23 && (skb->mac.raw + ETH_HLEN) <= skb->data
25 && ((memcmp(skb->mac.ethernet->h_source, info->srcaddr, ETH_ALEN)
51 = { { NULL, NULL }, "mac", &match, &ipt_mac_checkentry, NULL, THIS_MODULE };
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dipt_mac.c21 /* Is mac pointer valid? */
22 return (skb->mac.raw >= skb->head
23 && (skb->mac.raw + ETH_HLEN) <= skb->data
25 && ((memcmp(skb->mac.ethernet->h_source, info->srcaddr, ETH_ALEN)
51 = { { NULL, NULL }, "mac", &match, &ipt_mac_checkentry, NULL, THIS_MODULE };
/asus-wl-520gu-7.0.1.45/src/router/udhcpd/
H A Darpping.c27 * mac - our arp address
34 int arpping(u_int32_t yiaddr, u_int32_t ip, unsigned char *mac, char *interface) argument
62 memcpy(arp.ethhdr.h_source, mac, 6); /* MAC SA */
70 memcpy(arp.sHaddr, mac, 6); /* source hardware address */
91 bcmp(arp.tHaddr, mac, 6) == 0 &&
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sgi-ip32/
H A Dip32-setup.c84 char *mac=ArcGetEnvironmentVariable("eaddr"); local
85 str2eaddr(o2meth_eaddr, mac);
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/plugins/rp-pppoe/
H A Dplugin.c133 unsigned int mac[ETH_ALEN]; local
136 &ses, &mac[0], &mac[1], &mac[2],
137 &mac[3], &mac[4], &mac[5]) != 7) {
142 conn->peerEth[i] = (unsigned char) mac[i];
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/plugins/rp-pppoe/
H A Dplugin.c133 unsigned int mac[ETH_ALEN]; local
136 &ses, &mac[0], &mac[1], &mac[2],
137 &mac[3], &mac[4], &mac[5]) != 7) {
142 conn->peerEth[i] = (unsigned char) mac[i];
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/bridge/
H A Dbr_stp_bpdu.c47 skb->mac.raw = skb_put(skb, size);
48 memcpy(skb->mac.raw, bridge_ula, ETH_ALEN);
49 memcpy(skb->mac.raw+ETH_ALEN, dev->dev_addr, ETH_ALEN);
50 skb->mac.raw[2*ETH_ALEN] = 0;
51 skb->mac.raw[2*ETH_ALEN+1] = length;
52 skb->nh.raw = skb->mac.raw + 2*ETH_ALEN + 2;
141 buf = skb->mac.raw + 14;
H A Dbr_input.c57 dest = skb->mac.ethernet->h_dest;
121 dest = skb->mac.ethernet->h_dest;
136 if (skb->mac.ethernet->h_source[0] & 1)
141 br_fdb_insert(br, p, skb->mac.ethernet->h_source, 0);
/asus-wl-520gu-7.0.1.45/src/router/netconf/
H A Dmain.c96 if (!ETHER_ISNULLADDR(fw->match.mac.octet)) {
97 printf(" mac %s%02X:%02X:%02X:%02X:%02X:%02X",
99 fw->match.mac.octet[0] & 0xff,
100 fw->match.mac.octet[1] & 0xff,
101 fw->match.mac.octet[2] & 0xff,
102 fw->match.mac.octet[3] & 0xff,
103 fw->match.mac.octet[4] & 0xff,
104 fw->match.mac.octet[5] & 0xff);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/partitions/
H A DMakefile19 obj-$(CONFIG_MAC_PARTITION) += mac.o

Completed in 138 milliseconds

123456789