Home
last modified time | relevance | path

Searched refs:haddr (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/net/ethernet/
Deth.c209 int eth_header_parse(struct sk_buff *skb, unsigned char *haddr) in eth_header_parse() argument
212 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse()
239 void eth_header_cache_update(struct hh_cache *hh, struct net_device *dev, unsigned char * haddr) in eth_header_cache_update() argument
242 haddr, dev->addr_len); in eth_header_cache_update()
/linux-2.4.37.9/net/bluetooth/
Dhci_sock.c260 struct sockaddr_hci *haddr = (struct sockaddr_hci *) addr; in hci_sock_bind() local
267 if (!haddr || haddr->hci_family != AF_BLUETOOTH) in hci_sock_bind()
277 if (haddr->hci_dev != HCI_DEV_NONE) { in hci_sock_bind()
278 if (!(hdev = hci_dev_get(haddr->hci_dev))) { in hci_sock_bind()
296 struct sockaddr_hci *haddr = (struct sockaddr_hci *) addr; in hci_sock_getname() local
303 *addr_len = sizeof(*haddr); in hci_sock_getname()
304 haddr->hci_family = AF_BLUETOOTH; in hci_sock_getname()
305 haddr->hci_dev = hci_pi(sk)->hdev->id; in hci_sock_getname()
/linux-2.4.37.9/include/linux/
Dhippidevice.h48 unsigned char * haddr);
49 extern int hippi_header_parse(struct sk_buff *skb, unsigned char *haddr);
Detherdevice.h36 unsigned char * haddr);
40 unsigned char *haddr);
Dif_shaper.h39 void (*header_cache_update)(struct hh_cache *hh, struct net_device *dev, unsigned char * haddr);
Dnetdevice.h421 unsigned char * haddr);
436 unsigned char *haddr);
/linux-2.4.37.9/include/net/
Darp.h15 extern int arp_find(unsigned char *haddr, struct sk_buff *skb);
21 extern int arp_mc_map(u32 addr, u8 *haddr, struct net_device *dev, int dir);
/linux-2.4.37.9/arch/parisc/kernel/
Dsignal.c269 unsigned long rp, usp, haddr; in setup_rt_frame() local
332 haddr = (HACK) ka->sa.sa_handler; in setup_rt_frame()
334 if (haddr & 2) { in setup_rt_frame()
338 plabel = (HACK *) (haddr & ~3); in setup_rt_frame()
339 err |= __get_user(haddr, plabel); in setup_rt_frame()
349 regs->gr[31] = (HACK) haddr; in setup_rt_frame()
352 regs->iaoq[0] = (HACK) haddr | 3; in setup_rt_frame()
/linux-2.4.37.9/net/ipv4/
Darp.c202 int arp_mc_map(u32 addr, u8 *haddr, struct net_device *dev, int dir) in arp_mc_map() argument
208 ip_eth_mc_map(addr, haddr); in arp_mc_map()
211 ip_tr_mc_map(addr, haddr); in arp_mc_map()
215 memcpy(haddr, dev->broadcast, dev->addr_len); in arp_mc_map()
437 static int arp_set_predefined(int addr_hint, unsigned char * haddr, u32 paddr, struct net_device * … in arp_set_predefined() argument
442 memcpy(haddr, dev->dev_addr, dev->addr_len); in arp_set_predefined()
445 arp_mc_map(paddr, haddr, dev, 1); in arp_set_predefined()
448 memcpy(haddr, dev->broadcast, dev->addr_len); in arp_set_predefined()
455 int arp_find(unsigned char *haddr, struct sk_buff *skb) in arp_find() argument
469 if (arp_set_predefined(inet_addr_type(paddr), haddr, paddr, dev)) in arp_find()
[all …]
/linux-2.4.37.9/drivers/net/
Dstrip.c505 static int arp_query(unsigned char *haddr, u32 paddr, struct net_device * dev) in arp_query() argument
516 memcpy(haddr, neighbor_entry->ha, dev->addr_len); in arp_query()
1405 MetricomAddress haddr = header->dst_addr; in strip_make_packet() local
1431 if (!memcmp(haddr.c, strip_info->true_dev_addr.c, sizeof(haddr))) in strip_make_packet()
1441 if (haddr.c[0] == 0xFF) in strip_make_packet()
1454 if (!arp_query(haddr.c, brd, &strip_info->dev)) in strip_make_packet()
1464 if (!memcmp(haddr.c, strip_info->true_dev_addr.c, sizeof(haddr))) return(NULL); in strip_make_packet()
1469 *ptr++ = hextable[haddr.c[2] >> 4]; in strip_make_packet()
1470 *ptr++ = hextable[haddr.c[2] & 0xF]; in strip_make_packet()
1471 *ptr++ = hextable[haddr.c[3] >> 4]; in strip_make_packet()
[all …]
Dshaper.c485 unsigned char *haddr)
490 sh->header_cache_update(hh, sh->dev, haddr);
Dmyri_sbus.c791 void myri_header_cache_update(struct hh_cache *hh, struct net_device *dev, unsigned char * haddr) in myri_header_cache_update() argument
794 haddr, dev->addr_len); in myri_header_cache_update()
/linux-2.4.37.9/drivers/net/sk98lin/
Dskge.c5207 int haddr, addr; local
5213 haddr = 0;
5223 hex_buffer[haddr] = HEXCHAR[(*p & 0xf0) >> 4];
5224 haddr++;
5225 hex_buffer[haddr] = HEXCHAR[*p & 0x0f];
5226 haddr++;
5227 hex_buffer[haddr] = ' ';
5228 haddr++;
5229 hex_buffer[haddr] = 0;
5235 haddr = 0;
[all …]
/linux-2.4.37.9/drivers/ieee1394/
Deth1394.c171 static int ether1394_header_parse(struct sk_buff *skb, unsigned char *haddr);
175 unsigned char * haddr);
606 static int ether1394_header_parse(struct sk_buff *skb, unsigned char *haddr) in ether1394_header_parse() argument
609 memcpy(haddr, dev->dev_addr, ETH1394_ALEN); in ether1394_header_parse()
634 unsigned char * haddr) in ether1394_header_cache_update() argument
636 memcpy(((u8*)hh->hh_data) + 6, haddr, dev->addr_len); in ether1394_header_cache_update()
/linux-2.4.37.9/drivers/atm/
Dfore200e.h208 u32 haddr : 27 /* tpd DMA addr aligned on 32 byte boundary */
Dfore200e.c1892 …tpd_haddr.haddr = entry->tpd_dma >> TPD_HADDR_SHIFT; /* shift the address, as we are in a… in fore200e_send()
/linux-2.4.37.9/drivers/net/wireless/
Dairo.c2103 int wll_header_parse(struct sk_buff *skb, unsigned char *haddr) in wll_header_parse() argument
2105 memcpy(haddr, skb->mac.raw + 10, ETH_ALEN); in wll_header_parse()
/linux-2.4.37.9/drivers/s390/net/
Dqeth.c7790 unsigned char *haddr) in qeth_header_cache_update() argument
7796 return card->header_cache_update(hh,dev,haddr); in qeth_header_cache_update()