addr_len 35 arch/um/drivers/slip_kern.c dev->addr_len = 0; addr_len 37 arch/um/drivers/slirp_kern.c dev->addr_len = 0; addr_len 150 crypto/af_alg.c static int alg_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 163 crypto/af_alg.c if (addr_len < sizeof(*sa)) addr_len 171 crypto/af_alg.c sa->salg_name[sizeof(sa->salg_name) + addr_len - sizeof(*sa) - 1] = 0; addr_len 149 drivers/char/ipmi/ipmi_devintf.c if (req->addr_len > sizeof(struct ipmi_addr)) addr_len 152 drivers/char/ipmi/ipmi_devintf.c if (copy_from_user(&addr, req->addr, req->addr_len)) addr_len 165 drivers/char/ipmi/ipmi_devintf.c rv = ipmi_validate_addr(&addr, req->addr_len); addr_len 203 drivers/char/ipmi/ipmi_devintf.c int addr_len; addr_len 231 drivers/char/ipmi/ipmi_devintf.c addr_len = ipmi_addr_length(msg->addr.addr_type); addr_len 232 drivers/char/ipmi/ipmi_devintf.c if (rsp->addr_len < addr_len) { addr_len 237 drivers/char/ipmi/ipmi_devintf.c if (copy_to_user(rsp->addr, &msg->addr, addr_len)) { addr_len 241 drivers/char/ipmi/ipmi_devintf.c rsp->addr_len = addr_len; addr_len 641 drivers/char/ipmi/ipmi_devintf.c compat_uint_t addr_len; addr_len 649 drivers/char/ipmi/ipmi_devintf.c compat_uint_t addr_len; addr_len 676 drivers/char/ipmi/ipmi_devintf.c p64->addr_len = p32->addr_len; addr_len 695 drivers/char/ipmi/ipmi_devintf.c p64->addr_len = p32->addr_len; addr_len 706 drivers/char/ipmi/ipmi_devintf.c v32.addr_len = p64->addr_len; addr_len 476 drivers/crypto/chelsio/chtls/chtls.h size_t len, int nonblock, int flags, int *addr_len); addr_len 1398 drivers/crypto/chelsio/chtls/chtls_io.c int nonblock, int flags, int *addr_len) addr_len 1685 drivers/crypto/chelsio/chtls/chtls_io.c int nonblock, int flags, int *addr_len) addr_len 1699 drivers/crypto/chelsio/chtls/chtls_io.c addr_len); addr_len 1714 drivers/crypto/chelsio/chtls/chtls_io.c flags, addr_len); addr_len 227 drivers/firewire/net.c memset(h->h_dest, 0, net->addr_len); addr_len 233 drivers/firewire/net.c memcpy(h->h_dest, daddr, net->addr_len); addr_len 252 drivers/firewire/net.c memcpy(h->h_dest, neigh->ha, net->addr_len); addr_len 266 drivers/firewire/net.c memcpy((u8 *)hh->hh_data + HH_DATA_OFF(FWNET_HLEN), haddr, net->addr_len); addr_len 528 drivers/firewire/net.c net->addr_len) == 0) addr_len 535 drivers/firewire/net.c if (memcmp(eth->h_dest, net->dev_addr, net->addr_len)) addr_len 1391 drivers/firewire/net.c net->addr_len = FWNET_ALEN; addr_len 1505 drivers/firewire/net.c memset(net->broadcast, -1, net->addr_len); addr_len 1065 drivers/hsi/clients/ssi_protocol.c dev->addr_len = 1; addr_len 4514 drivers/infiniband/core/cma.c memcmp(dev_addr->src_dev_addr, ndev->dev_addr, ndev->addr_len)) { addr_len 2009 drivers/infiniband/ulp/ipoib/ipoib_main.c memcpy(ivf->mac, dev->dev_addr, dev->addr_len); addr_len 2082 drivers/infiniband/ulp/ipoib/ipoib_main.c dev->addr_len = INFINIBAND_ALEN; addr_len 465 drivers/isdn/mISDN/socket.c data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) addr_len 474 drivers/isdn/mISDN/socket.c if (addr_len != sizeof(struct sockaddr_mISDN)) addr_len 699 drivers/isdn/mISDN/socket.c base_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) addr_len 705 drivers/isdn/mISDN/socket.c if (addr_len < sizeof(struct sockaddr_mISDN)) addr_len 1274 drivers/media/dvb-core/dvb_net.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1368 drivers/media/dvb-core/dvb_net.c net->addr_len = 6; addr_len 34 drivers/media/usb/dvb-usb-v2/af9015.c state->buf[6] = req->addr_len; addr_len 120 drivers/media/usb/dvb-usb-v2/af9015.c req.addr_len = 3; addr_len 133 drivers/media/usb/dvb-usb-v2/af9015.c req.addr_len = 3; addr_len 146 drivers/media/usb/dvb-usb-v2/af9015.c u8 mbox, addr_len; addr_len 176 drivers/media/usb/dvb-usb-v2/af9015.c addr_len = 0; addr_len 180 drivers/media/usb/dvb-usb-v2/af9015.c addr_len = 1; addr_len 184 drivers/media/usb/dvb-usb-v2/af9015.c addr_len = 2; addr_len 188 drivers/media/usb/dvb-usb-v2/af9015.c addr_len = 3; addr_len 204 drivers/media/usb/dvb-usb-v2/af9015.c req.addr_len = addr_len; addr_len 205 drivers/media/usb/dvb-usb-v2/af9015.c req.data_len = msg[0].len - addr_len; addr_len 206 drivers/media/usb/dvb-usb-v2/af9015.c req.data = &msg[0].buf[addr_len]; addr_len 222 drivers/media/usb/dvb-usb-v2/af9015.c req.addr_len = addr_len; addr_len 240 drivers/media/usb/dvb-usb-v2/af9015.c req.addr_len = addr_len; addr_len 64 drivers/media/usb/dvb-usb-v2/af9015.h u8 addr_len; /* [6] */ addr_len 1355 drivers/message/fusion/mptlan.c dev->addr_len = FC_ALEN; addr_len 947 drivers/net/appletalk/cops.c dev->addr_len = 1; addr_len 847 drivers/net/appletalk/ltpc.c dev->addr_len=1; addr_len 376 drivers/net/arcnet/arcnet.c dev->addr_len = ARCNET_ALEN; addr_len 670 drivers/net/bonding/bond_alb.c tx_slave->dev->addr_len); addr_len 1036 drivers/net/bonding/bond_alb.c slave1->dev->addr_len); addr_len 1038 drivers/net/bonding/bond_alb.c slave2->dev->addr_len); addr_len 1040 drivers/net/bonding/bond_alb.c slave1->dev->addr_len); addr_len 1168 drivers/net/bonding/bond_alb.c bond->dev->addr_len); addr_len 1194 drivers/net/bonding/bond_alb.c free_mac_slave->dev->addr_len); addr_len 1235 drivers/net/bonding/bond_alb.c slave->dev->addr_len); addr_len 1241 drivers/net/bonding/bond_alb.c slave->dev->addr_len); addr_len 1250 drivers/net/bonding/bond_alb.c memcpy(ss.__data, bond->dev->dev_addr, bond->dev->addr_len); addr_len 1258 drivers/net/bonding/bond_alb.c rollback_slave->dev->addr_len); addr_len 1262 drivers/net/bonding/bond_alb.c rollback_slave->dev->addr_len); addr_len 1615 drivers/net/bonding/bond_alb.c slave->dev->addr_len); addr_len 1733 drivers/net/bonding/bond_alb.c new_slave->dev->addr_len); addr_len 1736 drivers/net/bonding/bond_alb.c bond->dev->addr_len); addr_len 1743 drivers/net/bonding/bond_alb.c new_slave->dev->addr_len); addr_len 1754 drivers/net/bonding/bond_alb.c bond->dev->addr_len); addr_len 1776 drivers/net/bonding/bond_alb.c bond_hw_addr_copy(bond_dev->dev_addr, ss->__data, bond_dev->addr_len); addr_len 1793 drivers/net/bonding/bond_alb.c bond_dev->addr_len); addr_len 617 drivers/net/bonding/bond_main.c bond_dev, slave_dev, slave_dev->addr_len); addr_len 622 drivers/net/bonding/bond_main.c memcpy(bond_dev->dev_addr, slave_dev->dev_addr, slave_dev->addr_len); addr_len 681 drivers/net/bonding/bond_main.c new_active->dev->addr_len); addr_len 684 drivers/net/bonding/bond_main.c old_active->dev->addr_len); addr_len 688 drivers/net/bonding/bond_main.c bond->dev->addr_len); addr_len 704 drivers/net/bonding/bond_main.c new_active->dev->addr_len); addr_len 1151 drivers/net/bonding/bond_main.c bond_dev->addr_len = slave_dev->addr_len; addr_len 1154 drivers/net/bonding/bond_main.c slave_dev->addr_len); addr_len 1230 drivers/net/bonding/bond_main.c bond->dev->addr_len); addr_len 1536 drivers/net/bonding/bond_main.c slave_dev->addr_len); addr_len 1543 drivers/net/bonding/bond_main.c memcpy(ss.__data, bond_dev->dev_addr, bond_dev->addr_len); addr_len 1830 drivers/net/bonding/bond_main.c new_slave->dev->addr_len); addr_len 2006 drivers/net/bonding/bond_main.c slave->dev->addr_len); addr_len 2568 drivers/net/bonding/bond_main.c if (arp->ar_hln != bond->dev->addr_len || addr_len 2577 drivers/net/bonding/bond_main.c arp_ptr += bond->dev->addr_len; addr_len 2579 drivers/net/bonding/bond_main.c arp_ptr += 4 + bond->dev->addr_len; addr_len 3810 drivers/net/bonding/bond_main.c memcpy(bond_dev->dev_addr, ss->__data, bond_dev->addr_len); addr_len 3814 drivers/net/bonding/bond_main.c memcpy(tmp_ss.__data, bond_dev->dev_addr, bond_dev->addr_len); addr_len 49 drivers/net/bonding/bond_netlink.c slave_dev->addr_len, slave->perm_hwaddr)) addr_len 190 drivers/net/bonding/bond_procfs.c slave->dev->addr_len, slave->perm_hwaddr); addr_len 55 drivers/net/bonding/bond_sysfs_slave.c slave->dev->addr_len, addr_len 631 drivers/net/can/dev.c dev->addr_len = 0; addr_len 448 drivers/net/can/slcan.c dev->addr_len = 0; addr_len 153 drivers/net/can/vcan.c dev->addr_len = 0; addr_len 145 drivers/net/can/vxcan.c dev->addr_len = 0; addr_len 378 drivers/net/ethernet/8390/ne2k-pci.c memcpy(dev->dev_addr, SA_prom, dev->addr_len); addr_len 1028 drivers/net/ethernet/aeroflex/greth.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 2726 drivers/net/ethernet/alteon/acenic.c memcpy(dev->dev_addr, addr->sa_data,dev->addr_len); addr_len 3590 drivers/net/ethernet/amazon/ena/ena_netdev.c memcpy(adapter->netdev->perm_addr, adapter->mac_addr, netdev->addr_len); addr_len 1505 drivers/net/ethernet/amd/amd8111e.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1130 drivers/net/ethernet/amd/atarilance.c memcpy( dev->dev_addr, saddr->sa_data, dev->addr_len ); addr_len 2104 drivers/net/ethernet/amd/xgbe/xgbe-drv.c memcpy(netdev->dev_addr, saddr->sa_data, netdev->addr_len); addr_len 272 drivers/net/ethernet/amd/xgbe/xgbe-main.c memcpy(netdev->dev_addr, pdata->mac_addr, netdev->addr_len); addr_len 42 drivers/net/ethernet/apm/xgene-v2/main.c memcpy(ndev->perm_addr, ndev->dev_addr, ndev->addr_len); addr_len 1737 drivers/net/ethernet/apm/xgene/xgene_enet_main.c memcpy(ndev->perm_addr, ndev->dev_addr, ndev->addr_len); addr_len 1138 drivers/net/ethernet/apple/bmac.c read_srom(struct net_device *dev, unsigned int addr, unsigned int addr_len) addr_len 1144 drivers/net/ethernet/apple/bmac.c for (i = 0; i < addr_len; i++) { addr_len 1145 drivers/net/ethernet/apple/bmac.c val = addr >> (addr_len-i-1); addr_len 777 drivers/net/ethernet/arc/emac_main.c memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); addr_len 610 drivers/net/ethernet/atheros/alx/main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 611 drivers/net/ethernet/atheros/alx/main.c memcpy(hw->mac_addr, addr->sa_data, netdev->addr_len); addr_len 1807 drivers/net/ethernet/atheros/alx/main.c memcpy(hw->perm_addr, netdev->dev_addr, netdev->addr_len); addr_len 459 drivers/net/ethernet/atheros/atl1c/atl1c_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 460 drivers/net/ethernet/atheros/atl1c/atl1c_main.c memcpy(adapter->hw.mac_addr, addr->sa_data, netdev->addr_len); addr_len 2633 drivers/net/ethernet/atheros/atl1c/atl1c_main.c memcpy(netdev->dev_addr, adapter->hw.mac_addr, netdev->addr_len); addr_len 382 drivers/net/ethernet/atheros/atl1e/atl1e_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 383 drivers/net/ethernet/atheros/atl1e/atl1e_main.c memcpy(adapter->hw.mac_addr, addr->sa_data, netdev->addr_len); addr_len 2387 drivers/net/ethernet/atheros/atl1e/atl1e_main.c memcpy(netdev->dev_addr, adapter->hw.mac_addr, netdev->addr_len); addr_len 3032 drivers/net/ethernet/atheros/atlx/atl1.c memcpy(netdev->dev_addr, adapter->hw.mac_addr, netdev->addr_len); addr_len 940 drivers/net/ethernet/atheros/atlx/atl2.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 941 drivers/net/ethernet/atheros/atlx/atl2.c memcpy(adapter->hw.mac_addr, addr->sa_data, netdev->addr_len); addr_len 1413 drivers/net/ethernet/atheros/atlx/atl2.c memcpy(netdev->dev_addr, adapter->hw.mac_addr, netdev->addr_len); addr_len 72 drivers/net/ethernet/atheros/atlx/atlx.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 73 drivers/net/ethernet/atheros/atlx/atlx.c memcpy(adapter->hw.mac_addr, addr->sa_data, netdev->addr_len); addr_len 1391 drivers/net/ethernet/broadcom/b44.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1813 drivers/net/ethernet/broadcom/bcmsysport.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 7910 drivers/net/ethernet/broadcom/bnx2.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 4335 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1971 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c memcpy(perm_addr, netdev->dev_addr, netdev->addr_len); addr_len 1975 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c memcpy(perm_addr+netdev->addr_len, bp->fip_mac, addr_len 1976 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c netdev->addr_len); addr_len 10890 drivers/net/ethernet/broadcom/bnxt/bnxt.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 9386 drivers/net/ethernet/broadcom/tg3.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1480 drivers/net/ethernet/calxeda/xgmac.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 2055 drivers/net/ethernet/cavium/liquidio/lio_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 1160 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 1619 drivers/net/ethernet/cavium/thunder/nicvf_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 849 drivers/net/ethernet/chelsio/cxgb/cxgb2.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 2583 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 2035 drivers/net/ethernet/chelsio/cxgb3/sge.c arp_ptr += dev->addr_len; addr_len 2038 drivers/net/ethernet/chelsio/cxgb3/sge.c arp_ptr += dev->addr_len; addr_len 3034 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 5496 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c dev->addr_len = 0; addr_len 105 drivers/net/ethernet/chelsio/cxgb4/l2t.c int addr_len, int ifindex) addr_len 107 drivers/net/ethernet/chelsio/cxgb4/l2t.c return addr_len == 4 ? arp_hash(d, addr, ifindex) : addr_len 426 drivers/net/ethernet/chelsio/cxgb4/l2t.c unsigned int addr_len = neigh->tbl->key_len; addr_len 429 drivers/net/ethernet/chelsio/cxgb4/l2t.c int hash = addr_hash(d, addr, addr_len, ifidx); addr_len 460 drivers/net/ethernet/chelsio/cxgb4/l2t.c memcpy(e->addr, addr, addr_len); addr_len 464 drivers/net/ethernet/chelsio/cxgb4/l2t.c e->v6 = addr_len == 16; addr_len 539 drivers/net/ethernet/chelsio/cxgb4/l2t.c unsigned int addr_len = neigh->tbl->key_len; addr_len 542 drivers/net/ethernet/chelsio/cxgb4/l2t.c int hash = addr_hash(d, addr, addr_len, ifidx); addr_len 1223 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1230 drivers/net/ethernet/cirrus/cs89x0.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1020 drivers/net/ethernet/cisco/enic/enic_main.c memcpy(netdev->dev_addr, addr, netdev->addr_len); addr_len 1757 drivers/net/ethernet/dec/tulip/de2104x.c int addr_len) addr_len 1762 drivers/net/ethernet/dec/tulip/de2104x.c int read_cmd = location | (EE_READ_CMD << addr_len); addr_len 1768 drivers/net/ethernet/dec/tulip/de2104x.c for (i = 4 + addr_len; i >= 0; i--) { addr_len 339 drivers/net/ethernet/dec/tulip/eeprom.c int tulip_read_eeprom(struct net_device *dev, int location, int addr_len) addr_len 345 drivers/net/ethernet/dec/tulip/eeprom.c int read_cmd = location | (EE_READ_CMD << addr_len); addr_len 350 drivers/net/ethernet/dec/tulip/eeprom.c if (location > (1 << addr_len) - 1) addr_len 357 drivers/net/ethernet/dec/tulip/eeprom.c for (i = 4 + addr_len; i >= 0; i--) { addr_len 485 drivers/net/ethernet/dec/tulip/tulip.h int tulip_read_eeprom(struct net_device *dev, int location, int addr_len); addr_len 258 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c memcpy(net_dev->perm_addr, mac_addr, net_dev->addr_len); addr_len 259 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c memcpy(net_dev->dev_addr, mac_addr, net_dev->addr_len); addr_len 3233 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c memcpy(net_dev->dev_addr, mac_addr, net_dev->addr_len); addr_len 3258 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c memcpy(net_dev->dev_addr, dpni_mac_addr, net_dev->addr_len); addr_len 45 drivers/net/ethernet/freescale/enetc/enetc_pf.c memcpy(ndev->dev_addr, saddr->sa_data, ndev->addr_len); addr_len 3093 drivers/net/ethernet/freescale/fec_main.c crc = ether_crc_le(ndev->addr_len, ha->addr); addr_len 3120 drivers/net/ethernet/freescale/fec_main.c memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); addr_len 115 drivers/net/ethernet/freescale/fec_mpc52xx.c memcpy(dev->dev_addr, sock->sa_data, dev->addr_len); addr_len 3372 drivers/net/ethernet/freescale/ucc_geth.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 558 drivers/net/ethernet/hisilicon/hisi_femac.c memcpy(dev->dev_addr, skaddr->sa_data, dev->addr_len); addr_len 1197 drivers/net/ethernet/hisilicon/hns/hns_enet.c memcpy(ndev->dev_addr, mac_addr->sa_data, ndev->addr_len); addr_len 1743 drivers/net/ethernet/ibm/ehea/ehea_main.c memcpy(dev->dev_addr, mac_addr->sa_data, dev->addr_len); addr_len 1016 drivers/net/ethernet/ibm/emac/core.c memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); addr_len 684 drivers/net/ethernet/intel/e100.c static void e100_eeprom_write(struct nic *nic, u16 addr_len, u16 addr, __le16 data) addr_len 691 drivers/net/ethernet/intel/e100.c cmd_addr_data[0] = op_ewen << (addr_len - 2); addr_len 692 drivers/net/ethernet/intel/e100.c cmd_addr_data[1] = (((op_write << addr_len) | addr) << 16) | addr_len 694 drivers/net/ethernet/intel/e100.c cmd_addr_data[2] = op_ewds << (addr_len - 2); addr_len 722 drivers/net/ethernet/intel/e100.c static __le16 e100_eeprom_read(struct nic *nic, u16 *addr_len, u16 addr) addr_len 729 drivers/net/ethernet/intel/e100.c cmd_addr_data = ((op_read << *addr_len) | addr) << 16; addr_len 748 drivers/net/ethernet/intel/e100.c *addr_len -= (i - 16); addr_len 765 drivers/net/ethernet/intel/e100.c u16 addr, addr_len = 8, checksum = 0; addr_len 768 drivers/net/ethernet/intel/e100.c e100_eeprom_read(nic, &addr_len, 0); addr_len 769 drivers/net/ethernet/intel/e100.c nic->eeprom_wc = 1 << addr_len; addr_len 772 drivers/net/ethernet/intel/e100.c nic->eeprom[addr] = e100_eeprom_read(nic, &addr_len, addr); addr_len 791 drivers/net/ethernet/intel/e100.c u16 addr, addr_len = 8, checksum = 0; addr_len 794 drivers/net/ethernet/intel/e100.c e100_eeprom_read(nic, &addr_len, 0); addr_len 795 drivers/net/ethernet/intel/e100.c nic->eeprom_wc = 1 << addr_len; addr_len 801 drivers/net/ethernet/intel/e100.c e100_eeprom_write(nic, addr_len, addr, nic->eeprom[addr]); addr_len 808 drivers/net/ethernet/intel/e100.c e100_eeprom_write(nic, addr_len, nic->eeprom_wc - 1, addr_len 2259 drivers/net/ethernet/intel/e100.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 1098 drivers/net/ethernet/intel/e1000/e1000_main.c memset(hw->mac_addr, 0, netdev->addr_len); addr_len 1105 drivers/net/ethernet/intel/e1000/e1000_main.c memcpy(netdev->dev_addr, hw->mac_addr, netdev->addr_len); addr_len 2206 drivers/net/ethernet/intel/e1000/e1000_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 2207 drivers/net/ethernet/intel/e1000/e1000_main.c memcpy(hw->mac_addr, addr->sa_data, netdev->addr_len); addr_len 4766 drivers/net/ethernet/intel/e1000e/netdev.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 4767 drivers/net/ethernet/intel/e1000e/netdev.c memcpy(adapter->hw.mac.addr, addr->sa_data, netdev->addr_len); addr_len 7266 drivers/net/ethernet/intel/e1000e/netdev.c memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len); addr_len 124 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c for (i = 0; i < dev->addr_len; i++) addr_len 127 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c for (j = 0; j < dev->addr_len; j++, i++) addr_len 3309 drivers/net/ethernet/intel/ice/ice_main.c memcpy(netdev->dev_addr, mac, netdev->addr_len); addr_len 3206 drivers/net/ethernet/intel/igb/igb_main.c memcpy(netdev->dev_addr, hw->mac.addr, netdev->addr_len); addr_len 4800 drivers/net/ethernet/intel/igb/igb_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 4801 drivers/net/ethernet/intel/igb/igb_main.c memcpy(hw->mac.addr, addr->sa_data, netdev->addr_len); addr_len 1527 drivers/net/ethernet/intel/igbvf/netdev.c netdev->addr_len); addr_len 1529 drivers/net/ethernet/intel/igbvf/netdev.c netdev->addr_len); addr_len 1801 drivers/net/ethernet/intel/igbvf/netdev.c memcpy(hw->mac.addr, addr->sa_data, netdev->addr_len); addr_len 1812 drivers/net/ethernet/intel/igbvf/netdev.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 2846 drivers/net/ethernet/intel/igbvf/netdev.c netdev->addr_len); addr_len 2855 drivers/net/ethernet/intel/igbvf/netdev.c netdev->addr_len); addr_len 789 drivers/net/ethernet/intel/igc/igc_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 790 drivers/net/ethernet/intel/igc/igc_main.c memcpy(hw->mac.addr, addr->sa_data, netdev->addr_len); addr_len 4249 drivers/net/ethernet/intel/igc/igc_main.c memcpy(netdev->dev_addr, hw->mac.addr, netdev->addr_len); addr_len 1037 drivers/net/ethernet/intel/ixgb/ixgb_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 2253 drivers/net/ethernet/intel/ixgb/ixgb_main.c memcpy(netdev->perm_addr, netdev->dev_addr, netdev->addr_len); addr_len 152 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c for (i = 0; i < netdev->addr_len; i++) addr_len 159 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c for (j = 0; j < netdev->addr_len; j++, i++) addr_len 8800 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 8801 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c memcpy(hw->mac.addr, addr->sa_data, netdev->addr_len); addr_len 11024 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c memcpy(netdev->dev_addr, hw->mac.perm_addr, netdev->addr_len); addr_len 2284 drivers/net/ethernet/jme.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 3353 drivers/net/ethernet/mellanox/mlx4/en_netdev.c dev->addr_len = ETH_ALEN; addr_len 871 drivers/net/ethernet/mellanox/mlxsw/spectrum.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1125 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c size_t addr_len, unsigned char prefix_len); addr_len 1167 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c size_t addr_len; addr_len 1179 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c addr_len = 4; addr_len 1188 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_lookup(fib, addrp, addr_len, addr_len 4489 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c size_t addr_len, unsigned char prefix_len) addr_len 4494 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c memcpy(key.addr, addr, addr_len); addr_len 4501 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c size_t addr_len, unsigned char prefix_len) addr_len 4511 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c memcpy(fib_node->key.addr, addr, addr_len); addr_len 4630 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c size_t addr_len, unsigned char prefix_len, addr_len 4643 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_lookup(fib, addr, addr_len, prefix_len); addr_len 4647 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_create(fib, addr, addr_len, prefix_len); addr_len 1068 drivers/net/ethernet/micrel/ks8842.c memcpy(netdev->dev_addr, mac, netdev->addr_len); addr_len 1183 drivers/net/ethernet/micrel/ks8842.c i = netdev->addr_len; addr_len 1185 drivers/net/ethernet/micrel/ks8842.c for (i = 0; i < netdev->addr_len; i++) addr_len 1189 drivers/net/ethernet/micrel/ks8842.c if (i < netdev->addr_len) addr_len 1192 drivers/net/ethernet/micrel/ks8842.c netdev->addr_len); addr_len 1195 drivers/net/ethernet/micrel/ks8842.c if (i == netdev->addr_len) { addr_len 956 drivers/net/ethernet/micrel/ks8851_mll.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 768 drivers/net/ethernet/microchip/encx24j600.c memcpy(dev->dev_addr, address->sa_data, dev->addr_len); addr_len 68 drivers/net/ethernet/moxa/moxart_ether.c memcpy(ndev->dev_addr, address->sa_data, ndev->addr_len); addr_len 5189 drivers/net/ethernet/neterion/s2io.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 7955 drivers/net/ethernet/neterion/s2io.c dev->addr_len = ETH_ALEN; addr_len 1302 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info_old.macaddr, dev->dev_addr, dev->addr_len); addr_len 1305 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(mac_info_new.macaddr, addr->sa_data, dev->addr_len); addr_len 1329 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1342 drivers/net/ethernet/neterion/vxge/vxge-main.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 3459 drivers/net/ethernet/neterion/vxge/vxge-main.c ndev->addr_len = ETH_ALEN; addr_len 2163 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c memcpy(netdev->dev_addr, skaddr->sa_data, netdev->addr_len); addr_len 2164 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c memcpy(adapter->hw.mac.addr, skaddr->sa_data, netdev->addr_len); addr_len 2583 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c memcpy(netdev->dev_addr, adapter->hw.mac.addr, netdev->addr_len); addr_len 224 drivers/net/ethernet/pasemi/pasemi_mac.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1949 drivers/net/ethernet/pensando/ionic/ionic_lif.c memcpy(addr.sa_data, ctx.comp.lif_getattr.mac, netdev->addr_len); addr_len 479 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c memcpy(adapter->mac_addr, netdev->dev_addr, netdev->addr_len); addr_len 502 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c memcpy(adapter->mac_addr, addr->sa_data, netdev->addr_len); addr_len 503 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 29 drivers/net/ethernet/qlogic/qede/qede_dcbnl.c memcpy(perm_addr, netdev->dev_addr, netdev->addr_len); addr_len 3584 drivers/net/ethernet/qlogic/qla3xxx.c memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); addr_len 789 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c memcpy(addr, netdev->perm_addr, netdev->addr_len); addr_len 309 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c memcpy(adapter->mac_addr, netdev->dev_addr, netdev->addr_len); addr_len 361 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c memcpy(adapter->mac_addr, addr->sa_data, netdev->addr_len); addr_len 362 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 1842 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c memcpy(curr_mac, mac, netdev->addr_len); addr_len 1627 drivers/net/ethernet/realtek/8139cp.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1701 drivers/net/ethernet/realtek/8139cp.c int addr_len) addr_len 1703 drivers/net/ethernet/realtek/8139cp.c int cmd = (EE_EXTEND_CMD << addr_len) | (extend_cmd << (addr_len - 2)); addr_len 1706 drivers/net/ethernet/realtek/8139cp.c eeprom_cmd(ee_addr, cmd, 3 + addr_len); addr_len 1710 drivers/net/ethernet/realtek/8139cp.c static u16 read_eeprom (void __iomem *ioaddr, int location, int addr_len) addr_len 1715 drivers/net/ethernet/realtek/8139cp.c int read_cmd = location | (EE_READ_CMD << addr_len); addr_len 1718 drivers/net/ethernet/realtek/8139cp.c eeprom_cmd(ee_addr, read_cmd, 3 + addr_len); addr_len 1736 drivers/net/ethernet/realtek/8139cp.c int addr_len) addr_len 1740 drivers/net/ethernet/realtek/8139cp.c int write_cmd = location | (EE_WRITE_CMD << addr_len); addr_len 1742 drivers/net/ethernet/realtek/8139cp.c eeprom_extend_cmd(ee_addr, EE_EWEN_ADDR, addr_len); addr_len 1745 drivers/net/ethernet/realtek/8139cp.c eeprom_cmd(ee_addr, write_cmd, 3 + addr_len); addr_len 1755 drivers/net/ethernet/realtek/8139cp.c eeprom_extend_cmd(ee_addr, EE_EWDS_ADDR, addr_len); addr_len 1774 drivers/net/ethernet/realtek/8139cp.c unsigned int addr_len; addr_len 1784 drivers/net/ethernet/realtek/8139cp.c addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6; addr_len 1787 drivers/net/ethernet/realtek/8139cp.c val = read_eeprom(cp->regs, offset, addr_len); addr_len 1793 drivers/net/ethernet/realtek/8139cp.c val = read_eeprom(cp->regs, offset, addr_len); addr_len 1800 drivers/net/ethernet/realtek/8139cp.c val = read_eeprom(cp->regs, offset, addr_len); addr_len 1812 drivers/net/ethernet/realtek/8139cp.c unsigned int addr_len; addr_len 1823 drivers/net/ethernet/realtek/8139cp.c addr_len = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 8 : 6; addr_len 1826 drivers/net/ethernet/realtek/8139cp.c val = read_eeprom(cp->regs, offset, addr_len) & 0xff; addr_len 1828 drivers/net/ethernet/realtek/8139cp.c write_eeprom(cp->regs, offset, val, addr_len); addr_len 1835 drivers/net/ethernet/realtek/8139cp.c write_eeprom(cp->regs, offset, val, addr_len); addr_len 1840 drivers/net/ethernet/realtek/8139cp.c val = read_eeprom(cp->regs, offset, addr_len) & 0xff00; addr_len 1842 drivers/net/ethernet/realtek/8139cp.c write_eeprom(cp->regs, offset, val, addr_len); addr_len 1891 drivers/net/ethernet/realtek/8139cp.c unsigned int addr_len, i, pci_using_dac; addr_len 1987 drivers/net/ethernet/realtek/8139cp.c addr_len = read_eeprom (regs, 0, 8) == 0x8129 ? 8 : 6; addr_len 1990 drivers/net/ethernet/realtek/8139cp.c cpu_to_le16(read_eeprom (regs, i + 7, addr_len)); addr_len 639 drivers/net/ethernet/realtek/8139too.c static int read_eeprom (void __iomem *ioaddr, int location, int addr_len); addr_len 948 drivers/net/ethernet/realtek/8139too.c int i, addr_len, option; addr_len 995 drivers/net/ethernet/realtek/8139too.c addr_len = read_eeprom (ioaddr, 0, 8) == 0x8129 ? 8 : 6; addr_len 998 drivers/net/ethernet/realtek/8139too.c cpu_to_le16(read_eeprom (ioaddr, i + 7, addr_len)); addr_len 1152 drivers/net/ethernet/realtek/8139too.c static int read_eeprom(void __iomem *ioaddr, int location, int addr_len) addr_len 1156 drivers/net/ethernet/realtek/8139too.c int read_cmd = location | (EE_READ_CMD << addr_len); addr_len 1163 drivers/net/ethernet/realtek/8139too.c for (i = 4 + addr_len; i >= 0; i--) { addr_len 2241 drivers/net/ethernet/realtek/8139too.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1973 drivers/net/ethernet/rocker/rocker_main.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 166 drivers/net/ethernet/seeq/sgiseeq.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 590 drivers/net/ethernet/sfc/falcon/falcon.c (addressed ? spi->addr_len : 0), addr_len 2159 drivers/net/ethernet/sfc/falcon/falcon.c spi_device->addr_len = addr_len 2162 drivers/net/ethernet/sfc/falcon/falcon.c spi_device->addr_len == 1); addr_len 201 drivers/net/ethernet/sfc/falcon/nic.h unsigned int addr_len; addr_len 421 drivers/net/ethernet/sgi/ioc3-eth.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 9230 drivers/net/ethernet/sun/niu.c if (prop_len != dev->addr_len) { addr_len 9234 drivers/net/ethernet/sun/niu.c memcpy(dev->dev_addr, mac_addr, dev->addr_len); addr_len 2437 drivers/net/ethernet/sun/sungem.c memcpy(dev->dev_addr, macaddr->sa_data, dev->addr_len); addr_len 39 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c memcpy(pdata->mac_addr, dev_addr, netdev->addr_len); addr_len 81 drivers/net/ethernet/synopsys/dwc-xlgmac-common.c memcpy(netdev->dev_addr, pdata->mac_addr, netdev->addr_len); addr_len 801 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c memcpy(netdev->dev_addr, saddr->sa_data, netdev->addr_len); addr_len 838 drivers/net/ethernet/tehuti/tehuti.c memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); addr_len 1124 drivers/net/ethernet/ti/davinci_emac.c memcpy(priv->mac_addr, sa->sa_data, ndev->addr_len); addr_len 1125 drivers/net/ethernet/ti/davinci_emac.c memcpy(ndev->dev_addr, sa->sa_data, ndev->addr_len); addr_len 1903 drivers/net/ethernet/ti/davinci_emac.c memcpy(priv->mac_addr, ndev->dev_addr, ndev->addr_len); addr_len 567 drivers/net/ethernet/toshiba/spider_net.c crc = crc32_be(~0, addr_for_crc, netdev->addr_len); addr_len 513 drivers/net/ethernet/xilinx/xilinx_emaclite.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 625 drivers/net/gtp.c dev->addr_len = 0; addr_len 319 drivers/net/hamradio/6pack.c dev->addr_len = AX25_ADDR_LEN; addr_len 716 drivers/net/hamradio/6pack.c dev->addr_len = AX25_ADDR_LEN; addr_len 794 drivers/net/hamradio/baycom_epp.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 1159 drivers/net/hamradio/baycom_epp.c dev->addr_len = AX25_ADDR_LEN; /* sizeof an ax.25 address */ addr_len 284 drivers/net/hamradio/bpqether.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 451 drivers/net/hamradio/bpqether.c dev->addr_len = AX25_ADDR_LEN; addr_len 425 drivers/net/hamradio/dmascc.c dev->addr_len = AX25_ADDR_LEN; addr_len 962 drivers/net/hamradio/dmascc.c dev->addr_len); addr_len 418 drivers/net/hamradio/hdlcdrv.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 674 drivers/net/hamradio/hdlcdrv.c dev->addr_len = AX25_ADDR_LEN; /* sizeof an ax.25 address */ addr_len 642 drivers/net/hamradio/mkiss.c dev->addr_len = AX25_ADDR_LEN; addr_len 835 drivers/net/hamradio/mkiss.c dev->addr_len = AX25_ADDR_LEN; addr_len 1573 drivers/net/hamradio/scc.c dev->addr_len = AX25_ADDR_LEN; addr_len 1951 drivers/net/hamradio/scc.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 1067 drivers/net/hamradio/yam.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 1109 drivers/net/hamradio/yam.c dev->addr_len = AX25_ADDR_LEN; addr_len 2170 drivers/net/hyperv/netvsc_drv.c if (vf_netdev->addr_len != ETH_ALEN) addr_len 402 drivers/net/ipvlan/ipvlan_core.c arp_ptr += (2 * port->dev->addr_len) + 4; addr_len 404 drivers/net/ipvlan/ipvlan_core.c arp_ptr += port->dev->addr_len; addr_len 170 drivers/net/loopback.c dev->addr_len = ETH_ALEN; /* 6 */ addr_len 2782 drivers/net/macsec.c memcpy(dev->broadcast, real_dev->broadcast, dev->addr_len); addr_len 1248 drivers/net/macvlan.c memcpy(&sa.sa_data, port->perm_addr, port->dev->addr_len); addr_len 752 drivers/net/net_failover.c failover_dev->addr_len); addr_len 431 drivers/net/ntb_netdev.c memcpy(ndev->dev_addr, ndev->perm_addr, ndev->addr_len); addr_len 1386 drivers/net/ppp/ppp_generic.c dev->addr_len = 0; addr_len 665 drivers/net/slip/slip.c dev->addr_len = 0; addr_len 53 drivers/net/team/team.c memcpy(addr.__data, dev_addr, port_dev->addr_len); addr_len 1201 drivers/net/team/team.c memcpy(port->orig.dev_addr, port_dev->dev_addr, port_dev->addr_len); addr_len 1792 drivers/net/team/team.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 2114 drivers/net/team/team.c dev->addr_len = port_dev->addr_len; addr_len 2116 drivers/net/team/team.c memcpy(dev->broadcast, port_dev->broadcast, port_dev->addr_len); addr_len 1392 drivers/net/tun.c dev->addr_len = 0; addr_len 287 drivers/net/usb/cdc-phonet.c dev->addr_len = 1; addr_len 334 drivers/net/usb/dm9601.c memcpy(net->dev_addr, addr->sa_data, net->addr_len); addr_len 162 drivers/net/usb/mcs7830.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 168 drivers/net/usb/qmi_wwan.c dev->addr_len = 0; addr_len 334 drivers/net/usb/qmi_wwan.c net->addr_len = 0; addr_len 1214 drivers/net/usb/r8152.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 293 drivers/net/usb/rtl8150.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 296 drivers/net/usb/rtl8150.c set_registers(dev, IDR, netdev->addr_len, netdev->dev_addr); addr_len 308 drivers/net/usb/rtl8150.c for (i = 0; i * 2 < netdev->addr_len; i++) { addr_len 299 drivers/net/usb/sr9700.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 1691 drivers/net/virtio_net.c sg_init_one(&sg, addr->sa_data, dev->addr_len); addr_len 1704 drivers/net/virtio_net.c for (i = 0; i < dev->addr_len; i++) addr_len 3065 drivers/net/virtio_net.c dev->dev_addr, dev->addr_len); addr_len 2702 drivers/net/vmxnet3/vmxnet3_drv.c memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); addr_len 3462 drivers/net/vmxnet3/vmxnet3_drv.c memcpy(netdev->dev_addr, mac, netdev->addr_len); addr_len 1832 drivers/net/vxlan.c parp->ar_hln != dev->addr_len || addr_len 1837 drivers/net/vxlan.c arpptr += dev->addr_len; /* sha */ addr_len 1840 drivers/net/vxlan.c arpptr += dev->addr_len; /* tha */ addr_len 2112 drivers/net/vxlan.c dev->addr_len); addr_len 2113 drivers/net/vxlan.c memcpy(eth_hdr(skb)->h_dest, n->ha, dev->addr_len); addr_len 3077 drivers/net/vxlan.c dev->addr_len = 0; addr_len 480 drivers/net/wan/dlci.c dev->addr_len = sizeof(short); addr_len 233 drivers/net/wan/hdlc.c dev->addr_len = 0; addr_len 1045 drivers/net/wan/hdlc_fr.c dev->addr_len = 2; addr_len 250 drivers/net/wan/lapbether.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 308 drivers/net/wan/lapbether.c dev->addr_len = 0; addr_len 58 drivers/net/wan/lmc/lmc_proto.c dev->addr_len = 0; addr_len 1605 drivers/net/wan/sdla.c dev->addr_len = 0; addr_len 744 drivers/net/wan/x25_asy.c dev->addr_len = 0; addr_len 236 drivers/net/wimax/i2400m/driver.c net_dev->addr_len = ETH_ALEN; addr_len 1054 drivers/net/wimax/i2400m/fw.c net_dev->addr_len = ETH_ALEN; addr_len 1301 drivers/net/wireless/atmel/atmel.c memcpy (dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 2330 drivers/net/wireless/cisco/airo.c memcpy (ai->config.macAddr, addr->sa_data, dev->addr_len); addr_len 2335 drivers/net/wireless/cisco/airo.c memcpy (ai->dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 2337 drivers/net/wireless/cisco/airo.c memcpy (ai->wifidev->dev_addr, addr->sa_data, dev->addr_len); addr_len 2673 drivers/net/wireless/cisco/airo.c dev->addr_len = ETH_ALEN; addr_len 2487 drivers/net/wireless/intersil/prism54/isl_ioctl.c if (ndev->addr_len != 6) addr_len 829 drivers/net/wireless/intersil/prism54/islpci_dev.c ndev->addr_len = ETH_ALEN; addr_len 733 drivers/net/wireless/zydas/zd1201.c zd->dev->dev_addr, zd->dev->addr_len, 1); addr_len 857 drivers/net/wireless/zydas/zd1201.c addr->sa_data, dev->addr_len, 1); addr_len 860 drivers/net/wireless/zydas/zd1201.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 1787 drivers/net/wireless/zydas/zd1201.c dev->dev_addr, dev->addr_len); addr_len 99 drivers/nvmem/rockchip-efuse.c unsigned int addr_start, addr_end, addr_offset, addr_len; addr_len 115 drivers/nvmem/rockchip-efuse.c addr_len = addr_end - addr_start; addr_len 117 drivers/nvmem/rockchip-efuse.c buf = kzalloc(array3_size(addr_len, RK3399_NBYTES, sizeof(*buf)), addr_len 124 drivers/nvmem/rockchip-efuse.c while (addr_len--) { addr_len 154 drivers/nvmem/rockchip-efuse.c unsigned int addr_start, addr_end, addr_offset, addr_len; addr_len 168 drivers/nvmem/rockchip-efuse.c addr_len = addr_end - addr_start; addr_len 170 drivers/nvmem/rockchip-efuse.c buf = kzalloc(array3_size(addr_len, RK3399_NBYTES, sizeof(*buf)), addr_len 180 drivers/nvmem/rockchip-efuse.c while (addr_len--) { addr_len 1961 drivers/s390/net/netiucv.c dev->addr_len = 0; addr_len 382 drivers/s390/net/qeth_l2_main.c QETH_CARD_HEX(card, 2, card->dev->dev_addr, card->dev->addr_len); addr_len 789 drivers/scsi/esas2r/atioctl.h u16 addr_len; addr_len 886 drivers/scsi/esas2r/atioctl.h u16 addr_len; addr_len 957 drivers/scsi/esas2r/esas2r_disc.c addrlen = le16_to_cpu(hi->data.get_dev_addr.addr_len); addr_len 981 drivers/scsi/esas2r/esas2r_disc.c addr_len); addr_len 889 drivers/scsi/esas2r/esas2r_ioctl.c gaa->addr_len = sizeof(u64); addr_len 1091 drivers/scsi/esas2r/esas2r_ioctl.c gda->addr_len = sizeof(u64); addr_len 332 drivers/scsi/fcoe/fcoe.c memcpy(fip->ctl_src_addr, netdev->dev_addr, netdev->addr_len); addr_len 2491 drivers/staging/ks7010/ks_wlan_net.c memcpy(dev->dev_addr, mac_addr->sa_data, dev->addr_len); addr_len 789 drivers/staging/qlge/qlge_main.c qdev->ndev->addr_len); addr_len 793 drivers/staging/qlge/qlge_main.c qdev->ndev->addr_len); addr_len 803 drivers/staging/qlge/qlge_main.c qdev->ndev->addr_len); addr_len 853 drivers/staging/qlge/qlge_main.c qdev->ndev->addr_len); addr_len 4424 drivers/staging/qlge/qlge_main.c memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); addr_len 4426 drivers/staging/qlge/qlge_main.c memcpy(qdev->current_mac_addr, ndev->dev_addr, ndev->addr_len); addr_len 4666 drivers/staging/qlge/qlge_main.c memcpy(qdev->current_mac_addr, ndev->dev_addr, ndev->addr_len); addr_len 110 drivers/staging/rtl8192u/r8180_93cx6.c int addr_len; addr_len 130 drivers/staging/rtl8192u/r8180_93cx6.c addr_len = 8; addr_len 138 drivers/staging/rtl8192u/r8180_93cx6.c addr_len = 6; addr_len 143 drivers/staging/rtl8192u/r8180_93cx6.c eprom_send_bits_string(dev, addr_str, addr_len); addr_len 1802 drivers/staging/unisys/visornic/visornic_main.c netdev->addr_len = ETH_ALEN; addr_len 675 drivers/staging/wlan-ng/p80211netdev.c memcpy(dev->dev_addr, new_addr->sa_data, dev->addr_len); addr_len 278 drivers/usb/gadget/function/f_phonet.c dev->addr_len = 1; addr_len 413 drivers/xen/pvcalls-front.c int addr_len, int flags) addr_len 454 drivers/xen/pvcalls-front.c req->u.connect.len = addr_len; addr_len 660 drivers/xen/pvcalls-front.c int pvcalls_front_bind(struct socket *sock, struct sockaddr *addr, int addr_len) addr_len 688 drivers/xen/pvcalls-front.c req->u.bind.len = addr_len; addr_len 8 drivers/xen/pvcalls-front.h int addr_len, int flags); addr_len 11 drivers/xen/pvcalls-front.h int addr_len); addr_len 571 fs/dlm/lowcomms.c int *addr_len) addr_len 577 fs/dlm/lowcomms.c *addr_len = sizeof(struct sockaddr_in); addr_len 582 fs/dlm/lowcomms.c *addr_len = sizeof(struct sockaddr_in6); addr_len 584 fs/dlm/lowcomms.c memset((char *)saddr + *addr_len, 0, sizeof(struct sockaddr_storage) - *addr_len); addr_len 861 fs/dlm/lowcomms.c int addr_len; addr_len 889 fs/dlm/lowcomms.c make_sockaddr(&prim.ssp_addr, 0, &addr_len); addr_len 1002 fs/dlm/lowcomms.c int i, addr_len, result = 0; addr_len 1006 fs/dlm/lowcomms.c make_sockaddr(&localaddr, port, &addr_len); addr_len 1011 fs/dlm/lowcomms.c addr_len); addr_len 1015 fs/dlm/lowcomms.c (char *)&localaddr, addr_len); addr_len 1036 fs/dlm/lowcomms.c int addr_len; addr_len 1077 fs/dlm/lowcomms.c make_sockaddr(&daddr, dlm_config.ci_tcp_port, &addr_len); addr_len 1092 fs/dlm/lowcomms.c result = sock->ops->connect(sock, (struct sockaddr *)&daddr, addr_len, addr_len 1133 fs/dlm/lowcomms.c int addr_len; addr_len 1171 fs/dlm/lowcomms.c make_sockaddr(&src_addr, 0, &addr_len); addr_len 1173 fs/dlm/lowcomms.c addr_len); addr_len 1179 fs/dlm/lowcomms.c make_sockaddr(&saddr, dlm_config.ci_tcp_port, &addr_len); addr_len 1187 fs/dlm/lowcomms.c result = sock->ops->connect(sock, (struct sockaddr *)&saddr, addr_len, addr_len 1228 fs/dlm/lowcomms.c int addr_len; addr_len 1231 fs/dlm/lowcomms.c addr_len = sizeof(struct sockaddr_in); addr_len 1233 fs/dlm/lowcomms.c addr_len = sizeof(struct sockaddr_in6); addr_len 1261 fs/dlm/lowcomms.c make_sockaddr(saddr, dlm_config.ci_tcp_port, &addr_len); addr_len 1262 fs/dlm/lowcomms.c result = sock->ops->bind(sock, (struct sockaddr *) saddr, addr_len); addr_len 118 fs/nfsd/flexfilelayout.c da->netaddr.addr_len = addr_len 85 fs/nfsd/flexfilelayoutxdr.c int addr_len; addr_len 89 fs/nfsd/flexfilelayoutxdr.c addr_len = 16 + da->netaddr.netid_len + da->netaddr.addr_len; addr_len 92 fs/nfsd/flexfilelayoutxdr.c len = 4 + ver_len + 4 + addr_len; addr_len 105 fs/nfsd/flexfilelayoutxdr.c p = xdr_encode_opaque(p, da->netaddr.addr, da->netaddr.addr_len); addr_len 23 fs/nfsd/flexfilelayoutxdr.h u32 addr_len; addr_len 36 include/linux/if_arp.h return sizeof(struct arphdr) + dev->addr_len + sizeof(u32) * 2; addr_len 40 include/linux/if_arp.h return sizeof(struct arphdr) + (dev->addr_len + sizeof(u32)) * 2; addr_len 1890 include/linux/netdevice.h unsigned char addr_len; addr_len 4108 include/linux/netdevice.h struct netdev_hw_addr_list *from_list, int addr_len); addr_len 4110 include/linux/netdevice.h struct netdev_hw_addr_list *from_list, int addr_len); addr_len 391 include/linux/socket.h int __user *addr_len); addr_len 394 include/linux/socket.h int addr_len); addr_len 142 include/net/addrconf.h if (dev->addr_len != ETH_ALEN) addr_len 21 include/net/inet_common.h int addr_len, int flags); addr_len 23 include/net/inet_common.h int addr_len, int flags, int is_sendmsg); addr_len 25 include/net/inet_common.h int addr_len, int flags); addr_len 37 include/net/inet_common.h int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len); addr_len 38 include/net/inet_common.h int __inet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len, addr_len 47 include/net/inet_common.h int *addr_len); addr_len 256 include/net/ip.h int __ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len); addr_len 257 include/net/ip.h int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len); addr_len 741 include/net/ip.h int ip_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len); addr_len 1087 include/net/ipv6.h int addr_len); addr_len 1088 include/net/ipv6.h int ip6_datagram_connect(struct sock *sk, struct sockaddr *addr, int addr_len); addr_len 1090 include/net/ipv6.h int addr_len); addr_len 1095 include/net/ipv6.h int *addr_len); addr_len 1097 include/net/ipv6.h int *addr_len); addr_len 1104 include/net/ipv6.h int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len); addr_len 65 include/net/ipv6_stubs.h int (*inet6_bind)(struct sock *sk, struct sockaddr *uaddr, int addr_len, addr_len 328 include/net/ndisc.h static inline int __ndisc_opt_addr_space(unsigned char addr_len, int pad) addr_len 330 include/net/ndisc.h return NDISC_OPT_SPACE(addr_len + pad); addr_len 336 include/net/ndisc.h return __ndisc_opt_addr_space(dev->addr_len, addr_len 346 include/net/ndisc.h return __ndisc_opt_addr_space(dev->addr_len, addr_len 354 include/net/ndisc.h unsigned char addr_len, int prepad) addr_len 358 include/net/ndisc.h if (lladdrlen != __ndisc_opt_addr_space(addr_len, prepad)) addr_len 366 include/net/ndisc.h return __ndisc_opt_addr_data(p, dev->addr_len, addr_len 553 include/net/neighbour.h memcpy(dst, n->ha, dev->addr_len); addr_len 31 include/net/ping.h int *addr_len); addr_len 69 include/net/ping.h int ping_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len); addr_len 75 include/net/ping.h int flags, int *addr_len); addr_len 92 include/net/sctp/sctp.h int addr_len, int flags); addr_len 1077 include/net/sock.h int addr_len); addr_len 1080 include/net/sock.h int addr_len); addr_len 1114 include/net/sock.h int *addr_len); addr_len 1118 include/net/sock.h struct sockaddr *uaddr, int addr_len); addr_len 405 include/net/tcp.h int flags, int *addr_len); addr_len 445 include/net/tcp.h int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len); addr_len 2179 include/net/tcp.h int nonblock, int flags, int *addr_len); addr_len 373 include/net/tls.h int nonblock, int flags, int *addr_len); addr_len 34 include/net/transp_v6.h int udpv6_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len); addr_len 292 include/net/udp.h int udp_pre_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len); addr_len 101 include/trace/events/neigh.h int lladdr_len = (n->dev ? n->dev->addr_len : MAX_ADDR_LEN); addr_len 178 include/trace/events/neigh.h int lladdr_len = (n->dev ? n->dev->addr_len : MAX_ADDR_LEN); addr_len 235 include/uapi/linux/ipmi.h unsigned int addr_len; addr_len 286 include/uapi/linux/ipmi.h unsigned int addr_len; /* The size of the address buffer. addr_len 22 net/6lowpan/core.c dev->addr_len = EUI64_ADDR_LEN; addr_len 26 net/6lowpan/core.c dev->addr_len = ETH_ALEN; addr_len 285 net/6lowpan/iphc.c switch (dev->addr_len) { addr_len 62 net/802/fc.c memcpy(fch->saddr,saddr,dev->addr_len); addr_len 64 net/802/fc.c memcpy(fch->saddr,dev->dev_addr,dev->addr_len); addr_len 68 net/802/fc.c memcpy(fch->daddr,daddr,dev->addr_len); addr_len 84 net/802/fc.c dev->addr_len = FC_ALEN; addr_len 73 net/802/fddi.c memcpy(fddi->saddr, saddr, dev->addr_len); addr_len 75 net/802/fddi.c memcpy(fddi->saddr, dev->dev_addr, dev->addr_len); addr_len 79 net/802/fddi.c memcpy(fddi->daddr, daddr, dev->addr_len); addr_len 153 net/802/fddi.c dev->addr_len = FDDI_K_ALEN; addr_len 124 net/802/hippi.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 163 net/802/hippi.c dev->addr_len = HIPPI_ALEN; addr_len 563 net/8021q/vlan_dev.c memcpy(dev->broadcast, real_dev->broadcast, dev->addr_len); addr_len 1130 net/appletalk/ddp.c static int atalk_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 1138 net/appletalk/ddp.c addr_len != sizeof(struct sockaddr_at)) addr_len 1186 net/appletalk/ddp.c int addr_len, int flags) addr_len 1196 net/appletalk/ddp.c if (addr_len != sizeof(*addr)) addr_len 20 net/appletalk/dev.c dev->addr_len = LTALK_ALEN; addr_len 581 net/atm/br2684.c memcpy(net_dev->dev_addr, esi, net_dev->addr_len); addr_len 651 net/atm/br2684.c netdev->addr_len = 0; addr_len 649 net/atm/lec.c memcmp(dst, dev->dev_addr, dev->addr_len)) { addr_len 1045 net/ax25/af_ax25.c static int ax25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 1055 net/ax25/af_ax25.c if (addr_len != sizeof(struct sockaddr_ax25) && addr_len 1056 net/ax25/af_ax25.c addr_len != sizeof(struct full_sockaddr_ax25)) addr_len 1060 net/ax25/af_ax25.c if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || addr_len 1061 net/ax25/af_ax25.c (addr_len > sizeof(struct full_sockaddr_ax25))) addr_len 1094 net/ax25/af_ax25.c if (addr_len > sizeof(struct sockaddr_ax25) && addr->fsa_ax25.sax25_ndigis == 1) { addr_len 1124 net/ax25/af_ax25.c struct sockaddr *uaddr, int addr_len, int flags) addr_len 1136 net/ax25/af_ax25.c if (addr_len == sizeof(struct sockaddr_ax25)) addr_len 1141 net/ax25/af_ax25.c else if (addr_len != sizeof(struct full_sockaddr_ax25)) addr_len 1145 net/ax25/af_ax25.c if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || addr_len 1146 net/ax25/af_ax25.c (addr_len > sizeof(struct full_sockaddr_ax25))) addr_len 1187 net/ax25/af_ax25.c if (addr_len > sizeof(struct sockaddr_ax25) && addr_len 1455 net/ax25/af_ax25.c int lv, err, addr_len = msg->msg_namelen; addr_len 1490 net/ax25/af_ax25.c if (addr_len == sizeof(struct sockaddr_ax25)) addr_len 1493 net/ax25/af_ax25.c else if (addr_len != sizeof(struct full_sockaddr_ax25)) addr_len 1498 net/ax25/af_ax25.c if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || addr_len 1499 net/ax25/af_ax25.c (addr_len > sizeof(struct full_sockaddr_ax25))) { addr_len 1505 net/ax25/af_ax25.c if (addr_len > sizeof(struct sockaddr_ax25) && usax->sax25_ndigis != 0) { addr_len 60 net/ax25/ax25_ip.c memcpy(buff, daddr, dev->addr_len); /* Address specified */ addr_len 68 net/ax25/ax25_ip.c memcpy(buff, saddr, dev->addr_len); addr_len 70 net/ax25/ax25_ip.c memcpy(buff, dev->dev_addr, dev->addr_len); addr_len 192 net/batman-adv/hard-interface.c if (net_dev->addr_len != ETH_ALEN) addr_len 221 net/bluetooth/bnep/netdev.c dev->addr_len = ETH_ALEN; addr_len 1061 net/bluetooth/hci_sock.c int addr_len) addr_len 1075 net/bluetooth/hci_sock.c len = min_t(unsigned int, sizeof(haddr), addr_len); addr_len 337 net/bluetooth/rfcomm/sock.c static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) addr_len 343 net/bluetooth/rfcomm/sock.c if (!addr || addr_len < offsetofend(struct sockaddr, sa_family) || addr_len 348 net/bluetooth/rfcomm/sock.c len = min_t(unsigned int, sizeof(sa), addr_len); addr_len 520 net/bluetooth/sco.c int addr_len) addr_len 526 net/bluetooth/sco.c if (!addr || addr_len < sizeof(struct sockaddr_sco) || addr_len 139 net/bridge/br_arp_nd_proxy.c parp->ar_hln != dev->addr_len || addr_len 145 net/bridge/br_arp_nd_proxy.c arpptr += dev->addr_len; /* sha */ addr_len 148 net/bridge/br_arp_nd_proxy.c arpptr += dev->addr_len; /* tha */ addr_len 571 net/bridge/br_if.c dev->type != ARPHRD_ETHER || dev->addr_len != ETH_ALEN || addr_len 405 net/bridge/br_netlink.c (dev->addr_len && addr_len 406 net/bridge/br_netlink.c nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || addr_len 745 net/caif/caif_socket.c int addr_len, int flags) addr_len 758 net/caif/caif_socket.c if (addr_len < offsetofend(struct sockaddr, sa_family)) addr_len 808 net/caif/caif_socket.c if (addr_len != sizeof(struct sockaddr_caif)) addr_len 11 net/ceph/decode.c u32 struct_len, addr_len; addr_len 26 net/ceph/decode.c ceph_decode_32_safe(p, end, addr_len, bad); addr_len 27 net/ceph/decode.c if (addr_len > sizeof(addr->in_addr)) addr_len 31 net/ceph/decode.c if (addr_len) { addr_len 32 net/ceph/decode.c ceph_decode_copy_safe(p, end, &addr->in_addr, addr_len, bad); addr_len 869 net/core/dev.c !memcmp(dev->dev_addr, ha, dev->addr_len)) addr_len 1333 net/core/dev.c add_device_randomness(dev->dev_addr, dev->addr_len); addr_len 8141 net/core/dev.c add_device_randomness(dev->dev_addr, dev->addr_len); addr_len 9104 net/core/dev.c add_device_randomness(dev->dev_addr, dev->addr_len); addr_len 9111 net/core/dev.c memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); addr_len 20 net/core/dev_addr_lists.c const unsigned char *addr, int addr_len, addr_len 33 net/core/dev_addr_lists.c memcpy(ha->addr, addr, addr_len); addr_len 46 net/core/dev_addr_lists.c const unsigned char *addr, int addr_len, addr_len 52 net/core/dev_addr_lists.c if (addr_len > MAX_ADDR_LEN) addr_len 57 net/core/dev_addr_lists.c !memcmp(ha->addr, addr, addr_len)) { addr_len 76 net/core/dev_addr_lists.c return __hw_addr_create_ex(list, addr, addr_len, addr_type, global, addr_len 81 net/core/dev_addr_lists.c const unsigned char *addr, int addr_len, addr_len 84 net/core/dev_addr_lists.c return __hw_addr_add_ex(list, addr, addr_len, addr_type, false, false, addr_len 113 net/core/dev_addr_lists.c const unsigned char *addr, int addr_len, addr_len 119 net/core/dev_addr_lists.c if (!memcmp(ha->addr, addr, addr_len) && addr_len 127 net/core/dev_addr_lists.c const unsigned char *addr, int addr_len, addr_len 130 net/core/dev_addr_lists.c return __hw_addr_del_ex(list, addr, addr_len, addr_type, false, false); addr_len 135 net/core/dev_addr_lists.c int addr_len) addr_len 139 net/core/dev_addr_lists.c err = __hw_addr_add_ex(to_list, ha->addr, addr_len, ha->type, addr_len 155 net/core/dev_addr_lists.c int addr_len) addr_len 159 net/core/dev_addr_lists.c err = __hw_addr_del_ex(to_list, ha->addr, addr_len, ha->type, addr_len 170 net/core/dev_addr_lists.c int addr_len) addr_len 177 net/core/dev_addr_lists.c __hw_addr_unsync_one(to_list, from_list, ha, addr_len); addr_len 179 net/core/dev_addr_lists.c err = __hw_addr_sync_one(to_list, ha, addr_len); addr_len 194 net/core/dev_addr_lists.c int addr_len) addr_len 201 net/core/dev_addr_lists.c err = __hw_addr_sync_one(to_list, ha, addr_len); addr_len 205 net/core/dev_addr_lists.c __hw_addr_unsync_one(to_list, from_list, ha, addr_len); addr_len 213 net/core/dev_addr_lists.c int addr_len) addr_len 219 net/core/dev_addr_lists.c __hw_addr_unsync_one(to_list, from_list, ha, addr_len); addr_len 500 net/core/dev_addr_lists.c err = __hw_addr_add(&dev->dev_addrs, addr, dev->addr_len, addr_type); addr_len 532 net/core/dev_addr_lists.c if (!memcmp(ha->addr, addr, dev->addr_len) && addr_len 536 net/core/dev_addr_lists.c err = __hw_addr_del(&dev->dev_addrs, addr, dev->addr_len, addr_len 560 net/core/dev_addr_lists.c if (!memcmp(ha->addr, addr, dev->addr_len) && addr_len 566 net/core/dev_addr_lists.c err = __hw_addr_create_ex(&dev->uc, addr, dev->addr_len, addr_len 589 net/core/dev_addr_lists.c err = __hw_addr_add(&dev->uc, addr, dev->addr_len, addr_len 611 net/core/dev_addr_lists.c err = __hw_addr_del(&dev->uc, addr, dev->addr_len, addr_len 637 net/core/dev_addr_lists.c if (to->addr_len != from->addr_len) addr_len 641 net/core/dev_addr_lists.c err = __hw_addr_sync(&to->uc, &from->uc, to->addr_len); addr_len 667 net/core/dev_addr_lists.c if (to->addr_len != from->addr_len) addr_len 671 net/core/dev_addr_lists.c err = __hw_addr_sync_multiple(&to->uc, &from->uc, to->addr_len); addr_len 690 net/core/dev_addr_lists.c if (to->addr_len != from->addr_len) addr_len 695 net/core/dev_addr_lists.c __hw_addr_unsync(&to->uc, &from->uc, to->addr_len); addr_len 744 net/core/dev_addr_lists.c if (!memcmp(ha->addr, addr, dev->addr_len) && addr_len 750 net/core/dev_addr_lists.c err = __hw_addr_create_ex(&dev->mc, addr, dev->addr_len, addr_len 766 net/core/dev_addr_lists.c err = __hw_addr_add_ex(&dev->mc, addr, dev->addr_len, addr_len 806 net/core/dev_addr_lists.c err = __hw_addr_del_ex(&dev->mc, addr, dev->addr_len, addr_len 858 net/core/dev_addr_lists.c if (to->addr_len != from->addr_len) addr_len 862 net/core/dev_addr_lists.c err = __hw_addr_sync(&to->mc, &from->mc, to->addr_len); addr_len 888 net/core/dev_addr_lists.c if (to->addr_len != from->addr_len) addr_len 892 net/core/dev_addr_lists.c err = __hw_addr_sync_multiple(&to->mc, &from->mc, to->addr_len); addr_len 911 net/core/dev_addr_lists.c if (to->addr_len != from->addr_len) addr_len 916 net/core/dev_addr_lists.c __hw_addr_unsync(&to->mc, &from->mc, to->addr_len); addr_len 126 net/core/dev_ioctl.c if (!dev->addr_len) addr_len 132 net/core/dev_ioctl.c (size_t)dev->addr_len)); addr_len 247 net/core/dev_ioctl.c if (dev->addr_len > sizeof(struct sockaddr)) addr_len 256 net/core/dev_ioctl.c (size_t)dev->addr_len)); addr_len 1993 net/core/ethtool.c if (epaddr.size < dev->addr_len) addr_len 1995 net/core/ethtool.c epaddr.size = dev->addr_len; addr_len 4508 net/core/filter.c int, addr_len) addr_len 4518 net/core/filter.c if (addr_len < offsetofend(struct sockaddr, sa_family)) addr_len 4521 net/core/filter.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 4525 net/core/filter.c return __inet_bind(sk, addr, addr_len, true, false); addr_len 4528 net/core/filter.c if (addr_len < SIN6_LEN_RFC2133) addr_len 4535 net/core/filter.c return ipv6_bpf_stub->inet6_bind(sk, addr, addr_len, true, false); addr_len 1271 net/core/neighbour.c if (!dev->addr_len) { addr_len 1281 net/core/neighbour.c !memcmp(lladdr, neigh->ha, dev->addr_len)) addr_len 1344 net/core/neighbour.c memcpy(&neigh->ha, lladdr, dev->addr_len); addr_len 1439 net/core/neighbour.c lladdr || !dev->addr_len); addr_len 1884 net/core/neighbour.c if (tb[NDA_LLADDR] && nla_len(tb[NDA_LLADDR]) < dev->addr_len) { addr_len 2451 net/core/neighbour.c if (nla_put(skb, NDA_LLADDR, neigh->dev->addr_len, haddr) < 0) { addr_len 330 net/core/net-procfs.c (int)dev->addr_len, ha->addr); addr_len 108 net/core/net-sysfs.c NETDEVICE_SHOW_RO(addr_len, fmt_dec); addr_len 150 net/core/net-sysfs.c ret = sysfs_format_mac(buf, ndev->dev_addr, ndev->addr_len); addr_len 162 net/core/net-sysfs.c return sysfs_format_mac(buf, ndev->broadcast, ndev->addr_len); addr_len 1240 net/core/rtnetlink.c memcpy(vf_broadcast.broadcast, dev->broadcast, dev->addr_len); addr_len 1652 net/core/rtnetlink.c if (dev->addr_len) { addr_len 1653 net/core/rtnetlink.c if (nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr) || addr_len 1654 net/core/rtnetlink.c nla_put(skb, IFLA_BROADCAST, dev->addr_len, dev->broadcast)) addr_len 2132 net/core/rtnetlink.c nla_len(tb[IFLA_ADDRESS]) < dev->addr_len) addr_len 2136 net/core/rtnetlink.c nla_len(tb[IFLA_BROADCAST]) < dev->addr_len) addr_len 2464 net/core/rtnetlink.c len = sizeof(sa_family_t) + max_t(size_t, dev->addr_len, addr_len 2473 net/core/rtnetlink.c dev->addr_len); addr_len 2514 net/core/rtnetlink.c nla_memcpy(dev->broadcast, tb[IFLA_BROADCAST], dev->addr_len); addr_len 4324 net/core/rtnetlink.c (dev->addr_len && addr_len 4325 net/core/rtnetlink.c nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || addr_len 3135 net/core/sock.c int addr_len = 0; addr_len 3139 net/core/sock.c flags & ~MSG_DONTWAIT, &addr_len); addr_len 3141 net/core/sock.c msg->msg_namelen = addr_len; addr_len 313 net/dccp/dccp.h int flags, int *addr_len); addr_len 318 net/dccp/dccp.h int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len); addr_len 38 net/dccp/ipv4.c int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 52 net/dccp/ipv4.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 804 net/dccp/ipv6.c int addr_len) addr_len 820 net/dccp/ipv6.c if (addr_len < SIN6_LEN_RFC2133) addr_len 851 net/dccp/ipv6.c if (addr_len >= sizeof(struct sockaddr_in6) && addr_len 824 net/dccp/proto.c int flags, int *addr_len) addr_len 717 net/decnet/af_decnet.c static int dn_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 725 net/decnet/af_decnet.c if (addr_len != sizeof(struct sockaddr_dn)) addr_len 765 net/decnet/af_decnet.c memcpy(&scp->addr, saddr, addr_len); addr_len 1915 net/decnet/af_decnet.c int addr_len = msg->msg_namelen; addr_len 1926 net/decnet/af_decnet.c if (addr_len && (addr_len != sizeof(struct sockaddr_dn))) addr_len 1945 net/decnet/af_decnet.c err = dn_check_state(sk, addr, addr_len, &timeo, flags); addr_len 140 net/decnet/dn_neigh.c memcpy(neigh->ha, dev->broadcast, dev->addr_len); addr_len 386 net/ethernet/eth.c dev->addr_len = ETH_ALEN; addr_len 65 net/hsr/hsr_slave.c dev->addr_len != ETH_ALEN) { addr_len 101 net/ieee802154/socket.c int addr_len) addr_len 106 net/ieee802154/socket.c return sk->sk_prot->bind(sk, uaddr, addr_len); addr_len 108 net/ieee802154/socket.c return sock_no_bind(sock, uaddr, addr_len); addr_len 112 net/ieee802154/socket.c int addr_len, int flags) addr_len 116 net/ieee802154/socket.c if (addr_len < sizeof(uaddr->sa_family)) addr_len 122 net/ieee802154/socket.c return sk->sk_prot->connect(sk, uaddr, addr_len); addr_len 231 net/ieee802154/socket.c int addr_len) addr_len 312 net/ieee802154/socket.c int noblock, int flags, int *addr_len) addr_len 703 net/ieee802154/socket.c int noblock, int flags, int *addr_len) addr_len 737 net/ieee802154/socket.c *addr_len = sizeof(*saddr); addr_len 434 net/ipv4/af_inet.c int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 441 net/ipv4/af_inet.c return sk->sk_prot->bind(sk, uaddr, addr_len); addr_len 443 net/ipv4/af_inet.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 453 net/ipv4/af_inet.c return __inet_bind(sk, uaddr, addr_len, false, true); addr_len 457 net/ipv4/af_inet.c int __inet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len, addr_len 553 net/ipv4/af_inet.c int addr_len, int flags) addr_len 558 net/ipv4/af_inet.c if (addr_len < sizeof(uaddr->sa_family)) addr_len 564 net/ipv4/af_inet.c err = sk->sk_prot->pre_connect(sk, uaddr, addr_len); addr_len 571 net/ipv4/af_inet.c return sk->sk_prot->connect(sk, uaddr, addr_len); addr_len 604 net/ipv4/af_inet.c int addr_len, int flags, int is_sendmsg) addr_len 620 net/ipv4/af_inet.c if (addr_len < sizeof(uaddr->sa_family)) addr_len 650 net/ipv4/af_inet.c err = sk->sk_prot->pre_connect(sk, uaddr, addr_len); addr_len 655 net/ipv4/af_inet.c err = sk->sk_prot->connect(sk, uaddr, addr_len); addr_len 714 net/ipv4/af_inet.c int addr_len, int flags) addr_len 719 net/ipv4/af_inet.c err = __inet_stream_connect(sock, uaddr, addr_len, flags, 0); addr_len 832 net/ipv4/af_inet.c int addr_len = 0; addr_len 840 net/ipv4/af_inet.c flags & ~MSG_DONTWAIT, &addr_len); addr_len 842 net/ipv4/af_inet.c msg->msg_namelen = addr_len; addr_len 1568 net/ipv4/af_inet.c int inet_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) addr_len 1571 net/ipv4/af_inet.c return ip_recv_error(sk, msg, len, addr_len); addr_len 1574 net/ipv4/af_inet.c return pingv6_ops.ipv6_recv_error(sk, msg, len, addr_len); addr_len 200 net/ipv4/arp.c memcpy(haddr, dev->broadcast, dev->addr_len); addr_len 271 net/ipv4/arp.c memcpy(neigh->ha, dev->dev_addr, dev->addr_len); addr_len 275 net/ipv4/arp.c memcpy(neigh->ha, dev->broadcast, dev->addr_len); addr_len 595 net/ipv4/arp.c arp->ar_hln = dev->addr_len; addr_len 601 net/ipv4/arp.c memcpy(arp_ptr, src_hw, dev->addr_len); addr_len 602 net/ipv4/arp.c arp_ptr += dev->addr_len; addr_len 613 net/ipv4/arp.c memcpy(arp_ptr, target_hw, dev->addr_len); addr_len 615 net/ipv4/arp.c memset(arp_ptr, 0, dev->addr_len); addr_len 616 net/ipv4/arp.c arp_ptr += dev->addr_len; addr_len 661 net/ipv4/arp.c !memcmp(tha, sha, dev->addr_len); addr_len 746 net/ipv4/arp.c arp_ptr += dev->addr_len; addr_len 756 net/ipv4/arp.c arp_ptr += dev->addr_len; addr_len 956 net/ipv4/arp.c if (arp->ar_hln != dev->addr_len || arp->ar_pln != 4) addr_len 1101 net/ipv4/arp.c memcpy(r->arp_ha.sa_data, neigh->ha, dev->addr_len); addr_len 1355 net/ipv4/arp.c for (k = 0, j = 0; k < HBUFFERLEN - 3 && j < dev->addr_len; j++) { addr_len 20 net/ipv4/datagram.c int __ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 31 net/ipv4/datagram.c if (addr_len < sizeof(*usin)) addr_len 85 net/ipv4/datagram.c int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 90 net/ipv4/datagram.c res = __ip4_datagram_connect(sk, uaddr, addr_len); addr_len 732 net/ipv4/inet_diag.c int addr_len; addr_len 743 net/ipv4/inet_diag.c addr_len = 0; addr_len 746 net/ipv4/inet_diag.c addr_len = sizeof(struct in_addr); addr_len 749 net/ipv4/inet_diag.c addr_len = sizeof(struct in6_addr); addr_len 754 net/ipv4/inet_diag.c *min_len += addr_len; addr_len 759 net/ipv4/inet_diag.c if (cond->prefix_len > 8 * addr_len) addr_len 963 net/ipv4/ip_gre.c dev->addr_len = 4; addr_len 500 net/ipv4/ip_sockglue.c int ip_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) addr_len 537 net/ipv4/ip_sockglue.c *addr_len = sizeof(*sin); addr_len 463 net/ipv4/ip_vti.c dev->addr_len = 4; addr_len 499 net/ipv4/ipconfig.c if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) addr_len 532 net/ipv4/ipconfig.c rarp_ptr += dev->addr_len; addr_len 536 net/ipv4/ipconfig.c rarp_ptr += dev->addr_len; addr_len 540 net/ipv4/ipconfig.c if (memcmp(tha, dev->dev_addr, dev->addr_len)) addr_len 844 net/ipv4/ipconfig.c b->hlen = dev->addr_len; addr_len 845 net/ipv4/ipconfig.c memcpy(b->hw_addr, dev->dev_addr, dev->addr_len); addr_len 1098 net/ipv4/ipconfig.c if (memcmp(dev->dev_addr, b->hw_addr, dev->addr_len) != 0) addr_len 1560 net/ipv4/ipconfig.c ic_dev->dev->name, ic_dev->dev->addr_len, ic_dev->dev->dev_addr, addr_len 379 net/ipv4/ipip.c dev->addr_len = 4; addr_len 110 net/ipv4/netfilter/arp_tables.c arpptr += dev->addr_len; addr_len 114 net/ipv4/netfilter/arp_tables.c arpptr += dev->addr_len; addr_len 119 net/ipv4/netfilter/arp_tables.c dev->addr_len)) || addr_len 122 net/ipv4/netfilter/arp_tables.c dev->addr_len))) addr_len 296 net/ipv4/ping.c struct sockaddr *uaddr, int addr_len) { addr_len 302 net/ipv4/ping.c if (addr_len < sizeof(*addr)) addr_len 330 net/ipv4/ping.c if (addr_len < sizeof(*addr)) addr_len 405 net/ipv4/ping.c int ping_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 412 net/ipv4/ping.c err = ping_check_bind_addr(sk, isk, uaddr, addr_len); addr_len 851 net/ipv4/ping.c int flags, int *addr_len) addr_len 865 net/ipv4/ping.c return inet_recv_error(sk, msg, len, addr_len); addr_len 893 net/ipv4/ping.c *addr_len = sizeof(*sin); addr_len 915 net/ipv4/ping.c *addr_len = sizeof(*sin6); addr_len 715 net/ipv4/raw.c static int raw_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 723 net/ipv4/raw.c if (sk->sk_state != TCP_CLOSE || addr_len < sizeof(struct sockaddr_in)) addr_len 751 net/ipv4/raw.c int noblock, int flags, int *addr_len) addr_len 763 net/ipv4/raw.c err = ip_recv_error(sk, msg, len, addr_len); addr_len 789 net/ipv4/raw.c *addr_len = sizeof(*sin); addr_len 1955 net/ipv4/tcp.c int flags, int *addr_len) addr_len 1971 net/ipv4/tcp.c return inet_recv_error(sk, msg, len, addr_len); addr_len 119 net/ipv4/tcp_bpf.c int nonblock, int flags, int *addr_len) addr_len 125 net/ipv4/tcp_bpf.c return inet_recv_error(sk, msg, len, addr_len); addr_len 129 net/ipv4/tcp_bpf.c return tcp_recvmsg(sk, msg, len, nonblock, flags, addr_len); addr_len 133 net/ipv4/tcp_bpf.c return tcp_recvmsg(sk, msg, len, nonblock, flags, addr_len); addr_len 149 net/ipv4/tcp_bpf.c return tcp_recvmsg(sk, msg, len, nonblock, flags, addr_len); addr_len 184 net/ipv4/tcp_ipv4.c int addr_len) addr_len 190 net/ipv4/tcp_ipv4.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 199 net/ipv4/tcp_ipv4.c int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 212 net/ipv4/tcp_ipv4.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 1726 net/ipv4/udp.c int flags, int *addr_len) addr_len 1737 net/ipv4/udp.c return ip_recv_error(sk, msg, len, addr_len); addr_len 1800 net/ipv4/udp.c *addr_len = sizeof(*sin); addr_len 1834 net/ipv4/udp.c int udp_pre_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 1840 net/ipv4/udp.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 27 net/ipv4/udp_impl.h int flags, int *addr_len); addr_len 2194 net/ipv6/addrconf.c switch (dev->addr_len) { addr_len 2216 net/ipv6/addrconf.c if (dev->addr_len != FWNET_ALEN) addr_len 2229 net/ipv6/addrconf.c if (dev->addr_len != ARCNET_ALEN) addr_len 2238 net/ipv6/addrconf.c if (dev->addr_len != INFINIBAND_ALEN) addr_len 3255 net/ipv6/addrconf.c memcpy(data.hwaddr, idev->dev->perm_addr, idev->dev->addr_len); addr_len 5797 net/ipv6/addrconf.c (dev->addr_len && addr_len 5798 net/ipv6/addrconf.c nla_put(skb, IFLA_ADDRESS, dev->addr_len, dev->dev_addr)) || addr_len 274 net/ipv6/af_inet6.c static int __inet6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len, addr_len 349 net/ipv6/af_inet6.c if (addr_len >= sizeof(struct sockaddr_in6) && addr_len 434 net/ipv6/af_inet6.c int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 441 net/ipv6/af_inet6.c return sk->sk_prot->bind(sk, uaddr, addr_len); addr_len 443 net/ipv6/af_inet6.c if (addr_len < SIN6_LEN_RFC2133) addr_len 453 net/ipv6/af_inet6.c return __inet6_bind(sk, uaddr, addr_len, false, true); addr_len 586 net/ipv6/af_inet6.c int addr_len = 0; addr_len 594 net/ipv6/af_inet6.c flags & ~MSG_DONTWAIT, &addr_len); addr_len 596 net/ipv6/af_inet6.c msg->msg_namelen = addr_len; addr_len 134 net/ipv6/datagram.c int addr_len) addr_len 149 net/ipv6/datagram.c err = __ip4_datagram_connect(sk, uaddr, addr_len); addr_len 153 net/ipv6/datagram.c if (addr_len < SIN6_LEN_RFC2133) addr_len 214 net/ipv6/datagram.c if (addr_len >= sizeof(struct sockaddr_in6) && addr_len 266 net/ipv6/datagram.c int ip6_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 271 net/ipv6/datagram.c res = __ip6_datagram_connect(sk, uaddr, addr_len); addr_len 278 net/ipv6/datagram.c int addr_len) addr_len 283 net/ipv6/datagram.c return ip6_datagram_connect(sk, uaddr, addr_len); addr_len 432 net/ipv6/datagram.c int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) addr_len 483 net/ipv6/datagram.c *addr_len = sizeof(*sin); addr_len 526 net/ipv6/datagram.c int *addr_len) addr_len 559 net/ipv6/datagram.c *addr_len = sizeof(*sin); addr_len 1400 net/ipv6/ip6_gre.c dev->addr_len = sizeof(struct in6_addr); addr_len 1805 net/ipv6/ip6_tunnel.c dev->addr_len = sizeof(struct in6_addr); addr_len 904 net/ipv6/ip6_vti.c dev->addr_len = sizeof(struct in6_addr); addr_len 168 net/ipv6/ndisc.c __ndisc_fill_addr_option(skb, type, data, skb->dev->addr_len, addr_len 302 net/ipv6/ndisc.c memcpy(buf, dev->broadcast, dev->addr_len); addr_len 350 net/ipv6/ndisc.c memcpy(neigh->ha, dev->dev_addr, dev->addr_len); addr_len 355 net/ipv6/ndisc.c memcpy(neigh->ha, dev->broadcast, dev->addr_len); addr_len 543 net/ipv6/ndisc.c if (!dev->addr_len) addr_len 604 net/ipv6/ndisc.c int inc_opt = dev->addr_len; addr_len 655 net/ipv6/ndisc.c int send_sllao = dev->addr_len; addr_len 931 net/ipv6/ndisc.c !inc || lladdr || !dev->addr_len); addr_len 1038 net/ipv6/ndisc.c if (lladdr && !memcmp(lladdr, dev->dev_addr, dev->addr_len) && addr_len 1639 net/ipv6/ndisc.c if (dev->addr_len) { addr_len 1649 net/ipv6/ndisc.c memcpy(ha_buf, neigh->ha, dev->addr_len); addr_len 27 net/ipv6/ping.c int *addr_len) addr_len 242 net/ipv6/raw.c static int rawv6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 251 net/ipv6/raw.c if (addr_len < SIN6_LEN_RFC2133) addr_len 275 net/ipv6/raw.c if (addr_len >= sizeof(struct sockaddr_in6) && addr_len 463 net/ipv6/raw.c int noblock, int flags, int *addr_len) addr_len 475 net/ipv6/raw.c return ipv6_recv_error(sk, msg, len, addr_len); addr_len 478 net/ipv6/raw.c return ipv6_recv_rxpmtu(sk, msg, len, addr_len); addr_len 512 net/ipv6/raw.c *addr_len = sizeof(*sin6); addr_len 781 net/ipv6/raw.c int addr_len = msg->msg_namelen; addr_len 816 net/ipv6/raw.c if (addr_len < SIN6_LEN_RFC2133) addr_len 851 net/ipv6/raw.c if (addr_len >= sizeof(struct sockaddr_in6) && addr_len 1387 net/ipv6/sit.c dev->addr_len = 4; addr_len 130 net/ipv6/tcp_ipv6.c int addr_len) addr_len 136 net/ipv6/tcp_ipv6.c if (addr_len < SIN6_LEN_RFC2133) addr_len 145 net/ipv6/tcp_ipv6.c int addr_len) addr_len 160 net/ipv6/tcp_ipv6.c if (addr_len < SIN6_LEN_RFC2133) addr_len 198 net/ipv6/tcp_ipv6.c if (addr_len >= sizeof(struct sockaddr_in6) && addr_len 268 net/ipv6/udp.c int noblock, int flags, int *addr_len) addr_len 281 net/ipv6/udp.c return ipv6_recv_error(sk, msg, len, addr_len); addr_len 284 net/ipv6/udp.c return ipv6_recv_rxpmtu(sk, msg, len, addr_len); addr_len 356 net/ipv6/udp.c *addr_len = sizeof(*sin6); addr_len 1035 net/ipv6/udp.c int addr_len) addr_len 1037 net/ipv6/udp.c if (addr_len < offsetofend(struct sockaddr, sa_family)) addr_len 1046 net/ipv6/udp.c return udp_pre_connect(sk, uaddr, addr_len); addr_len 1049 net/ipv6/udp.c if (addr_len < SIN6_LEN_RFC2133) addr_len 1228 net/ipv6/udp.c int addr_len = msg->msg_namelen; addr_len 1243 net/ipv6/udp.c if (addr_len < offsetof(struct sockaddr, sa_data)) addr_len 1248 net/ipv6/udp.c if (addr_len < SIN6_LEN_RFC2133) addr_len 1260 net/ipv6/udp.c msg->msg_namelen = addr_len = 0; addr_len 1342 net/ipv6/udp.c if (addr_len >= sizeof(struct sockaddr_in6) && addr_len 30 net/ipv6/udp_impl.h int flags, int *addr_len); addr_len 727 net/iucv/af_iucv.c int addr_len) addr_len 737 net/iucv/af_iucv.c if (addr_len < sizeof(struct sockaddr_iucv) || addr_len 260 net/l2tp/l2tp_ip.c static int l2tp_ip_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 268 net/l2tp/l2tp_ip.c if (addr_len < sizeof(struct sockaddr_l2tpip)) addr_len 317 net/l2tp/l2tp_ip.c static int l2tp_ip_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 322 net/l2tp/l2tp_ip.c if (addr_len < sizeof(*lsa)) addr_len 336 net/l2tp/l2tp_ip.c rc = __ip4_datagram_connect(sk, uaddr, addr_len); addr_len 528 net/l2tp/l2tp_ip.c size_t len, int noblock, int flags, int *addr_len) addr_len 561 net/l2tp/l2tp_ip.c *addr_len = sizeof(*sin); addr_len 275 net/l2tp/l2tp_ip6.c static int l2tp_ip6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) addr_len 288 net/l2tp/l2tp_ip6.c if (addr_len < sizeof(*addr)) addr_len 376 net/l2tp/l2tp_ip6.c int addr_len) addr_len 384 net/l2tp/l2tp_ip6.c if (addr_len < sizeof(*lsa)) addr_len 408 net/l2tp/l2tp_ip6.c rc = __ip6_datagram_connect(sk, uaddr, addr_len); addr_len 516 net/l2tp/l2tp_ip6.c int addr_len = msg->msg_namelen; addr_len 542 net/l2tp/l2tp_ip6.c if (addr_len < SIN6_LEN_RFC2133) addr_len 566 net/l2tp/l2tp_ip6.c if (addr_len >= sizeof(struct sockaddr_in6) && addr_len 676 net/l2tp/l2tp_ip6.c int noblock, int flags, int *addr_len) addr_len 688 net/l2tp/l2tp_ip6.c return ipv6_recv_error(sk, msg, len, addr_len); addr_len 716 net/l2tp/l2tp_ip6.c *addr_len = sizeof(*lsa); addr_len 874 net/mac80211/iface.c sdata->dev->addr_len); addr_len 1100 net/mac80211/iface.c __hw_addr_sync(&local->mc_list, &dev->mc, dev->addr_len); addr_len 132 net/mac802154/iface.c memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); addr_len 140 net/mac802154/iface.c dev->addr_len); addr_len 525 net/mac802154/iface.c dev->addr_len = IEEE802154_EXTENDED_ADDR_LEN; addr_len 696 net/mpls/af_mpls.c (dev->addr_len != nh->nh_via_alen)) addr_len 2517 net/mpls/af_mpls.c rt0 = mpls_rt_alloc(1, lo->addr_len, 0); addr_len 2525 net/mpls/af_mpls.c rt0->rt_nh->nh_via_alen = lo->addr_len; addr_len 2527 net/mpls/af_mpls.c lo->addr_len); addr_len 2531 net/mpls/af_mpls.c rt2 = mpls_rt_alloc(1, lo->addr_len, 0); addr_len 2539 net/mpls/af_mpls.c rt2->rt_nh->nh_via_alen = lo->addr_len; addr_len 2541 net/mpls/af_mpls.c lo->addr_len); addr_len 151 net/netfilter/nft_fwd_netdev.c unsigned int addr_len; addr_len 165 net/netfilter/nft_fwd_netdev.c addr_len = sizeof(struct in_addr); addr_len 168 net/netfilter/nft_fwd_netdev.c addr_len = sizeof(struct in6_addr); addr_len 178 net/netfilter/nft_fwd_netdev.c return nft_validate_register_load(priv->sreg_addr, addr_len); addr_len 216 net/netlabel/netlabel_kapi.c u32 addr_len; addr_len 220 net/netlabel/netlabel_kapi.c addr_len = sizeof(struct in_addr); addr_len 224 net/netlabel/netlabel_kapi.c addr_len = sizeof(struct in6_addr); addr_len 232 net/netlabel/netlabel_kapi.c dev_name, addr, mask, addr_len, addr_len 258 net/netlabel/netlabel_kapi.c u32 addr_len; addr_len 262 net/netlabel/netlabel_kapi.c addr_len = sizeof(struct in_addr); addr_len 266 net/netlabel/netlabel_kapi.c addr_len = sizeof(struct in6_addr); addr_len 274 net/netlabel/netlabel_kapi.c dev_name, addr, mask, addr_len, addr_len 367 net/netlabel/netlabel_unlabeled.c u32 addr_len, addr_len 379 net/netlabel/netlabel_unlabeled.c if (addr_len != sizeof(struct in_addr) && addr_len 380 net/netlabel/netlabel_unlabeled.c addr_len != sizeof(struct in6_addr)) addr_len 405 net/netlabel/netlabel_unlabeled.c switch (addr_len) { addr_len 631 net/netlabel/netlabel_unlabeled.c u32 addr_len, addr_len 638 net/netlabel/netlabel_unlabeled.c if (addr_len != sizeof(struct in_addr) && addr_len 639 net/netlabel/netlabel_unlabeled.c addr_len != sizeof(struct in6_addr)) addr_len 656 net/netlabel/netlabel_unlabeled.c switch (addr_len) { addr_len 768 net/netlabel/netlabel_unlabeled.c u32 addr_len; addr_len 772 net/netlabel/netlabel_unlabeled.c addr_len = nla_len(info->attrs[NLBL_UNLABEL_A_IPV4ADDR]); addr_len 773 net/netlabel/netlabel_unlabeled.c if (addr_len != sizeof(struct in_addr) && addr_len 774 net/netlabel/netlabel_unlabeled.c addr_len != nla_len(info->attrs[NLBL_UNLABEL_A_IPV4MASK])) addr_len 776 net/netlabel/netlabel_unlabeled.c *len = addr_len; addr_len 781 net/netlabel/netlabel_unlabeled.c addr_len = nla_len(info->attrs[NLBL_UNLABEL_A_IPV6ADDR]); addr_len 782 net/netlabel/netlabel_unlabeled.c if (addr_len != sizeof(struct in6_addr) && addr_len 783 net/netlabel/netlabel_unlabeled.c addr_len != nla_len(info->attrs[NLBL_UNLABEL_A_IPV6MASK])) addr_len 785 net/netlabel/netlabel_unlabeled.c *len = addr_len; addr_len 883 net/netlabel/netlabel_unlabeled.c u32 addr_len; addr_len 901 net/netlabel/netlabel_unlabeled.c ret_val = netlbl_unlabel_addrinfo_get(info, &addr, &mask, &addr_len); addr_len 913 net/netlabel/netlabel_unlabeled.c dev_name, addr, mask, addr_len, secid, addr_len 934 net/netlabel/netlabel_unlabeled.c u32 addr_len; addr_len 951 net/netlabel/netlabel_unlabeled.c ret_val = netlbl_unlabel_addrinfo_get(info, &addr, &mask, &addr_len); addr_len 962 net/netlabel/netlabel_unlabeled.c NULL, addr, mask, addr_len, secid, addr_len 984 net/netlabel/netlabel_unlabeled.c u32 addr_len; addr_len 998 net/netlabel/netlabel_unlabeled.c ret_val = netlbl_unlabel_addrinfo_get(info, &addr, &mask, &addr_len); addr_len 1004 net/netlabel/netlabel_unlabeled.c dev_name, addr, mask, addr_len, addr_len 1025 net/netlabel/netlabel_unlabeled.c u32 addr_len; addr_len 1038 net/netlabel/netlabel_unlabeled.c ret_val = netlbl_unlabel_addrinfo_get(info, &addr, &mask, &addr_len); addr_len 1043 net/netlabel/netlabel_unlabeled.c NULL, addr, mask, addr_len, addr_len 213 net/netlabel/netlabel_unlabeled.h u32 addr_len, addr_len 220 net/netlabel/netlabel_unlabeled.h u32 addr_len, addr_len 975 net/netlink/af_netlink.c int addr_len) addr_len 985 net/netlink/af_netlink.c if (addr_len < sizeof(struct sockaddr_nl)) addr_len 537 net/netrom/af_netrom.c static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 551 net/netrom/af_netrom.c if (addr_len < sizeof(struct sockaddr_ax25) || addr_len > sizeof(struct full_sockaddr_ax25)) { addr_len 555 net/netrom/af_netrom.c if (addr_len < (addr->fsa_ax25.sax25_ndigis * sizeof(ax25_address) + sizeof(struct sockaddr_ax25))) { addr_len 609 net/netrom/af_netrom.c int addr_len, int flags) addr_len 639 net/netrom/af_netrom.c if (addr_len != sizeof(struct sockaddr_ax25) && addr_len != sizeof(struct full_sockaddr_ax25)) { addr_len 71 net/netrom/nr_dev.c memcpy(buff, (saddr != NULL) ? saddr : dev->dev_addr, dev->addr_len); addr_len 78 net/netrom/nr_dev.c memcpy(buff, daddr, dev->addr_len); addr_len 103 net/netrom/nr_dev.c if (!memcmp(dev->dev_addr, sa->sa_data, dev->addr_len)) addr_len 114 net/netrom/nr_dev.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 173 net/netrom/nr_dev.c dev->addr_len = AX25_ADDR_LEN; addr_len 2661 net/packet/af_packet.c if (dev && msg->msg_namelen < dev->addr_len + addr_len 2872 net/packet/af_packet.c if (dev && msg->msg_namelen < dev->addr_len + addr_len 3184 net/packet/af_packet.c int addr_len) addr_len 3193 net/packet/af_packet.c if (addr_len != sizeof(struct sockaddr)) addr_len 3204 net/packet/af_packet.c static int packet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 3213 net/packet/af_packet.c if (addr_len < sizeof(struct sockaddr_ll)) addr_len 3495 net/packet/af_packet.c sll->sll_halen = dev->addr_len; addr_len 3496 net/packet/af_packet.c memcpy(sll->sll_addr, dev->dev_addr, dev->addr_len); addr_len 3511 net/packet/af_packet.c if (i->alen != dev->addr_len) addr_len 3523 net/packet/af_packet.c if (i->alen != dev->addr_len) addr_len 3566 net/packet/af_packet.c if (mreq->mr_alen > dev->addr_len) addr_len 115 net/phonet/datagram.c int noblock, int flags, int *addr_len) addr_len 149 net/phonet/datagram.c *addr_len = sizeof(sa); addr_len 222 net/phonet/pep-gprs.c dev->addr_len = 0; addr_len 1238 net/phonet/pep.c int noblock, int flags, int *addr_len) addr_len 539 net/rds/af_rds.c int addr_len, int flags) addr_len 546 net/rds/af_rds.c if (addr_len < offsetofend(struct sockaddr, sa_family)) addr_len 554 net/rds/af_rds.c if (addr_len < sizeof(struct sockaddr_in)) { addr_len 577 net/rds/af_rds.c if (addr_len < sizeof(struct sockaddr_in6)) { addr_len 163 net/rds/bind.c int rds_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 176 net/rds/bind.c if (addr_len < offsetofend(struct sockaddr, sa_family)) addr_len 181 net/rds/bind.c if (addr_len < sizeof(struct sockaddr_in) || addr_len 194 net/rds/bind.c if (addr_len < sizeof(struct sockaddr_in6)) addr_len 743 net/rds/rds.h int rds_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len); addr_len 294 net/rds/tcp_listen.c int addr_len; addr_len 320 net/rds/tcp_listen.c addr_len = sizeof(*sin6); addr_len 326 net/rds/tcp_listen.c addr_len = sizeof(*sin); addr_len 329 net/rds/tcp_listen.c ret = sock->ops->bind(sock, (struct sockaddr *)&ss, addr_len); addr_len 632 net/rose/af_rose.c static int rose_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 645 net/rose/af_rose.c if (addr_len != sizeof(struct sockaddr_rose) && addr_len != sizeof(struct full_sockaddr_rose)) addr_len 651 net/rose/af_rose.c if (addr_len == sizeof(struct sockaddr_rose) && addr->srose_ndigis > 1) addr_len 678 net/rose/af_rose.c if (addr_len == sizeof(struct full_sockaddr_rose)) { addr_len 695 net/rose/af_rose.c static int rose_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) addr_len 705 net/rose/af_rose.c if (addr_len != sizeof(struct sockaddr_rose) && addr_len != sizeof(struct full_sockaddr_rose)) addr_len 711 net/rose/af_rose.c if (addr_len == sizeof(struct sockaddr_rose) && addr->srose_ndigis > 1) addr_len 783 net/rose/af_rose.c if (addr_len == sizeof(struct full_sockaddr_rose)) { addr_len 42 net/rose/rose_dev.c memcpy(buff + 7, daddr, dev->addr_len); addr_len 61 net/rose/rose_dev.c if (!memcmp(dev->dev_addr, sa->sa_data, dev->addr_len)) addr_len 72 net/rose/rose_dev.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); addr_len 136 net/rose/rose_dev.c dev->addr_len = ROSE_ADDR_LEN; addr_len 450 net/rxrpc/af_rxrpc.c int addr_len, int flags) addr_len 456 net/rxrpc/af_rxrpc.c _enter("%p,%p,%d,%d", rx, addr, addr_len, flags); addr_len 458 net/rxrpc/af_rxrpc.c ret = rxrpc_validate_address(rx, srx, addr_len); addr_len 839 net/sctp/ipv6.c int *addr_len) addr_len 865 net/sctp/ipv6.c *addr_len = sctp_v6_addr_to_user(sctp_sk(skb->sk), addr); addr_len 881 net/sctp/protocol.c static void sctp_inet_msgname(char *msgname, int *addr_len) addr_len 886 net/sctp/protocol.c *addr_len = sizeof(struct sockaddr_in); addr_len 893 net/sctp/protocol.c int *addr_len) addr_len 901 net/sctp/protocol.c sctp_inet_msgname(msgname, addr_len); addr_len 306 net/sctp/socket.c static int sctp_bind(struct sock *sk, struct sockaddr *addr, int addr_len) addr_len 313 net/sctp/socket.c addr, addr_len); addr_len 318 net/sctp/socket.c addr_len); addr_len 1129 net/sctp/socket.c union sctp_addr *daddr, int addr_len) addr_len 1136 net/sctp/socket.c err = sctp_verify_addr(ep->base.sk, daddr, addr_len); addr_len 2092 net/sctp/socket.c int noblock, int flags, int *addr_len) addr_len 2103 net/sctp/socket.c addr_len); addr_len 2140 net/sctp/socket.c sp->pf->event_msgname(event, msg->msg_name, addr_len); addr_len 2142 net/sctp/socket.c sp->pf->skb_msgname(head_skb, msg->msg_name, addr_len); addr_len 4844 net/sctp/socket.c int addr_len, int flags) addr_len 4851 net/sctp/socket.c addr, addr_len); addr_len 4855 net/sctp/socket.c if (af && addr_len >= af->sockaddr_len) addr_len 4863 net/sctp/socket.c int addr_len, int flags) addr_len 4865 net/sctp/socket.c if (addr_len < sizeof(uaddr->sa_family)) addr_len 4871 net/sctp/socket.c return sctp_connect(sock->sk, uaddr, addr_len, flags); addr_len 245 net/smc/af_smc.c int addr_len) addr_len 256 net/smc/af_smc.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 277 net/smc/af_smc.c rc = kernel_bind(smc->clcsock, uaddr, addr_len); addr_len 1922 net/socket.c struct sockaddr __user *addr, int addr_len) addr_len 1943 net/socket.c err = move_addr_to_kernel(addr, addr_len, &address); addr_len 1947 net/socket.c msg.msg_namelen = addr_len; addr_len 1962 net/socket.c int, addr_len) addr_len 1964 net/socket.c return __sys_sendto(fd, buff, len, flags, addr, addr_len); addr_len 1983 net/socket.c struct sockaddr __user *addr, int __user *addr_len) addr_len 2013 net/socket.c msg.msg_namelen, addr, addr_len); addr_len 2025 net/socket.c int __user *, addr_len) addr_len 2027 net/socket.c return __sys_recvfrom(fd, ubuf, size, flags, addr, addr_len); addr_len 1723 net/tls/tls_sw.c int *addr_len) addr_len 641 net/unix/af_unix.c int addr_len, int flags); addr_len 995 net/unix/af_unix.c static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 1009 net/unix/af_unix.c if (addr_len < offsetofend(struct sockaddr_un, sun_family) || addr_len 1013 net/unix/af_unix.c if (addr_len == sizeof(short)) { addr_len 1018 net/unix/af_unix.c err = unix_mkname(sunaddr, addr_len, &hash); addr_len 1021 net/unix/af_unix.c addr_len = err; addr_len 1043 net/unix/af_unix.c addr = kmalloc(sizeof(*addr)+addr_len, GFP_KERNEL); addr_len 1047 net/unix/af_unix.c memcpy(addr->name, sunaddr, addr_len); addr_len 1048 net/unix/af_unix.c addr->len = addr_len; addr_len 1061 net/unix/af_unix.c if (__unix_find_socket_byname(net, sunaddr, addr_len, addr_len 1213 net/unix/af_unix.c int addr_len, int flags) addr_len 1227 net/unix/af_unix.c err = unix_mkname(sunaddr, addr_len, &hash); addr_len 1230 net/unix/af_unix.c addr_len = err; addr_len 1257 net/unix/af_unix.c other = unix_find_other(net, sunaddr, addr_len, sk->sk_type, hash, &err); addr_len 727 net/vmw_vsock/af_vsock.c vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) addr_len 735 net/vmw_vsock/af_vsock.c if (vsock_addr_cast(addr, addr_len, &vm_addr) != 0) addr_len 1022 net/vmw_vsock/af_vsock.c struct sockaddr *addr, int addr_len, int flags) addr_len 1032 net/vmw_vsock/af_vsock.c err = vsock_addr_cast(addr, addr_len, &remote_addr); addr_len 1123 net/vmw_vsock/af_vsock.c int addr_len, int flags) addr_len 1157 net/vmw_vsock/af_vsock.c vsock_addr_cast(addr, addr_len, &remote_addr) != 0) { addr_len 434 net/wimax/stack.c unsigned char *addr, size_t addr_len) addr_len 438 net/wimax/stack.c for (total = cnt = 0; cnt < addr_len; cnt++) addr_len 441 net/wimax/stack.c cnt == addr_len - 1 ? '\0' : ':'); addr_len 490 net/wimax/stack.c net_dev->dev_addr, net_dev->addr_len); addr_len 671 net/x25/af_x25.c static int x25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) addr_len 677 net/x25/af_x25.c if (addr_len != sizeof(struct sockaddr_x25) || addr_len 739 net/x25/af_x25.c int addr_len, int flags) addr_len 771 net/x25/af_x25.c if (addr_len != sizeof(struct sockaddr_x25) || addr_len 940 net/x25/af_x25.c int len, addr_len, rc; addr_len 953 net/x25/af_x25.c addr_len = x25_parse_address_block(skb, &source_addr, &dest_addr); addr_len 954 net/x25/af_x25.c if (addr_len <= 0) addr_len 956 net/x25/af_x25.c skb_pull(skb, addr_len); addr_len 1000 net/x25/af_x25.c skb_push(skb, addr_len + X25_STD_MIN_LEN); addr_len 610 net/xdp/xsk.c static int xsk_bind(struct socket *sock, struct sockaddr *addr, int addr_len) addr_len 619 net/xdp/xsk.c if (addr_len < sizeof(struct sockaddr_xdp)) addr_len 624 net/xfrm/xfrm_interface.c dev->addr_len); addr_len 997 security/tomoyo/common.h int addr_len); addr_len 999 security/tomoyo/common.h struct sockaddr *addr, int addr_len); addr_len 21 security/tomoyo/network.c unsigned int addr_len; addr_len 502 security/tomoyo/network.c const unsigned int addr_len, addr_len 508 security/tomoyo/network.c if (addr_len < offsetofend(struct sockaddr, sa_family)) addr_len 512 security/tomoyo/network.c if (addr_len < SIN6_LEN_RFC2133) addr_len 520 security/tomoyo/network.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 554 security/tomoyo/network.c int len = address->unix0.addr_len - sizeof(sa_family_t); addr_len 594 security/tomoyo/network.c const unsigned int addr_len, addr_len 599 security/tomoyo/network.c if (addr_len < offsetofend(struct sockaddr, sa_family)) addr_len 604 security/tomoyo/network.c u->addr_len = addr_len; addr_len 656 security/tomoyo/network.c int addr_len; addr_len 666 security/tomoyo/network.c addr_len = error; addr_len 672 security/tomoyo/network.c addr_len, &address); addr_len 673 security/tomoyo/network.c return tomoyo_check_inet_address((struct sockaddr *) &addr, addr_len, addr_len 687 security/tomoyo/network.c struct sockaddr *addr, int addr_len) addr_len 709 security/tomoyo/network.c return tomoyo_check_unix_address(addr, addr_len, &address); addr_len 710 security/tomoyo/network.c return tomoyo_check_inet_address(addr, addr_len, sock->sk->sk_protocol, addr_len 724 security/tomoyo/network.c int addr_len) addr_len 744 security/tomoyo/network.c return tomoyo_check_unix_address(addr, addr_len, &address); addr_len 745 security/tomoyo/network.c return tomoyo_check_inet_address(addr, addr_len, sock->sk->sk_protocol, addr_len 454 security/tomoyo/tomoyo.c int addr_len) addr_len 456 security/tomoyo/tomoyo.c return tomoyo_socket_connect_permission(sock, addr, addr_len); addr_len 469 security/tomoyo/tomoyo.c int addr_len) addr_len 471 security/tomoyo/tomoyo.c return tomoyo_socket_bind_permission(sock, addr, addr_len); addr_len 164 tools/perf/examples/bpf/augmented_syscalls.c long addr_len; addr_len 131 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_bind)(void *ctx, void *addr, int addr_len) = addr_len 604 tools/testing/selftests/bpf/test_sock_addr.c struct sockaddr *addr, socklen_t addr_len) addr_len 614 tools/testing/selftests/bpf/test_sock_addr.c memset(addr, 0, addr_len); addr_len 617 tools/testing/selftests/bpf/test_sock_addr.c if (addr_len < sizeof(struct sockaddr_in)) addr_len 627 tools/testing/selftests/bpf/test_sock_addr.c if (addr_len < sizeof(struct sockaddr_in6)) addr_len 1149 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len) addr_len 1159 tools/testing/selftests/bpf/test_sock_addr.c if (bind(fd, (const struct sockaddr *)addr, addr_len) == -1) { addr_len 1180 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len) addr_len 1198 tools/testing/selftests/bpf/test_sock_addr.c if (connect(fd, (const struct sockaddr *)addr, addr_len) == -1) { addr_len 1242 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len, int set_cmsg, int flags, addr_len 1278 tools/testing/selftests/bpf/test_sock_addr.c hdr.msg_namelen = addr_len; addr_len 1311 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len) addr_len 1315 tools/testing/selftests/bpf/test_sock_addr.c return sendmsg_to_server(SOCK_STREAM, addr, addr_len, /*set_cmsg*/0, addr_len 1355 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len = sizeof(struct sockaddr_storage); addr_len 1358 tools/testing/selftests/bpf/test_sock_addr.c (struct sockaddr *)expected_addr, addr_len) == -1) addr_len 1362 tools/testing/selftests/bpf/test_sock_addr.c (struct sockaddr *)requested_addr, addr_len) == -1) addr_len 1367 tools/testing/selftests/bpf/test_sock_addr.c (struct sockaddr *)expected_src_addr, addr_len) == -1) addr_len 1377 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len = sizeof(struct sockaddr_storage); addr_len 1387 tools/testing/selftests/bpf/test_sock_addr.c servfd = start_server(test->type, &requested_addr, addr_len); addr_len 1395 tools/testing/selftests/bpf/test_sock_addr.c clientfd = connect_to_server(test->type, &expected_addr, addr_len); addr_len 1410 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len = sizeof(struct sockaddr_storage); addr_len 1423 tools/testing/selftests/bpf/test_sock_addr.c servfd = start_server(test->type, &expected_addr, addr_len); addr_len 1427 tools/testing/selftests/bpf/test_sock_addr.c clientfd = connect_to_server(test->type, &requested_addr, addr_len); addr_len 1440 tools/testing/selftests/bpf/test_sock_addr.c clientfd = fastconnect_to_server(&requested_addr, addr_len); addr_len 1463 tools/testing/selftests/bpf/test_sock_addr.c socklen_t addr_len = sizeof(struct sockaddr_storage); addr_len 1480 tools/testing/selftests/bpf/test_sock_addr.c servfd = start_server(test->type, &server_addr, addr_len); addr_len 1489 tools/testing/selftests/bpf/test_sock_addr.c addr_len, set_cmsg, /*flags*/0, addr_len 33 tools/testing/selftests/net/tcp_inq.c static socklen_t addr_len = sizeof(struct sockaddr_in6); addr_len 112 tools/testing/selftests/net/tcp_inq.c addr_len = sizeof(struct sockaddr_in); addr_len 116 tools/testing/selftests/net/tcp_inq.c addr_len = sizeof(struct sockaddr_in6); addr_len 132 tools/testing/selftests/net/tcp_inq.c addr_len) == -1) addr_len 144 tools/testing/selftests/net/tcp_inq.c if (connect(fd, (const struct sockaddr *)&addr, addr_len) == -1) addr_len 118 tools/testing/selftests/networking/timestamping/timestamping.c static void sendpacket(int sock, struct sockaddr *addr, socklen_t addr_len) addr_len 124 tools/testing/selftests/networking/timestamping/timestamping.c addr, addr_len);