Searched refs:haddr (Results 1 – 10 of 10) sorted by relevance
/net/bluetooth/ |
D | hci_sock.c | 755 struct sockaddr_hci haddr; in hci_sock_bind() local 765 memset(&haddr, 0, sizeof(haddr)); in hci_sock_bind() 766 len = min_t(unsigned int, sizeof(haddr), addr_len); in hci_sock_bind() 767 memcpy(&haddr, addr, len); in hci_sock_bind() 769 if (haddr.hci_family != AF_BLUETOOTH) in hci_sock_bind() 791 switch (haddr.hci_channel) { in hci_sock_bind() 798 if (haddr.hci_dev != HCI_DEV_NONE) { in hci_sock_bind() 799 hdev = hci_dev_get(haddr.hci_dev); in hci_sock_bind() 817 if (haddr.hci_dev == HCI_DEV_NONE) { in hci_sock_bind() 827 hdev = hci_dev_get(haddr.hci_dev); in hci_sock_bind() [all …]
|
/net/ethernet/ |
D | eth.c | 208 int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr) in eth_header_parse() argument 211 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse() 258 const unsigned char *haddr) in eth_header_cache_update() argument 261 haddr, ETH_ALEN); in eth_header_cache_update()
|
/net/sched/ |
D | sch_teql.c | 245 char haddr[MAX_ADDR_LEN]; in __teql_resolve() local 247 neigh_ha_snapshot(haddr, n, dev); in __teql_resolve() 249 haddr, NULL, skb->len); in __teql_resolve()
|
/net/ipv4/ |
D | arp.c | 188 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir) in arp_mc_map() argument 194 ip_eth_mc_map(addr, haddr); in arp_mc_map() 197 ip_ib_mc_map(addr, dev->broadcast, haddr); in arp_mc_map() 200 ip_ipgre_mc_map(addr, dev->broadcast, haddr); in arp_mc_map() 204 memcpy(haddr, dev->broadcast, dev->addr_len); in arp_mc_map()
|
D | devinet.c | 918 __u32 haddr = ntohl(addr); in inet_abc_len() local 920 if (IN_CLASSA(haddr)) in inet_abc_len() 922 else if (IN_CLASSB(haddr)) in inet_abc_len() 924 else if (IN_CLASSC(haddr)) in inet_abc_len()
|
D | ip_gre.c | 763 static int ipgre_header_parse(const struct sk_buff *skb, unsigned char *haddr) in ipgre_header_parse() argument 766 memcpy(haddr, &iph->saddr, 4); in ipgre_header_parse()
|
/net/ieee802154/ |
D | socket.c | 497 struct ieee802154_addr haddr; in dgram_bind() local 512 ieee802154_addr_from_sa(&haddr, &addr->addr); in dgram_bind() 513 dev = ieee802154_get_dev(sock_net(sk), &haddr); in dgram_bind() 524 ro->src_addr = haddr; in dgram_bind()
|
/net/phonet/ |
D | af_phonet.c | 145 static int pn_header_parse(const struct sk_buff *skb, unsigned char *haddr) in pn_header_parse() argument 148 *haddr = *media; in pn_header_parse()
|
/net/mac802154/ |
D | iface.c | 488 mac802154_header_parse(const struct sk_buff *skb, unsigned char *haddr) in mac802154_header_parse() argument 498 ieee802154_le64_to_be64(haddr, &hdr.source.extended_addr); in mac802154_header_parse()
|
/net/core/ |
D | neighbour.c | 2200 char haddr[MAX_ADDR_LEN]; in neigh_fill_info() local 2202 neigh_ha_snapshot(haddr, neigh, neigh->dev); in neigh_fill_info() 2203 if (nla_put(skb, NDA_LLADDR, neigh->dev->addr_len, haddr) < 0) { in neigh_fill_info()
|