/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/ |
H A D | arpping.c | 27 * mac - our arp address
42 struct arpMsg arp;
local 59 /* send arp request */
60 memset(&arp, 0, sizeof(arp));
61 memcpy(arp.ethhdr.h_dest, MAC_BCAST_ADDR, 6); /* MAC DA */
62 memcpy(arp.ethhdr.h_source, mac, 6); /* MAC SA */
63 arp.ethhdr.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
64 arp.htype = htons(ARPHRD_ETHER); /* hardware type */
65 arp [all...] |
H A D | socket.h | 5 int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp);
|
H A D | dhcpc.h | 28 unsigned char arp[6]; /* Our arp address */
member in struct:client_config_t
|
H A D | socket.c | 46 int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp) argument 77 memcpy(arp, ifr.ifr_hwaddr.sa_data, 6); 79 arp[0], arp[1], arp[2], arp[3], arp[4], arp[5]);
|
H A D | arpping.h | 28 int arpping(u_int32_t yiaddr, u_int32_t ip, unsigned char *arp, char *interface);
|
H A D | dhcpd.h | 111 unsigned char arp[6]; /* Our arp address */ member in struct:server_config_t 120 unsigned long conflict_time; /* how long an arp conflict offender is leased for */
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/ |
H A D | arpping.c | 44 struct arpMsg arp; local 60 /* send arp request */ 61 memset(&arp, 0, sizeof(arp)); 62 memset(arp.h_dest, 0xff, 6); /* MAC DA */ 63 memcpy(arp.h_source, from_mac, 6); /* MAC SA */ 64 arp.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */ 65 arp.htype = htons(ARPHRD_ETHER); /* hardware type */ 66 arp.ptype = htons(ETH_P_IP); /* protocol type (ARP message) */ 67 arp [all...] |
H A D | socket.c | 41 int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) argument 73 if (arp) { 78 memcpy(arp, ifr.ifr_hwaddr.sa_data, 6); 80 arp[0], arp[1], arp[2], arp[3], arp[4], arp[5]);
|
H A D | dhcpc.h | 33 uint8_t arp[6]; /* Our arp address */ member in struct:client_config_t
|
H A D | common.h | 85 int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp);
|
H A D | dhcpd.h | 36 uint8_t arp[6]; /* Our arp address */ member in struct:server_config_t 45 uint32_t conflict_time; /* how long an arp conflict offender is leased for */
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/ |
H A D | zcip.c | 43 struct ether_arp arp; member in struct:arp_packet 92 static void arp(int fd, struct sockaddr *saddr, int op, function 104 // arp request 105 p.arp.arp_hrd = htons(ARPHRD_ETHER); 106 p.arp.arp_pro = htons(ETHERTYPE_IP); 107 p.arp.arp_hln = ETH_ALEN; 108 p.arp.arp_pln = 4; 109 p.arp.arp_op = htons(op); 110 memcpy(&p.arp.arp_sha, source_addr, ETH_ALEN); 111 memcpy(&p.arp [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/netfilter/ |
H A D | arpt_mangle.c | 1 /* module that allows mangling of the arp payload */ 8 MODULE_DESCRIPTION("arptables arp payload mangle target"); 17 struct arphdr *arp; local 33 arp = arp_hdr(*pskb); 34 arpptr = skb_network_header(*pskb) + sizeof(*arp); 35 pln = arp->ar_pln; 36 hln = arp->ar_hln;
|
H A D | arp_tables.c | 184 static inline int arp_checkentry(const struct arpt_arp *arp) argument 186 if (arp->flags & ~ARPT_F_MASK) { 188 arp->flags & ~ARPT_F_MASK); 191 if (arp->invflags & ~ARPT_INV_MASK) { 193 arp->invflags & ~ARPT_INV_MASK); 226 struct arphdr *arp; local 248 arp = arp_hdr(*pskb); 250 if (arp_packet_match(arp, (*pskb)->dev, indev, outdev, &e->arp)) { 254 hdr_len = sizeof(*arp) 321 unconditional(const struct arpt_arp *arp) argument [all...] |
H A D | ipt_CLUSTERIP.c | 515 struct arphdr *arp = arp_hdr(*pskb); local 520 if (arp->ar_hrd != htons(ARPHRD_ETHER) 521 || arp->ar_pro != htons(ETH_P_IP) 522 || arp->ar_pln != 4 || arp->ar_hln != ETH_ALEN) 525 /* we only want to mangle arp requests and replies */ 526 if (arp->ar_op != htons(ARPOP_REPLY) 527 && arp->ar_op != htons(ARPOP_REQUEST)) 530 payload = (void *)(arp+1); 532 /* if there is no clusterip configuration for the arp repl [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/ |
H A D | getifaddr.c | 150 FILE * arp; local 155 arp = fopen("/proc/net/arp", "r"); 156 if( !arp ) 158 while( !feof(arp) ) 160 matches = fscanf(arp, "%s 0x%X 0x%X %hhx:%hhx:%hhx:%hhx:%hhx:%hhx", 170 fclose(arp);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.07.26/ |
H A D | getifaddr.c | 150 FILE * arp; local 155 arp = fopen("/proc/net/arp", "r"); 156 if( !arp ) 158 while( !feof(arp) ) 160 matches = fscanf(arp, "%s 0x%X 0x%X %hhx:%hhx:%hhx:%hhx:%hhx:%hhx", 170 fclose(arp);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | arp.c | 1 /* linux/net/ipv4/arp.c 3 * Version: $Id: arp.c,v 1.1.1.1 2007/08/03 18:53:51 Exp $ 46 * eg intelligent arp probing and 57 * Stuart Cheshire : Metricom and grat arp fixes 66 * Alexey Kuznetsov: new arp state machine; 69 * Arnaldo C. Melo : convert /proc/net/arp to seq_file 112 #include <net/arp.h> 447 * Find an arp mapping in the cache. If not found, post a request. 459 printk(KERN_DEBUG "ARP: arp called for own IP address\n"); 563 * Create an arp packe 572 struct arphdr *arp; local 722 struct arphdr *arp; local 967 struct arphdr *arp; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/kernel/ |
H A D | s390_ksyms.c | 18 #include <net/arp.h>
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna.03.14/ |
H A D | getifaddr.c | 211 FILE * arp; local 216 arp = fopen("/proc/net/arp", "r"); 217 if( !arp ) 219 while( !feof(arp) ) 221 matches = fscanf(arp, "%15s 0x%8X 0x%8X %2hhx:%2hhx:%2hhx:%2hhx:%2hhx:%2hhx", 231 fclose(arp);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/bonding/ |
H A D | bond_alb.c | 40 #include <net/arp.h> 319 static void rlb_update_entry_from_arp(struct bonding *bond, struct arp_pkt *arp) argument 327 hash_index = _simple_hash((u8*)&(arp->ip_src), sizeof(arp->ip_src)); 331 (client_info->ip_src == arp->ip_dst) && 332 (client_info->ip_dst == arp->ip_src)) { 334 memcpy(client_info->mac_dst, arp->mac_src, ETH_ALEN); 345 struct arp_pkt *arp = (struct arp_pkt *)skb->data; local 351 if (!arp) { 361 if (arp 621 struct arp_pkt *arp = arp_pkt(skb); local 709 struct arp_pkt *arp = arp_pkt(skb); local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zeroconf-0.9/ |
H A D | zeroconf.c | 81 struct arphdr arp; member in struct:arp_packet 361 /* arp packet */ 364 fprintf(stderr, "arp event\n"); 412 (ntohs(pkt->arp.ar_hrd) != ARPHRD_ETHER) && 413 (ntohs(pkt->arp.ar_pro) != ARP_IP_PROTO) && 415 (ntohs(pkt->arp.ar_op) != ARPOP_REQUEST) || 416 (ntohs(pkt->arp.ar_op) != ARPOP_REPLY) 1550 fprintf(stderr, "arp socket failed: %s\n", strerror(errno)); 1559 fprintf(stderr, "arp bind failed: %s\n", strerror(errno)); 1573 ntohs(pkt->arp [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/ |
H A D | netpoll.c | 344 struct arphdr *arp; local 357 /* No arp on this interface */ 368 arp = arp_hdr(skb); 370 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && 371 arp->ar_hrd != htons(ARPHRD_IEEE802)) || 372 arp->ar_pro != htons(ETH_P_IP) || 373 arp->ar_op != htons(ARPOP_REQUEST)) 376 arp_ptr = (unsigned char *)(arp+1); 386 /* Should we ignore arp? */ 398 arp [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/ |
H A D | ebt_arpreply.c | 15 #include <net/arp.h>
|
H A D | ebt_snat.c | 16 #include <net/arp.h>
|